Web: https://www.reddit.com/r/devops/comments/s45yt1/autoscale_group_policy_with_terraform/

Jan. 14, 2022, 11:35 p.m. | /u/minaawow

Everything DevOps reddit.com


I'm new with terraform and I was working today on something to learn it. I wanted to create autoscale group in aws with policy that scale in and out based on CPU. I manged to create the autoscale group and simple policy but I didn't mange to make it scale in and out based on CPU. can someone help.

this is my code so far

resource "aws_autoscaling_group" "autoscaling_group" { name = var.autoscaling_group_name max_size = var.max_instance_size min_size = var.min_instance_size desired_capacity = var.desired_capacity vpc_zone_identifier = var.app_private_subnets launch_configuration = aws_launch_configuration.launch_configuration.name health_check_type = …

devops policy terraform

Azure Cloud Engineer (Remote - Canada)

@ Rackspace | Canada - Toronto

Platform Engineer

@ Cyted | Cambridge, United Kingdom

Linux-/DevOps Engineer

@ Solvinity | Assen, Netherlands

Azure Cloud Architect (Remote - Canada)

@ Rackspace | Canada - Remote

Azure Senior Cloud Engineer (Remote)

@ Rackspace | United States - Remote

AWS Cloud Architect (Remote)

@ Rackspace | United States - San Antonio