Difference between revisions of "Terraform resource: aws appautoscaling target"
Jump to navigation
Jump to search
↑ https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/appautoscaling_target
Line 15: | Line 15: | ||
== See also == | == See also == | ||
+ | * {{tf autoscaling}} | ||
* {{terraform aws resources}} | * {{terraform aws resources}} | ||
[[Category:Terraform]] | [[Category:Terraform]] | ||
[[Category:AWS]] | [[Category:AWS]] |
Revision as of 21:02, 22 September 2022
aws_appautoscaling_target
[1]
ECS Example
resource "aws_appautoscaling_target" "ecs_target" { max_capacity = 4 min_capacity = 1 resource_id = "service/${aws_ecs_cluster.example.name}/${aws_ecs_service.example.name}" scalable_dimension = "ecs:service:DesiredCount" service_namespace = "ecs" }
Related
aws_appautoscaling_policy aws_autoscaling_group
See also
- Terraform AWS autoscaling:
aws_appautoscaling_policy, aws_appautoscaling_target, aws_autoscaling_group, asg_desired_capacity
- Terraform AWS resources: IAM, Net, EC2, ECS, ECR, S3, Route53, ACM, CloudWatch, CloudFront SES, RDS, DLM
Advertising: