Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mr-bo-jangles/e3700cf9862fce8d4cc6867206a825be to your computer and use it in GitHub Desktop.
Save mr-bo-jangles/e3700cf9862fce8d4cc6867206a825be to your computer and use it in GitHub Desktop.
+ module.website.aws_appautoscaling_policy.ecs_policy
id: <computed>
arn: <computed>
name: "website-autoscale"
policy_type: "TargetTrackingScaling"
resource_id: "arn:aws:ecs:eu-west-2::service/webserver"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
target_tracking_scaling_policy_configuration.#: "1"
target_tracking_scaling_policy_configuration.0.disable_scale_in: "false"
target_tracking_scaling_policy_configuration.0.predefined_metric_specification.#: "1"
target_tracking_scaling_policy_configuration.0.predefined_metric_specification.0.predefined_metric_type: "ALBRequestCountPerTarget"
target_tracking_scaling_policy_configuration.0.target_value: "10"
+ module.website.aws_appautoscaling_target.ecs_target
id: <computed>
max_capacity: "2"
min_capacity: "1"
resource_id: "arn:aws:ecs:eu-west-2::service/webserver"
role_arn: "arn:aws:iam:::role/ecs_iam_role"
scalable_dimension: "ecs:service:DesiredCount"
service_namespace: "ecs"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment