ecs-service-autoscaling

cn-terraform/ecs-service-autoscaling/aws

Terraform Module HCL AWS

AWS ECS Service Autoscaling

Install
module "ecs-service-autoscaling" {
source = "cn-terraform/ecs-service-autoscaling/aws"
version = "1.0.12"
}
plain text: /constructs/tfmod-cn-terraform-ecs-service-autoscaling-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

AWS ECS Service Autoscaling Module # This Terraform module deploys autoscaling alarms for an AWS ECS Fargate service. ![](https://github.com/cn-terraform/terraform-aws-ecs-service-autoscaling/actions?query=workflow%3Aterraform) ![](https://github.com/cn-terraform/terraform-aws-ecs-service-autoscaling) ![](https://github.com/cn-terraform/terraform-aws-ecs-service-autoscaling) ![](https://github.com/cn-terraform/terraform-aws-ecs-service-autoscaling) ![](https://github.com/cn-terraform/terraform-aws-ecs-service-autoscaling) ![](https://github.com/cn-terraform/terraform-aws-ecs-service-autoscaling) Usage Check valid versions on: Github Releases: Terraform Module Registry: Other modules that you may need to use this module The Networking module: Github Releases: Terraform Module Registry: The

Inputs (15)
NameTypeDescriptionDefault
ecs_cluster_namestringName of the ECS cluster required
ecs_service_namestringName of the ECS service required
name_prefixstringName prefix for resources on AWS required
min_cpu_thresholdstringThreshold for min CPU usage"10"
min_cpu_evaluation_periodstringThe number of periods over which data is compared to the specified threshold for"3"
max_cpu_periodstringThe period in seconds over which the specified statistic is applied for max cpu "60"
scale_target_min_capacitynumberThe min capacity of the scalable target1
max_cpu_evaluation_periodstringThe number of periods over which data is compared to the specified threshold for"3"
min_cpu_periodstringThe period in seconds over which the specified statistic is applied for min cpu "60"
tagsmap(string)Resource tags{}
max_cpu_thresholdstringThreshold for max CPU usage"85"
scale_target_max_capacitynumberThe max capacity of the scalable target5
cooldownnumberCooldown period for scaling actions60
high_cpu_sns_topic_arnstringThe ARN of an SNS topic to send notifications on high CPU alarm actions.""
sns_topic_arnstringThe ARN of an SNS topic to send notifications on alarm actions.""
Resources (3)
aws_appautoscaling_policyaws_appautoscaling_targetaws_cloudwatch_metric_alarm
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.12
Cloud AWS
★ Stars17
Forks21
Total downloads370.9k
Inputs15
Resources3
Examples1
LicenseApache-2.0
Namespacecn-terraform
Updated