Skip to content

Instantly share code, notes, and snippets.

@tbell83
Created March 24, 2017 13:25
Show Gist options
  • Select an option

  • Save tbell83/2bc779dd4146269eb9b4fd48d36d37a3 to your computer and use it in GitHub Desktop.

Select an option

Save tbell83/2bc779dd4146269eb9b4fd48d36d37a3 to your computer and use it in GitHub Desktop.
Full plan
---------bo-dev----------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
+ aws_appautoscaling_policy.tasks-bookmarks_down
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "bo-dev_bookmarks_scale_down"
policy_type: "StepScaling"
resource_id: "service/bo-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.2173517692.metric_interval_lower_bound: ""
step_adjustment.2173517692.metric_interval_upper_bound: "0"
step_adjustment.2173517692.scaling_adjustment: "-1"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_down
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "1"
name: "bo-dev_bookmarks_scale_down_queues"
policy_type: "StepScaling"
resource_id: "service/bo-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1320297936.metric_interval_lower_bound: ""
step_adjustment.1320297936.metric_interval_upper_bound: "0"
step_adjustment.1320297936.scaling_adjustment: "-25"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_up
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "2"
name: "bo-dev_bookmarks_scale_up_queues"
policy_type: "StepScaling"
resource_id: "service/bo-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1220958959.metric_interval_lower_bound: "0"
step_adjustment.1220958959.metric_interval_upper_bound: ""
step_adjustment.1220958959.scaling_adjustment: "50"
+ aws_appautoscaling_policy.tasks-bookmarks_up
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "bo-dev_bookmarks_scale_up"
policy_type: "StepScaling"
resource_id: "service/bo-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1463889586.metric_interval_lower_bound: "0"
step_adjustment.1463889586.metric_interval_upper_bound: ""
step_adjustment.1463889586.scaling_adjustment: "2"
+ aws_appautoscaling_target.tasks-bookmarks
max_capacity: "0"
min_capacity: "0"
resource_id: "service/bo-dev-tasks/bookmarks"
role_arn: "arn:aws:iam::213832358394:role/ecsAutoscaleRole"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-lower
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "bo-dev-bookmarks-cpu-lower"
comparison_operator: "LessThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "bo-dev-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "30"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-upper
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "bo-dev-bookmarks-cpu-upper"
comparison_operator: "GreaterThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "bo-dev-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "60"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-down
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "bo-dev-bookmarks-queues-down"
comparison_operator: "LessThanThreshold"
dimensions.%: "1"
dimensions.queues: "bo_dev_bookmarks,bo_dev_bookmarks,"
evaluation_periods: "1"
metric_name: "bo_dev_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-up
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "bo-dev-bookmarks-queues-up"
comparison_operator: "GreaterThanThreshold"
dimensions.%: "1"
dimensions.queues: "bo_dev_bookmarks,bo_dev_bookmarks,"
evaluation_periods: "1"
metric_name: "bo_dev_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_ecs_service.tasks-bookmarks
cluster: "arn:aws:ecs:us-east-1:213832358394:cluster/bo-dev-tasks"
deployment_maximum_percent: "200"
deployment_minimum_healthy_percent: "0"
desired_count: "0"
name: "bookmarks"
task_definition: "${data.aws_ecs_task_definition.tasks-bookmarks.family}:${max(aws_ecs_task_definition.tasks-bookmarks.revision, data.aws_ecs_task_definition.tasks-bookmarks.revision)}"
+ aws_ecs_task_definition.tasks-bookmarks
arn: "<computed>"
container_definitions: "4bc88dcc491fddf6c212675bd46b6e28973afe05"
family: "bo-dev-tasks-bookmarks"
network_mode: "<computed>"
revision: "<computed>"
volume.#: "1"
volume.4233859219.host_path: "/mnt/log/containers/celery"
volume.4233859219.name: "celery-logs"
<= data.aws_ecs_task_definition.tasks-bookmarks
family: "<computed>"
network_mode: "<computed>"
revision: "<computed>"
status: "<computed>"
task_definition: "bo-dev-tasks-bookmarks"
task_role_arn: "<computed>"
Plan: 11 to add, 0 to change, 0 to destroy.
----------bo-prod----------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
+ aws_appautoscaling_policy.tasks-bookmarks_down
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "bo-prod_bookmarks_scale_down"
policy_type: "StepScaling"
resource_id: "service/bo-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.2173517692.metric_interval_lower_bound: ""
step_adjustment.2173517692.metric_interval_upper_bound: "0"
step_adjustment.2173517692.scaling_adjustment: "-1"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_down
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "1"
name: "bo-prod_bookmarks_scale_down_queues"
policy_type: "StepScaling"
resource_id: "service/bo-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1320297936.metric_interval_lower_bound: ""
step_adjustment.1320297936.metric_interval_upper_bound: "0"
step_adjustment.1320297936.scaling_adjustment: "-25"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_up
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "2"
name: "bo-prod_bookmarks_scale_up_queues"
policy_type: "StepScaling"
resource_id: "service/bo-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1220958959.metric_interval_lower_bound: "0"
step_adjustment.1220958959.metric_interval_upper_bound: ""
step_adjustment.1220958959.scaling_adjustment: "50"
+ aws_appautoscaling_policy.tasks-bookmarks_up
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "bo-prod_bookmarks_scale_up"
policy_type: "StepScaling"
resource_id: "service/bo-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1463889586.metric_interval_lower_bound: "0"
step_adjustment.1463889586.metric_interval_upper_bound: ""
step_adjustment.1463889586.scaling_adjustment: "2"
+ aws_appautoscaling_target.tasks-bookmarks
max_capacity: "0"
min_capacity: "0"
resource_id: "service/bo-prod-tasks/bookmarks"
role_arn: "arn:aws:iam::535924114056:role/ecsAutoscaleRole"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-lower
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "bo-prod-bookmarks-cpu-lower"
comparison_operator: "LessThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "bo-prod-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "30"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-upper
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "bo-prod-bookmarks-cpu-upper"
comparison_operator: "GreaterThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "bo-prod-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "60"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-down
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "bo-prod-bookmarks-queues-down"
comparison_operator: "LessThanThreshold"
dimensions.%: "1"
dimensions.queues: "bo_prod_bookmarks,bo_prod_bookmarks,"
evaluation_periods: "1"
metric_name: "bo_prod_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-up
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "bo-prod-bookmarks-queues-up"
comparison_operator: "GreaterThanThreshold"
dimensions.%: "1"
dimensions.queues: "bo_prod_bookmarks,bo_prod_bookmarks,"
evaluation_periods: "1"
metric_name: "bo_prod_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_ecs_service.tasks-bookmarks
cluster: "arn:aws:ecs:us-east-1:535924114056:cluster/bo-prod-tasks"
deployment_maximum_percent: "200"
deployment_minimum_healthy_percent: "50"
desired_count: "0"
name: "bookmarks"
task_definition: "${data.aws_ecs_task_definition.tasks-bookmarks.family}:${max(aws_ecs_task_definition.tasks-bookmarks.revision, data.aws_ecs_task_definition.tasks-bookmarks.revision)}"
+ aws_ecs_task_definition.tasks-bookmarks
arn: "<computed>"
container_definitions: "4f28f01bd29841e088bf36227c1103a4dee213b9"
family: "bo-prod-tasks-bookmarks"
network_mode: "<computed>"
revision: "<computed>"
volume.#: "1"
volume.4233859219.host_path: "/mnt/log/containers/celery"
volume.4233859219.name: "celery-logs"
<= data.aws_ecs_task_definition.tasks-bookmarks
family: "<computed>"
network_mode: "<computed>"
revision: "<computed>"
status: "<computed>"
task_definition: "bo-prod-tasks-bookmarks"
task_role_arn: "<computed>"
Plan: 11 to add, 0 to change, 0 to destroy.
----------bo-qa----------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
+ aws_appautoscaling_policy.tasks-bookmarks_down
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "bo-qa_bookmarks_scale_down"
policy_type: "StepScaling"
resource_id: "service/bo-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.2173517692.metric_interval_lower_bound: ""
step_adjustment.2173517692.metric_interval_upper_bound: "0"
step_adjustment.2173517692.scaling_adjustment: "-1"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_down
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "1"
name: "bo-qa_bookmarks_scale_down_queues"
policy_type: "StepScaling"
resource_id: "service/bo-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1320297936.metric_interval_lower_bound: ""
step_adjustment.1320297936.metric_interval_upper_bound: "0"
step_adjustment.1320297936.scaling_adjustment: "-25"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_up
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "2"
name: "bo-qa_bookmarks_scale_up_queues"
policy_type: "StepScaling"
resource_id: "service/bo-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1220958959.metric_interval_lower_bound: "0"
step_adjustment.1220958959.metric_interval_upper_bound: ""
step_adjustment.1220958959.scaling_adjustment: "50"
+ aws_appautoscaling_policy.tasks-bookmarks_up
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "bo-qa_bookmarks_scale_up"
policy_type: "StepScaling"
resource_id: "service/bo-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1463889586.metric_interval_lower_bound: "0"
step_adjustment.1463889586.metric_interval_upper_bound: ""
step_adjustment.1463889586.scaling_adjustment: "2"
+ aws_appautoscaling_target.tasks-bookmarks
max_capacity: "0"
min_capacity: "0"
resource_id: "service/bo-qa-tasks/bookmarks"
role_arn: "arn:aws:iam::213832358394:role/ecsAutoscaleRole"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-lower
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "bo-qa-bookmarks-cpu-lower"
comparison_operator: "LessThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "bo-qa-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "30"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-upper
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "bo-qa-bookmarks-cpu-upper"
comparison_operator: "GreaterThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "bo-qa-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "60"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-down
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "bo-qa-bookmarks-queues-down"
comparison_operator: "LessThanThreshold"
dimensions.%: "1"
dimensions.queues: "bo_qa_bookmarks,bo_qa_bookmarks,"
evaluation_periods: "1"
metric_name: "bo_qa_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-up
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "bo-qa-bookmarks-queues-up"
comparison_operator: "GreaterThanThreshold"
dimensions.%: "1"
dimensions.queues: "bo_qa_bookmarks,bo_qa_bookmarks,"
evaluation_periods: "1"
metric_name: "bo_qa_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_ecs_service.tasks-bookmarks
cluster: "arn:aws:ecs:us-east-1:213832358394:cluster/bo-qa-tasks"
deployment_maximum_percent: "200"
deployment_minimum_healthy_percent: "0"
desired_count: "0"
name: "bookmarks"
task_definition: "${data.aws_ecs_task_definition.tasks-bookmarks.family}:${max(aws_ecs_task_definition.tasks-bookmarks.revision, data.aws_ecs_task_definition.tasks-bookmarks.revision)}"
+ aws_ecs_task_definition.tasks-bookmarks
arn: "<computed>"
container_definitions: "7dda13c54b4bf99ee5a90e5e2f21006535423d11"
family: "bo-qa-tasks-bookmarks"
network_mode: "<computed>"
revision: "<computed>"
volume.#: "1"
volume.4233859219.host_path: "/mnt/log/containers/celery"
volume.4233859219.name: "celery-logs"
<= data.aws_ecs_task_definition.tasks-bookmarks
family: "<computed>"
network_mode: "<computed>"
revision: "<computed>"
status: "<computed>"
task_definition: "bo-qa-tasks-bookmarks"
task_role_arn: "<computed>"
Plan: 11 to add, 0 to change, 0 to destroy.
----------dc-dev----------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
+ aws_appautoscaling_policy.tasks-bookmarks_down
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "dc-dev_bookmarks_scale_down"
policy_type: "StepScaling"
resource_id: "service/dc-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.2173517692.metric_interval_lower_bound: ""
step_adjustment.2173517692.metric_interval_upper_bound: "0"
step_adjustment.2173517692.scaling_adjustment: "-1"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_down
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "1"
name: "dc-dev_bookmarks_scale_down_queues"
policy_type: "StepScaling"
resource_id: "service/dc-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1320297936.metric_interval_lower_bound: ""
step_adjustment.1320297936.metric_interval_upper_bound: "0"
step_adjustment.1320297936.scaling_adjustment: "-25"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_up
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "2"
name: "dc-dev_bookmarks_scale_up_queues"
policy_type: "StepScaling"
resource_id: "service/dc-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1220958959.metric_interval_lower_bound: "0"
step_adjustment.1220958959.metric_interval_upper_bound: ""
step_adjustment.1220958959.scaling_adjustment: "50"
+ aws_appautoscaling_policy.tasks-bookmarks_up
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "dc-dev_bookmarks_scale_up"
policy_type: "StepScaling"
resource_id: "service/dc-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1463889586.metric_interval_lower_bound: "0"
step_adjustment.1463889586.metric_interval_upper_bound: ""
step_adjustment.1463889586.scaling_adjustment: "2"
+ aws_appautoscaling_target.tasks-bookmarks
max_capacity: "0"
min_capacity: "0"
resource_id: "service/dc-dev-tasks/bookmarks"
role_arn: "arn:aws:iam::213832358394:role/ecsAutoscaleRole"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-lower
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "dc-dev-bookmarks-cpu-lower"
comparison_operator: "LessThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "dc-dev-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "30"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-upper
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "dc-dev-bookmarks-cpu-upper"
comparison_operator: "GreaterThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "dc-dev-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "60"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-down
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "dc-dev-bookmarks-queues-down"
comparison_operator: "LessThanThreshold"
dimensions.%: "1"
dimensions.queues: "dc_dev_bookmarks,dc_dev_bookmarks,"
evaluation_periods: "1"
metric_name: "dc_dev_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-up
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "dc-dev-bookmarks-queues-up"
comparison_operator: "GreaterThanThreshold"
dimensions.%: "1"
dimensions.queues: "dc_dev_bookmarks,dc_dev_bookmarks,"
evaluation_periods: "1"
metric_name: "dc_dev_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_ecs_service.tasks-bookmarks
cluster: "arn:aws:ecs:us-east-1:213832358394:cluster/dc-dev-tasks"
deployment_maximum_percent: "200"
deployment_minimum_healthy_percent: "0"
desired_count: "0"
name: "bookmarks"
task_definition: "${data.aws_ecs_task_definition.tasks-bookmarks.family}:${max(aws_ecs_task_definition.tasks-bookmarks.revision, data.aws_ecs_task_definition.tasks-bookmarks.revision)}"
+ aws_ecs_task_definition.tasks-bookmarks
arn: "<computed>"
container_definitions: "01af2e8207de2ec5322e8ea10e225235a3e380b1"
family: "dc-dev-tasks-bookmarks"
network_mode: "<computed>"
revision: "<computed>"
volume.#: "1"
volume.4233859219.host_path: "/mnt/log/containers/celery"
volume.4233859219.name: "celery-logs"
+ aws_sqs_queue.bookmarks
arn: "<computed>"
content_based_deduplication: "false"
delay_seconds: "0"
fifo_queue: "false"
max_message_size: "262144"
message_retention_seconds: "345600"
name: "dc_dev_bookmarks"
policy: "<computed>"
receive_wait_time_seconds: "0"
visibility_timeout_seconds: "600"
<= data.aws_ecs_task_definition.tasks-bookmarks
family: "<computed>"
network_mode: "<computed>"
revision: "<computed>"
status: "<computed>"
task_definition: "dc-dev-tasks-bookmarks"
task_role_arn: "<computed>"
Plan: 12 to add, 0 to change, 0 to destroy.
----------dc-prod----------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
+ aws_appautoscaling_policy.tasks-bookmarks_down
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "dc-prod_bookmarks_scale_down"
policy_type: "StepScaling"
resource_id: "service/dc-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.2173517692.metric_interval_lower_bound: ""
step_adjustment.2173517692.metric_interval_upper_bound: "0"
step_adjustment.2173517692.scaling_adjustment: "-1"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_down
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "1"
name: "dc-prod_bookmarks_scale_down_queues"
policy_type: "StepScaling"
resource_id: "service/dc-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1320297936.metric_interval_lower_bound: ""
step_adjustment.1320297936.metric_interval_upper_bound: "0"
step_adjustment.1320297936.scaling_adjustment: "-25"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_up
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "2"
name: "dc-prod_bookmarks_scale_up_queues"
policy_type: "StepScaling"
resource_id: "service/dc-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1220958959.metric_interval_lower_bound: "0"
step_adjustment.1220958959.metric_interval_upper_bound: ""
step_adjustment.1220958959.scaling_adjustment: "50"
+ aws_appautoscaling_policy.tasks-bookmarks_up
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "dc-prod_bookmarks_scale_up"
policy_type: "StepScaling"
resource_id: "service/dc-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1463889586.metric_interval_lower_bound: "0"
step_adjustment.1463889586.metric_interval_upper_bound: ""
step_adjustment.1463889586.scaling_adjustment: "2"
+ aws_appautoscaling_target.tasks-bookmarks
max_capacity: "0"
min_capacity: "0"
resource_id: "service/dc-prod-tasks/bookmarks"
role_arn: "arn:aws:iam::535924114056:role/ecsAutoscaleRole"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-lower
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "dc-prod-bookmarks-cpu-lower"
comparison_operator: "LessThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "dc-prod-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "30"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-upper
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "dc-prod-bookmarks-cpu-upper"
comparison_operator: "GreaterThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "dc-prod-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "60"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-down
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "dc-prod-bookmarks-queues-down"
comparison_operator: "LessThanThreshold"
dimensions.%: "1"
dimensions.queues: "dc_prod_bookmarks,dc_prod_bookmarks,"
evaluation_periods: "1"
metric_name: "dc_prod_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-up
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "dc-prod-bookmarks-queues-up"
comparison_operator: "GreaterThanThreshold"
dimensions.%: "1"
dimensions.queues: "dc_prod_bookmarks,dc_prod_bookmarks,"
evaluation_periods: "1"
metric_name: "dc_prod_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_ecs_service.tasks-bookmarks
cluster: "arn:aws:ecs:us-east-1:535924114056:cluster/dc-prod-tasks"
deployment_maximum_percent: "200"
deployment_minimum_healthy_percent: "50"
desired_count: "0"
name: "bookmarks"
task_definition: "${data.aws_ecs_task_definition.tasks-bookmarks.family}:${max(aws_ecs_task_definition.tasks-bookmarks.revision, data.aws_ecs_task_definition.tasks-bookmarks.revision)}"
+ aws_ecs_task_definition.tasks-bookmarks
arn: "<computed>"
container_definitions: "64ffdb4752c8d7ebe32e4a0bc5e8c12dbc676d8d"
family: "dc-prod-tasks-bookmarks"
network_mode: "<computed>"
revision: "<computed>"
volume.#: "1"
volume.4233859219.host_path: "/mnt/log/containers/celery"
volume.4233859219.name: "celery-logs"
+ aws_sqs_queue.bookmarks
arn: "<computed>"
content_based_deduplication: "false"
delay_seconds: "0"
fifo_queue: "false"
max_message_size: "262144"
message_retention_seconds: "345600"
name: "dc_prod_bookmarks"
policy: "<computed>"
receive_wait_time_seconds: "0"
visibility_timeout_seconds: "600"
<= data.aws_ecs_task_definition.tasks-bookmarks
family: "<computed>"
network_mode: "<computed>"
revision: "<computed>"
status: "<computed>"
task_definition: "dc-prod-tasks-bookmarks"
task_role_arn: "<computed>"
Plan: 12 to add, 0 to change, 0 to destroy.
----------dc-qa----------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
+ aws_appautoscaling_policy.tasks-bookmarks_down
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "dc-qa_bookmarks_scale_down"
policy_type: "StepScaling"
resource_id: "service/dc-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.2173517692.metric_interval_lower_bound: ""
step_adjustment.2173517692.metric_interval_upper_bound: "0"
step_adjustment.2173517692.scaling_adjustment: "-1"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_down
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "1"
name: "dc-qa_bookmarks_scale_down_queues"
policy_type: "StepScaling"
resource_id: "service/dc-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1320297936.metric_interval_lower_bound: ""
step_adjustment.1320297936.metric_interval_upper_bound: "0"
step_adjustment.1320297936.scaling_adjustment: "-25"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_up
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "2"
name: "dc-qa_bookmarks_scale_up_queues"
policy_type: "StepScaling"
resource_id: "service/dc-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1220958959.metric_interval_lower_bound: "0"
step_adjustment.1220958959.metric_interval_upper_bound: ""
step_adjustment.1220958959.scaling_adjustment: "50"
+ aws_appautoscaling_policy.tasks-bookmarks_up
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "dc-qa_bookmarks_scale_up"
policy_type: "StepScaling"
resource_id: "service/dc-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1463889586.metric_interval_lower_bound: "0"
step_adjustment.1463889586.metric_interval_upper_bound: ""
step_adjustment.1463889586.scaling_adjustment: "2"
+ aws_appautoscaling_target.tasks-bookmarks
max_capacity: "0"
min_capacity: "0"
resource_id: "service/dc-qa-tasks/bookmarks"
role_arn: "arn:aws:iam::213832358394:role/ecsAutoscaleRole"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-lower
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "dc-qa-bookmarks-cpu-lower"
comparison_operator: "LessThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "dc-qa-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "30"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-upper
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "dc-qa-bookmarks-cpu-upper"
comparison_operator: "GreaterThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "dc-qa-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "60"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-down
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "dc-qa-bookmarks-queues-down"
comparison_operator: "LessThanThreshold"
dimensions.%: "1"
dimensions.queues: "dc_qa_bookmarks,dc_qa_bookmarks,"
evaluation_periods: "1"
metric_name: "dc_qa_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-up
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "dc-qa-bookmarks-queues-up"
comparison_operator: "GreaterThanThreshold"
dimensions.%: "1"
dimensions.queues: "dc_qa_bookmarks,dc_qa_bookmarks,"
evaluation_periods: "1"
metric_name: "dc_qa_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_ecs_service.tasks-bookmarks
cluster: "arn:aws:ecs:us-east-1:213832358394:cluster/dc-qa-tasks"
deployment_maximum_percent: "200"
deployment_minimum_healthy_percent: "0"
desired_count: "0"
name: "bookmarks"
task_definition: "${data.aws_ecs_task_definition.tasks-bookmarks.family}:${max(aws_ecs_task_definition.tasks-bookmarks.revision, data.aws_ecs_task_definition.tasks-bookmarks.revision)}"
+ aws_ecs_task_definition.tasks-bookmarks
arn: "<computed>"
container_definitions: "eafb06b284d0c3cc2064068a0367ef0be2d359bf"
family: "dc-qa-tasks-bookmarks"
network_mode: "<computed>"
revision: "<computed>"
volume.#: "1"
volume.4233859219.host_path: "/mnt/log/containers/celery"
volume.4233859219.name: "celery-logs"
+ aws_sqs_queue.bookmarks
arn: "<computed>"
content_based_deduplication: "false"
delay_seconds: "0"
fifo_queue: "false"
max_message_size: "262144"
message_retention_seconds: "345600"
name: "dc_qa_bookmarks"
policy: "<computed>"
receive_wait_time_seconds: "0"
visibility_timeout_seconds: "600"
<= data.aws_ecs_task_definition.tasks-bookmarks
family: "<computed>"
network_mode: "<computed>"
revision: "<computed>"
status: "<computed>"
task_definition: "dc-qa-tasks-bookmarks"
task_role_arn: "<computed>"
Plan: 12 to add, 0 to change, 0 to destroy.
----------df-dev----------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
+ aws_appautoscaling_policy.tasks-bookmarks_down
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "df-dev_bookmarks_scale_down"
policy_type: "StepScaling"
resource_id: "service/df-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.2173517692.metric_interval_lower_bound: ""
step_adjustment.2173517692.metric_interval_upper_bound: "0"
step_adjustment.2173517692.scaling_adjustment: "-1"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_down
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "1"
name: "df-dev_bookmarks_scale_down_queues"
policy_type: "StepScaling"
resource_id: "service/df-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1320297936.metric_interval_lower_bound: ""
step_adjustment.1320297936.metric_interval_upper_bound: "0"
step_adjustment.1320297936.scaling_adjustment: "-25"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_up
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "2"
name: "df-dev_bookmarks_scale_up_queues"
policy_type: "StepScaling"
resource_id: "service/df-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1220958959.metric_interval_lower_bound: "0"
step_adjustment.1220958959.metric_interval_upper_bound: ""
step_adjustment.1220958959.scaling_adjustment: "50"
+ aws_appautoscaling_policy.tasks-bookmarks_up
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "df-dev_bookmarks_scale_up"
policy_type: "StepScaling"
resource_id: "service/df-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1463889586.metric_interval_lower_bound: "0"
step_adjustment.1463889586.metric_interval_upper_bound: ""
step_adjustment.1463889586.scaling_adjustment: "2"
+ aws_appautoscaling_target.tasks-bookmarks
max_capacity: "1"
min_capacity: "1"
resource_id: "service/df-dev-tasks/bookmarks"
role_arn: "arn:aws:iam::213832358394:role/ecsAutoscaleRole"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-lower
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "df-dev-bookmarks-cpu-lower"
comparison_operator: "LessThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "df-dev-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "30"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-upper
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "df-dev-bookmarks-cpu-upper"
comparison_operator: "GreaterThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "df-dev-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "60"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-down
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "df-dev-bookmarks-queues-down"
comparison_operator: "LessThanThreshold"
dimensions.%: "1"
dimensions.queues: "df_dev_bookmarks,df_dev_bookmarks,"
evaluation_periods: "1"
metric_name: "df_dev_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-up
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "df-dev-bookmarks-queues-up"
comparison_operator: "GreaterThanThreshold"
dimensions.%: "1"
dimensions.queues: "df_dev_bookmarks,df_dev_bookmarks,"
evaluation_periods: "1"
metric_name: "df_dev_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
~ aws_db_parameter_group.rdsparamgroup-us-east-1
parameter.#: "5" => "0"
parameter.1918306725.apply_method: "immediate" => ""
parameter.1918306725.name: "log_output" => ""
parameter.1918306725.value: "file" => ""
parameter.3306308666.apply_method: "immediate" => ""
parameter.3306308666.name: "log_queries_not_using_indexes" => ""
parameter.3306308666.value: "1" => ""
parameter.4154244007.apply_method: "immediate" => ""
parameter.4154244007.name: "log_slow_admin_statements" => ""
parameter.4154244007.value: "1" => ""
parameter.427634017.apply_method: "immediate" => ""
parameter.427634017.name: "slow_query_log" => ""
parameter.427634017.value: "1" => ""
parameter.868646805.apply_method: "immediate" => ""
parameter.868646805.name: "long_query_time" => ""
parameter.868646805.value: "10" => ""
+ aws_ecs_service.tasks-bookmarks
cluster: "arn:aws:ecs:us-east-1:213832358394:cluster/df-dev-tasks"
deployment_maximum_percent: "200"
deployment_minimum_healthy_percent: "0"
desired_count: "1"
name: "bookmarks"
task_definition: "${data.aws_ecs_task_definition.tasks-bookmarks.family}:${max(aws_ecs_task_definition.tasks-bookmarks.revision, data.aws_ecs_task_definition.tasks-bookmarks.revision)}"
+ aws_ecs_task_definition.tasks-bookmarks
arn: "<computed>"
container_definitions: "b91f97d108741eb740ee41cf2272b28b643a0e6e"
family: "df-dev-tasks-bookmarks"
network_mode: "<computed>"
revision: "<computed>"
volume.#: "1"
volume.4233859219.host_path: "/mnt/log/containers/celery"
volume.4233859219.name: "celery-logs"
<= data.aws_ecs_task_definition.tasks-bookmarks
family: "<computed>"
network_mode: "<computed>"
revision: "<computed>"
status: "<computed>"
task_definition: "df-dev-tasks-bookmarks"
task_role_arn: "<computed>"
Plan: 11 to add, 1 to change, 0 to destroy.
----------df-prod----------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
+ aws_appautoscaling_policy.tasks-bookmarks_down
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "df-prod_bookmarks_scale_down"
policy_type: "StepScaling"
resource_id: "service/df-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.2173517692.metric_interval_lower_bound: ""
step_adjustment.2173517692.metric_interval_upper_bound: "0"
step_adjustment.2173517692.scaling_adjustment: "-1"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_down
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "1"
name: "df-prod_bookmarks_scale_down_queues"
policy_type: "StepScaling"
resource_id: "service/df-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1320297936.metric_interval_lower_bound: ""
step_adjustment.1320297936.metric_interval_upper_bound: "0"
step_adjustment.1320297936.scaling_adjustment: "-25"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_up
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "2"
name: "df-prod_bookmarks_scale_up_queues"
policy_type: "StepScaling"
resource_id: "service/df-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1220958959.metric_interval_lower_bound: "0"
step_adjustment.1220958959.metric_interval_upper_bound: ""
step_adjustment.1220958959.scaling_adjustment: "50"
+ aws_appautoscaling_policy.tasks-bookmarks_up
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "df-prod_bookmarks_scale_up"
policy_type: "StepScaling"
resource_id: "service/df-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1463889586.metric_interval_lower_bound: "0"
step_adjustment.1463889586.metric_interval_upper_bound: ""
step_adjustment.1463889586.scaling_adjustment: "2"
+ aws_appautoscaling_target.tasks-bookmarks
max_capacity: "20"
min_capacity: "4"
resource_id: "service/df-prod-tasks/bookmarks"
role_arn: "arn:aws:iam::535924114056:role/ecsAutoscaleRole"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-lower
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "df-prod-bookmarks-cpu-lower"
comparison_operator: "LessThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "df-prod-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "30"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-upper
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "df-prod-bookmarks-cpu-upper"
comparison_operator: "GreaterThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "df-prod-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "60"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-down
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "df-prod-bookmarks-queues-down"
comparison_operator: "LessThanThreshold"
dimensions.%: "1"
dimensions.queues: "bookmarks,bookmarks,"
evaluation_periods: "1"
metric_name: "df_prod_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-up
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "df-prod-bookmarks-queues-up"
comparison_operator: "GreaterThanThreshold"
dimensions.%: "1"
dimensions.queues: "bookmarks,bookmarks,"
evaluation_periods: "1"
metric_name: "df_prod_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_ecs_service.tasks-bookmarks
cluster: "arn:aws:ecs:us-east-1:535924114056:cluster/df-prod-tasks"
deployment_maximum_percent: "200"
deployment_minimum_healthy_percent: "50"
desired_count: "4"
name: "bookmarks"
task_definition: "${data.aws_ecs_task_definition.tasks-bookmarks.family}:${max(aws_ecs_task_definition.tasks-bookmarks.revision, data.aws_ecs_task_definition.tasks-bookmarks.revision)}"
+ aws_ecs_task_definition.tasks-bookmarks
arn: "<computed>"
container_definitions: "8233ec0aac246ba63d4e4dab8335ef7fc6577195"
family: "df-prod-tasks-bookmarks"
network_mode: "<computed>"
revision: "<computed>"
volume.#: "1"
volume.4233859219.host_path: "/mnt/log/containers/celery"
volume.4233859219.name: "celery-logs"
<= data.aws_ecs_task_definition.tasks-bookmarks
family: "<computed>"
network_mode: "<computed>"
revision: "<computed>"
status: "<computed>"
task_definition: "df-prod-tasks-bookmarks"
task_role_arn: "<computed>"
Plan: 11 to add, 0 to change, 0 to destroy.
----------df-qa----------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
+ aws_appautoscaling_policy.tasks-bookmarks_down
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "df-qa_bookmarks_scale_down"
policy_type: "StepScaling"
resource_id: "service/df-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.2173517692.metric_interval_lower_bound: ""
step_adjustment.2173517692.metric_interval_upper_bound: "0"
step_adjustment.2173517692.scaling_adjustment: "-1"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_down
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "1"
name: "df-qa_bookmarks_scale_down_queues"
policy_type: "StepScaling"
resource_id: "service/df-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1320297936.metric_interval_lower_bound: ""
step_adjustment.1320297936.metric_interval_upper_bound: "0"
step_adjustment.1320297936.scaling_adjustment: "-25"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_up
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "2"
name: "df-qa_bookmarks_scale_up_queues"
policy_type: "StepScaling"
resource_id: "service/df-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1220958959.metric_interval_lower_bound: "0"
step_adjustment.1220958959.metric_interval_upper_bound: ""
step_adjustment.1220958959.scaling_adjustment: "50"
+ aws_appautoscaling_policy.tasks-bookmarks_up
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "df-qa_bookmarks_scale_up"
policy_type: "StepScaling"
resource_id: "service/df-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1463889586.metric_interval_lower_bound: "0"
step_adjustment.1463889586.metric_interval_upper_bound: ""
step_adjustment.1463889586.scaling_adjustment: "2"
+ aws_appautoscaling_target.tasks-bookmarks
max_capacity: "1"
min_capacity: "1"
resource_id: "service/df-qa-tasks/bookmarks"
role_arn: "arn:aws:iam::213832358394:role/ecsAutoscaleRole"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-lower
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "df-qa-bookmarks-cpu-lower"
comparison_operator: "LessThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "df-qa-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "30"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-upper
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "df-qa-bookmarks-cpu-upper"
comparison_operator: "GreaterThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "df-qa-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "60"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-down
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "df-qa-bookmarks-queues-down"
comparison_operator: "LessThanThreshold"
dimensions.%: "1"
dimensions.queues: "df_qa_bookmarks,df_qa_bookmarks,"
evaluation_periods: "1"
metric_name: "df_qa_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-up
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "df-qa-bookmarks-queues-up"
comparison_operator: "GreaterThanThreshold"
dimensions.%: "1"
dimensions.queues: "df_qa_bookmarks,df_qa_bookmarks,"
evaluation_periods: "1"
metric_name: "df_qa_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_ecs_service.tasks-bookmarks
cluster: "arn:aws:ecs:us-east-1:213832358394:cluster/df-qa-tasks"
deployment_maximum_percent: "200"
deployment_minimum_healthy_percent: "0"
desired_count: "1"
name: "bookmarks"
task_definition: "${data.aws_ecs_task_definition.tasks-bookmarks.family}:${max(aws_ecs_task_definition.tasks-bookmarks.revision, data.aws_ecs_task_definition.tasks-bookmarks.revision)}"
+ aws_ecs_task_definition.tasks-bookmarks
arn: "<computed>"
container_definitions: "c9d64dded626de9f3815ff4d6a7f82de12266b88"
family: "df-qa-tasks-bookmarks"
network_mode: "<computed>"
revision: "<computed>"
volume.#: "1"
volume.4233859219.host_path: "/mnt/log/containers/celery"
volume.4233859219.name: "celery-logs"
<= data.aws_ecs_task_definition.tasks-bookmarks
family: "<computed>"
network_mode: "<computed>"
revision: "<computed>"
status: "<computed>"
task_definition: "df-qa-tasks-bookmarks"
task_role_arn: "<computed>"
Plan: 11 to add, 0 to change, 0 to destroy.
----------mo-dev----------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
+ aws_appautoscaling_policy.tasks-bookmarks_down
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "mo-dev_bookmarks_scale_down"
policy_type: "StepScaling"
resource_id: "service/mo-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.2173517692.metric_interval_lower_bound: ""
step_adjustment.2173517692.metric_interval_upper_bound: "0"
step_adjustment.2173517692.scaling_adjustment: "-1"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_down
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "1"
name: "mo-dev_bookmarks_scale_down_queues"
policy_type: "StepScaling"
resource_id: "service/mo-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1320297936.metric_interval_lower_bound: ""
step_adjustment.1320297936.metric_interval_upper_bound: "0"
step_adjustment.1320297936.scaling_adjustment: "-25"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_up
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "2"
name: "mo-dev_bookmarks_scale_up_queues"
policy_type: "StepScaling"
resource_id: "service/mo-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1220958959.metric_interval_lower_bound: "0"
step_adjustment.1220958959.metric_interval_upper_bound: ""
step_adjustment.1220958959.scaling_adjustment: "50"
+ aws_appautoscaling_policy.tasks-bookmarks_up
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "mo-dev_bookmarks_scale_up"
policy_type: "StepScaling"
resource_id: "service/mo-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1463889586.metric_interval_lower_bound: "0"
step_adjustment.1463889586.metric_interval_upper_bound: ""
step_adjustment.1463889586.scaling_adjustment: "2"
+ aws_appautoscaling_target.tasks-bookmarks
max_capacity: "0"
min_capacity: "0"
resource_id: "service/mo-dev-tasks/bookmarks"
role_arn: "arn:aws:iam::213832358394:role/ecsAutoscaleRole"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-lower
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "mo-dev-bookmarks-cpu-lower"
comparison_operator: "LessThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "mo-dev-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "30"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-upper
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "mo-dev-bookmarks-cpu-upper"
comparison_operator: "GreaterThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "mo-dev-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "60"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-down
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "mo-dev-bookmarks-queues-down"
comparison_operator: "LessThanThreshold"
dimensions.%: "1"
dimensions.queues: "mo_dev_bookmarks,mo_dev_bookmarks,"
evaluation_periods: "1"
metric_name: "mo_dev_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-up
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "mo-dev-bookmarks-queues-up"
comparison_operator: "GreaterThanThreshold"
dimensions.%: "1"
dimensions.queues: "mo_dev_bookmarks,mo_dev_bookmarks,"
evaluation_periods: "1"
metric_name: "mo_dev_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
~ aws_db_parameter_group.rdsparamgroup-us-east-1
parameter.#: "1" => "0"
parameter.1918306725.apply_method: "immediate" => ""
parameter.1918306725.name: "log_output" => ""
parameter.1918306725.value: "file" => ""
+ aws_ecs_service.tasks-bookmarks
cluster: "arn:aws:ecs:us-east-1:213832358394:cluster/mo-dev-tasks"
deployment_maximum_percent: "200"
deployment_minimum_healthy_percent: "0"
desired_count: "0"
name: "bookmarks"
task_definition: "${data.aws_ecs_task_definition.tasks-bookmarks.family}:${max(aws_ecs_task_definition.tasks-bookmarks.revision, data.aws_ecs_task_definition.tasks-bookmarks.revision)}"
+ aws_ecs_task_definition.tasks-bookmarks
arn: "<computed>"
container_definitions: "f3e24254e1b0a60e72c5c5dbd9dc344f8e4183a3"
family: "mo-dev-tasks-bookmarks"
network_mode: "<computed>"
revision: "<computed>"
volume.#: "1"
volume.4233859219.host_path: "/mnt/log/containers/celery"
volume.4233859219.name: "celery-logs"
<= data.aws_ecs_task_definition.tasks-bookmarks
family: "<computed>"
network_mode: "<computed>"
revision: "<computed>"
status: "<computed>"
task_definition: "mo-dev-tasks-bookmarks"
task_role_arn: "<computed>"
Plan: 11 to add, 1 to change, 0 to destroy.
----------mo-prod----------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
+ aws_appautoscaling_policy.tasks-bookmarks_down
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "mo-prod_bookmarks_scale_down"
policy_type: "StepScaling"
resource_id: "service/mo-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.2173517692.metric_interval_lower_bound: ""
step_adjustment.2173517692.metric_interval_upper_bound: "0"
step_adjustment.2173517692.scaling_adjustment: "-1"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_down
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "1"
name: "mo-prod_bookmarks_scale_down_queues"
policy_type: "StepScaling"
resource_id: "service/mo-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1320297936.metric_interval_lower_bound: ""
step_adjustment.1320297936.metric_interval_upper_bound: "0"
step_adjustment.1320297936.scaling_adjustment: "-25"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_up
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "2"
name: "mo-prod_bookmarks_scale_up_queues"
policy_type: "StepScaling"
resource_id: "service/mo-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1220958959.metric_interval_lower_bound: "0"
step_adjustment.1220958959.metric_interval_upper_bound: ""
step_adjustment.1220958959.scaling_adjustment: "50"
+ aws_appautoscaling_policy.tasks-bookmarks_up
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "mo-prod_bookmarks_scale_up"
policy_type: "StepScaling"
resource_id: "service/mo-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1463889586.metric_interval_lower_bound: "0"
step_adjustment.1463889586.metric_interval_upper_bound: ""
step_adjustment.1463889586.scaling_adjustment: "2"
+ aws_appautoscaling_target.tasks-bookmarks
max_capacity: "0"
min_capacity: "0"
resource_id: "service/mo-prod-tasks/bookmarks"
role_arn: "arn:aws:iam::535924114056:role/ecsAutoscaleRole"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-lower
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "mo-prod-bookmarks-cpu-lower"
comparison_operator: "LessThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "mo-prod-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "30"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-upper
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "mo-prod-bookmarks-cpu-upper"
comparison_operator: "GreaterThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "mo-prod-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "60"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-down
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "mo-prod-bookmarks-queues-down"
comparison_operator: "LessThanThreshold"
dimensions.%: "1"
dimensions.queues: "mo_prod_bookmarks,mo_prod_bookmarks,"
evaluation_periods: "1"
metric_name: "mo_prod_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-up
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "mo-prod-bookmarks-queues-up"
comparison_operator: "GreaterThanThreshold"
dimensions.%: "1"
dimensions.queues: "mo_prod_bookmarks,mo_prod_bookmarks,"
evaluation_periods: "1"
metric_name: "mo_prod_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_ecs_service.tasks-bookmarks
cluster: "arn:aws:ecs:us-east-1:535924114056:cluster/mo-prod-tasks"
deployment_maximum_percent: "200"
deployment_minimum_healthy_percent: "50"
desired_count: "0"
name: "bookmarks"
task_definition: "${data.aws_ecs_task_definition.tasks-bookmarks.family}:${max(aws_ecs_task_definition.tasks-bookmarks.revision, data.aws_ecs_task_definition.tasks-bookmarks.revision)}"
+ aws_ecs_task_definition.tasks-bookmarks
arn: "<computed>"
container_definitions: "7e84b4180cfc02c6b9dc7875af56eeb4b5a5c52c"
family: "mo-prod-tasks-bookmarks"
network_mode: "<computed>"
revision: "<computed>"
volume.#: "1"
volume.4233859219.host_path: "/mnt/log/containers/celery"
volume.4233859219.name: "celery-logs"
<= data.aws_ecs_task_definition.tasks-bookmarks
family: "<computed>"
network_mode: "<computed>"
revision: "<computed>"
status: "<computed>"
task_definition: "mo-prod-tasks-bookmarks"
task_role_arn: "<computed>"
Plan: 11 to add, 0 to change, 0 to destroy.
----------mo-qa----------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
+ aws_appautoscaling_policy.tasks-bookmarks_down
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "mo-qa_bookmarks_scale_down"
policy_type: "StepScaling"
resource_id: "service/mo-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.2173517692.metric_interval_lower_bound: ""
step_adjustment.2173517692.metric_interval_upper_bound: "0"
step_adjustment.2173517692.scaling_adjustment: "-1"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_down
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "1"
name: "mo-qa_bookmarks_scale_down_queues"
policy_type: "StepScaling"
resource_id: "service/mo-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1320297936.metric_interval_lower_bound: ""
step_adjustment.1320297936.metric_interval_upper_bound: "0"
step_adjustment.1320297936.scaling_adjustment: "-25"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_up
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "2"
name: "mo-qa_bookmarks_scale_up_queues"
policy_type: "StepScaling"
resource_id: "service/mo-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1220958959.metric_interval_lower_bound: "0"
step_adjustment.1220958959.metric_interval_upper_bound: ""
step_adjustment.1220958959.scaling_adjustment: "50"
+ aws_appautoscaling_policy.tasks-bookmarks_up
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "mo-qa_bookmarks_scale_up"
policy_type: "StepScaling"
resource_id: "service/mo-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1463889586.metric_interval_lower_bound: "0"
step_adjustment.1463889586.metric_interval_upper_bound: ""
step_adjustment.1463889586.scaling_adjustment: "2"
+ aws_appautoscaling_target.tasks-bookmarks
max_capacity: "0"
min_capacity: "0"
resource_id: "service/mo-qa-tasks/bookmarks"
role_arn: "arn:aws:iam::213832358394:role/ecsAutoscaleRole"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-lower
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "mo-qa-bookmarks-cpu-lower"
comparison_operator: "LessThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "mo-qa-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "30"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-upper
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "mo-qa-bookmarks-cpu-upper"
comparison_operator: "GreaterThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "mo-qa-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "60"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-down
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "mo-qa-bookmarks-queues-down"
comparison_operator: "LessThanThreshold"
dimensions.%: "1"
dimensions.queues: "mo_qa_bookmarks,mo_qa_bookmarks,"
evaluation_periods: "1"
metric_name: "mo_qa_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-up
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "mo-qa-bookmarks-queues-up"
comparison_operator: "GreaterThanThreshold"
dimensions.%: "1"
dimensions.queues: "mo_qa_bookmarks,mo_qa_bookmarks,"
evaluation_periods: "1"
metric_name: "mo_qa_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_ecs_service.tasks-bookmarks
cluster: "arn:aws:ecs:us-east-1:213832358394:cluster/mo-qa-tasks"
deployment_maximum_percent: "200"
deployment_minimum_healthy_percent: "0"
desired_count: "0"
name: "bookmarks"
task_definition: "${data.aws_ecs_task_definition.tasks-bookmarks.family}:${max(aws_ecs_task_definition.tasks-bookmarks.revision, data.aws_ecs_task_definition.tasks-bookmarks.revision)}"
+ aws_ecs_task_definition.tasks-bookmarks
arn: "<computed>"
container_definitions: "70fd82b6751ac74df048f13e5719510a66c6df11"
family: "mo-qa-tasks-bookmarks"
network_mode: "<computed>"
revision: "<computed>"
volume.#: "1"
volume.4233859219.host_path: "/mnt/log/containers/celery"
volume.4233859219.name: "celery-logs"
<= data.aws_ecs_task_definition.tasks-bookmarks
family: "<computed>"
network_mode: "<computed>"
revision: "<computed>"
status: "<computed>"
task_definition: "mo-qa-tasks-bookmarks"
task_role_arn: "<computed>"
Plan: 11 to add, 0 to change, 0 to destroy.
----------wa-dev----------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
+ aws_appautoscaling_policy.tasks-bookmarks_down
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "wa-dev_bookmarks_scale_down"
policy_type: "StepScaling"
resource_id: "service/wa-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.2173517692.metric_interval_lower_bound: ""
step_adjustment.2173517692.metric_interval_upper_bound: "0"
step_adjustment.2173517692.scaling_adjustment: "-1"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_down
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "1"
name: "wa-dev_bookmarks_scale_down_queues"
policy_type: "StepScaling"
resource_id: "service/wa-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1320297936.metric_interval_lower_bound: ""
step_adjustment.1320297936.metric_interval_upper_bound: "0"
step_adjustment.1320297936.scaling_adjustment: "-25"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_up
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "2"
name: "wa-dev_bookmarks_scale_up_queues"
policy_type: "StepScaling"
resource_id: "service/wa-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1220958959.metric_interval_lower_bound: "0"
step_adjustment.1220958959.metric_interval_upper_bound: ""
step_adjustment.1220958959.scaling_adjustment: "50"
+ aws_appautoscaling_policy.tasks-bookmarks_up
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "wa-dev_bookmarks_scale_up"
policy_type: "StepScaling"
resource_id: "service/wa-dev-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1463889586.metric_interval_lower_bound: "0"
step_adjustment.1463889586.metric_interval_upper_bound: ""
step_adjustment.1463889586.scaling_adjustment: "2"
+ aws_appautoscaling_target.tasks-bookmarks
max_capacity: "0"
min_capacity: "0"
resource_id: "service/wa-dev-tasks/bookmarks"
role_arn: "arn:aws:iam::213832358394:role/ecsAutoscaleRole"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-lower
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "wa-dev-bookmarks-cpu-lower"
comparison_operator: "LessThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "wa-dev-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "30"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-upper
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "wa-dev-bookmarks-cpu-upper"
comparison_operator: "GreaterThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "wa-dev-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "60"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-down
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "wa-dev-bookmarks-queues-down"
comparison_operator: "LessThanThreshold"
dimensions.%: "1"
dimensions.queues: "wa_dev_bookmarks,wa_dev_bookmarks,"
evaluation_periods: "1"
metric_name: "wa_dev_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-up
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "wa-dev-bookmarks-queues-up"
comparison_operator: "GreaterThanThreshold"
dimensions.%: "1"
dimensions.queues: "wa_dev_bookmarks,wa_dev_bookmarks,"
evaluation_periods: "1"
metric_name: "wa_dev_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_ecs_service.tasks-bookmarks
cluster: "arn:aws:ecs:us-east-1:213832358394:cluster/wa-dev-tasks"
deployment_maximum_percent: "200"
deployment_minimum_healthy_percent: "0"
desired_count: "0"
name: "bookmarks"
task_definition: "${data.aws_ecs_task_definition.tasks-bookmarks.family}:${max(aws_ecs_task_definition.tasks-bookmarks.revision, data.aws_ecs_task_definition.tasks-bookmarks.revision)}"
+ aws_ecs_task_definition.tasks-bookmarks
arn: "<computed>"
container_definitions: "920f14039fa89b35bb71eb273eeccb9e9f999f19"
family: "wa-dev-tasks-bookmarks"
network_mode: "<computed>"
revision: "<computed>"
volume.#: "1"
volume.4233859219.host_path: "/mnt/log/containers/celery"
volume.4233859219.name: "celery-logs"
<= data.aws_ecs_task_definition.tasks-bookmarks
family: "<computed>"
network_mode: "<computed>"
revision: "<computed>"
status: "<computed>"
task_definition: "wa-dev-tasks-bookmarks"
task_role_arn: "<computed>"
Plan: 11 to add, 0 to change, 0 to destroy.
----------wa-prod----------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
+ aws_appautoscaling_policy.tasks-bookmarks_down
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "wa-prod_bookmarks_scale_down"
policy_type: "StepScaling"
resource_id: "service/wa-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.2173517692.metric_interval_lower_bound: ""
step_adjustment.2173517692.metric_interval_upper_bound: "0"
step_adjustment.2173517692.scaling_adjustment: "-1"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_down
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "1"
name: "wa-prod_bookmarks_scale_down_queues"
policy_type: "StepScaling"
resource_id: "service/wa-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1320297936.metric_interval_lower_bound: ""
step_adjustment.1320297936.metric_interval_upper_bound: "0"
step_adjustment.1320297936.scaling_adjustment: "-25"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_up
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "2"
name: "wa-prod_bookmarks_scale_up_queues"
policy_type: "StepScaling"
resource_id: "service/wa-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1220958959.metric_interval_lower_bound: "0"
step_adjustment.1220958959.metric_interval_upper_bound: ""
step_adjustment.1220958959.scaling_adjustment: "50"
+ aws_appautoscaling_policy.tasks-bookmarks_up
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "wa-prod_bookmarks_scale_up"
policy_type: "StepScaling"
resource_id: "service/wa-prod-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1463889586.metric_interval_lower_bound: "0"
step_adjustment.1463889586.metric_interval_upper_bound: ""
step_adjustment.1463889586.scaling_adjustment: "2"
+ aws_appautoscaling_target.tasks-bookmarks
max_capacity: "0"
min_capacity: "0"
resource_id: "service/wa-prod-tasks/bookmarks"
role_arn: "arn:aws:iam::535924114056:role/ecsAutoscaleRole"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-lower
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "wa-prod-bookmarks-cpu-lower"
comparison_operator: "LessThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "wa-prod-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "30"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-upper
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "wa-prod-bookmarks-cpu-upper"
comparison_operator: "GreaterThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "wa-prod-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "60"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-down
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "wa-prod-bookmarks-queues-down"
comparison_operator: "LessThanThreshold"
dimensions.%: "1"
dimensions.queues: "wa_prod_bookmarks,wa_prod_bookmarks,"
evaluation_periods: "1"
metric_name: "wa_prod_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-up
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "wa-prod-bookmarks-queues-up"
comparison_operator: "GreaterThanThreshold"
dimensions.%: "1"
dimensions.queues: "wa_prod_bookmarks,wa_prod_bookmarks,"
evaluation_periods: "1"
metric_name: "wa_prod_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_ecs_service.tasks-bookmarks
cluster: "arn:aws:ecs:us-east-1:535924114056:cluster/wa-prod-tasks"
deployment_maximum_percent: "200"
deployment_minimum_healthy_percent: "50"
desired_count: "0"
name: "bookmarks"
task_definition: "${data.aws_ecs_task_definition.tasks-bookmarks.family}:${max(aws_ecs_task_definition.tasks-bookmarks.revision, data.aws_ecs_task_definition.tasks-bookmarks.revision)}"
+ aws_ecs_task_definition.tasks-bookmarks
arn: "<computed>"
container_definitions: "940a4cd28f520fb1185f6acdde89e6f17db8c6e0"
family: "wa-prod-tasks-bookmarks"
network_mode: "<computed>"
revision: "<computed>"
volume.#: "1"
volume.4233859219.host_path: "/mnt/log/containers/celery"
volume.4233859219.name: "celery-logs"
<= data.aws_ecs_task_definition.tasks-bookmarks
family: "<computed>"
network_mode: "<computed>"
revision: "<computed>"
status: "<computed>"
task_definition: "wa-prod-tasks-bookmarks"
task_role_arn: "<computed>"
Plan: 11 to add, 0 to change, 0 to destroy.
----------wa-qa----------
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
+ aws_appautoscaling_policy.tasks-bookmarks_down
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "wa-qa_bookmarks_scale_down"
policy_type: "StepScaling"
resource_id: "service/wa-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.2173517692.metric_interval_lower_bound: ""
step_adjustment.2173517692.metric_interval_upper_bound: "0"
step_adjustment.2173517692.scaling_adjustment: "-1"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_down
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "1"
name: "wa-qa_bookmarks_scale_down_queues"
policy_type: "StepScaling"
resource_id: "service/wa-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1320297936.metric_interval_lower_bound: ""
step_adjustment.1320297936.metric_interval_upper_bound: "0"
step_adjustment.1320297936.scaling_adjustment: "-25"
+ aws_appautoscaling_policy.tasks-bookmarks_queues_up
adjustment_type: "PercentChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
min_adjustment_magnitude: "2"
name: "wa-qa_bookmarks_scale_up_queues"
policy_type: "StepScaling"
resource_id: "service/wa-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1220958959.metric_interval_lower_bound: "0"
step_adjustment.1220958959.metric_interval_upper_bound: ""
step_adjustment.1220958959.scaling_adjustment: "50"
+ aws_appautoscaling_policy.tasks-bookmarks_up
adjustment_type: "ChangeInCapacity"
arn: "<computed>"
cooldown: "300"
metric_aggregation_type: "Average"
name: "wa-qa_bookmarks_scale_up"
policy_type: "StepScaling"
resource_id: "service/wa-qa-tasks/bookmarks"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
step_adjustment.#: "1"
step_adjustment.1463889586.metric_interval_lower_bound: "0"
step_adjustment.1463889586.metric_interval_upper_bound: ""
step_adjustment.1463889586.scaling_adjustment: "2"
+ aws_appautoscaling_target.tasks-bookmarks
max_capacity: "0"
min_capacity: "0"
resource_id: "service/wa-qa-tasks/bookmarks"
role_arn: "arn:aws:iam::213832358394:role/ecsAutoscaleRole"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-lower
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "wa-qa-bookmarks-cpu-lower"
comparison_operator: "LessThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "wa-qa-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "30"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-cpu-upper
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "wa-qa-bookmarks-cpu-upper"
comparison_operator: "GreaterThanOrEqualToThreshold"
dimensions.%: "2"
dimensions.ClusterName: "wa-qa-tasks"
dimensions.ServiceName: "bookmarks"
evaluation_periods: "1"
metric_name: "CPUUtilization"
namespace: "AWS/ECS"
period: "300"
statistic: "Average"
threshold: "60"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-down
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "wa-qa-bookmarks-queues-down"
comparison_operator: "LessThanThreshold"
dimensions.%: "1"
dimensions.queues: "wa_qa_bookmarks,wa_qa_bookmarks,"
evaluation_periods: "1"
metric_name: "wa_qa_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_cloudwatch_metric_alarm.tasks-bookmarks-queues-up
actions_enabled: "true"
alarm_actions.#: "<computed>"
alarm_name: "wa-qa-bookmarks-queues-up"
comparison_operator: "GreaterThanThreshold"
dimensions.%: "1"
dimensions.queues: "wa_qa_bookmarks,wa_qa_bookmarks,"
evaluation_periods: "1"
metric_name: "wa_qa_scale_queues"
namespace: "queue_scaling"
period: "300"
statistic: "Average"
threshold: "0"
+ aws_ecs_service.tasks-bookmarks
cluster: "arn:aws:ecs:us-east-1:213832358394:cluster/wa-qa-tasks"
deployment_maximum_percent: "200"
deployment_minimum_healthy_percent: "0"
desired_count: "0"
name: "bookmarks"
task_definition: "${data.aws_ecs_task_definition.tasks-bookmarks.family}:${max(aws_ecs_task_definition.tasks-bookmarks.revision, data.aws_ecs_task_definition.tasks-bookmarks.revision)}"
+ aws_ecs_task_definition.tasks-bookmarks
arn: "<computed>"
container_definitions: "5f9480dc0deb44753b84e5e206a7bf81002cf629"
family: "wa-qa-tasks-bookmarks"
network_mode: "<computed>"
revision: "<computed>"
volume.#: "1"
volume.4233859219.host_path: "/mnt/log/containers/celery"
volume.4233859219.name: "celery-logs"
<= data.aws_ecs_task_definition.tasks-bookmarks
family: "<computed>"
network_mode: "<computed>"
revision: "<computed>"
status: "<computed>"
task_definition: "wa-qa-tasks-bookmarks"
task_role_arn: "<computed>"
Plan: 11 to add, 0 to change, 0 to destroy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment