The aim of this repository is to have a terraform model to upload to an aws auto scalling group that collects memory utilization metrics from the cloud watch agent and use these metrics for memory-based scaling.
- terraform
- access key and secret key of aws exported as environment variable
terraform init
terraform apply
terraform destroy
Format .tf files recursively
terraform fmt --recursive
Validate resource syntaxes in files
terraform validade
Plan changes before applying
terraform plan