Terraform resource: aws ecs capacity provider
(Redirected from Aws ecs capacity provider)
Jump to navigation
Jump to search
aws_ecs_capacity_provider (tf.io)
Official example[edit]
resource "aws_autoscaling_group" "test" { # ... other configuration, including potentially other tags ... tag { key = "AmazonECSManaged" value = true propagate_at_launch = true } } resource "aws_ecs_capacity_provider" "test" { name = "test" auto_scaling_group_provider { auto_scaling_group_arn = aws_autoscaling_group.test.arn managed_termination_protection = "ENABLED" managed_scaling { maximum_scaling_step_size = 1000 minimum_scaling_step_size = 1 status = "ENABLED" target_capacity = 10 } } }
See also[edit]
- Terraform resource:
aws_ecs_cluster_capacity_providers - aws_autoscaling_group
- Capacity provider strategy
See also[edit]
Advertising: