Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/roles/deploy_container.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ deploy_container:
- example-cluster-dev-b
# See docs for values: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_TargetTrackingScalingPolicyConfiguration.html
service_autoscale_metric_type: ECSServiceAverageCPUUtilization
service_autoscale_up_cooldown: 120
service_autoscale_down_cooldown: 120
service_autoscale_in_cooldown: 120 # scale down
service_autoscale_out_cooldown: 120 # scale up
service_autoscale_target_value: 70 # the value to trigger a scaling event at
service_public_container_ip: false # set to true to make containers appear on an EIP - more details: https://stackoverflow.com/a/66802973
service_enable_ssm: false # set to true to allow arbitrary command execution on containers via the AWS API
Expand Down
2 changes: 1 addition & 1 deletion roles/_init/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Init
Mandatory role that must run before any other `ce-edploy` roles when executing a playbook.
Mandatory role that must run before any other `ce-deploy` roles when executing a playbook.

These variables **must** be set in a common variables file if you do not wish to use defaults.

Expand Down
4 changes: 2 additions & 2 deletions roles/deploy_container/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ deploy_container:
- example-cluster-dev-b
# See docs for values: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_TargetTrackingScalingPolicyConfiguration.html
service_autoscale_metric_type: ECSServiceAverageCPUUtilization
service_autoscale_up_cooldown: 120
service_autoscale_down_cooldown: 120
service_autoscale_in_cooldown: 120 # scale down
service_autoscale_out_cooldown: 120 # scale up
service_autoscale_target_value: 70 # the value to trigger a scaling event at
service_public_container_ip: false # set to true to make containers appear on an EIP - more details: https://stackoverflow.com/a/66802973
service_enable_ssm: false # set to true to allow arbitrary command execution on containers via the AWS API
Expand Down
4 changes: 2 additions & 2 deletions roles/deploy_container/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ deploy_container:
- example-cluster-dev-b
# See docs for values: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_TargetTrackingScalingPolicyConfiguration.html
service_autoscale_metric_type: ECSServiceAverageCPUUtilization
service_autoscale_up_cooldown: 120
service_autoscale_down_cooldown: 120
service_autoscale_in_cooldown: 120 # scale down
service_autoscale_out_cooldown: 120 # scale up
service_autoscale_target_value: 70 # the value to trigger a scaling event at
service_public_container_ip: false # set to true to make containers appear on an EIP - more details: https://stackoverflow.com/a/66802973
service_enable_ssm: false # set to true to allow arbitrary command execution on containers via the AWS API
Expand Down
4 changes: 2 additions & 2 deletions roles/deploy_container/tasks/action-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@
target_tracking_scaling_policy_configuration:
PredefinedMetricSpecification:
PredefinedMetricType: "{{ deploy_container.aws_ecs.service_autoscale_metric_type }}"
ScaleInCooldown: "{{ deploy_container.aws_ecs.service_autoscale_up_cooldown }}"
ScaleOutCooldown: "{{ deploy_container.aws_ecs.service_autoscale_down_cooldown }}"
ScaleInCooldown: "{{ deploy_container.aws_ecs.service_autoscale_in_cooldown }}"
ScaleOutCooldown: "{{ deploy_container.aws_ecs.service_autoscale_out_cooldown }}"
DisableScaleIn: false
TargetValue: "{{ deploy_container.aws_ecs.service_autoscale_target_value }}"
delegate_to: localhost
Expand Down