Skip to content

Terraform AWS Autoscaling

Auto Scaling groups with launch templates, instance refresh, health checks, scaling policies, mixed instance options, IAM instance profiles, and security group based network controls.

2 controls enforced5 frameworks

Controls Enforced

The following compliance controls are enforced by this module at terraform plan time.

Quick Start

module "autoscaling" {
  source  = "acscessentialeight.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "acscism2023.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "awscontroltower.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "awsgenai.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "awswellarchitected.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "cccsmedium.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "cfrpart11.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "cis.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "cisv500.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "cisv600.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "cisv80ig1.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "cisacyberessentials.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "eugmpannex11.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "fedramplow.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "fedrampmoderate.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "ffiec.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "gdpr.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "hipaa.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "iso27001.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "nis2.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "nist800171.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "nist80053.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "nistcsf.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "nydfs23.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "pcidss.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "rbicybersecurity.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "rbiitfnbfc.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}
module "autoscaling" {
  source  = "soc2.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "<version>"

  # ... your arguments here
}

See the Get Started guide to get started and read the Features section for more details on how to customize the module for your requirements.

Migration from Upstream

Already using terraform-aws-modules? Change only the source URL:

module "autoscaling" {
  source  = "terraform-aws-modules/autoscaling/aws"
  version = "1.0"
}
module "autoscaling" {
  source  = "soc2.compliance.tf/terraform-aws-modules/autoscaling/aws"
  version = "1.0"
}

Same arguments. Same outputs. Compliance controls are enforced automatically at terraform plan. If a required value is missing, you get a clear validation error telling you what to set.

See the Migration Guide for step-by-step instructions.

Reversibility

No lock-in. Switch back by reverting the source URL to the upstream path:

module "autoscaling" {
  source  = "terraform-aws-modules/autoscaling/aws"
}

Run terraform init -upgrade. Terraform state is unchanged — same resource addresses, same provider, no compliance.tf-specific resources. Controls you already applied remain in AWS.

Mapped compliance frameworks

Framework Coverage

Which controls from this module are active under each framework endpoint. ● enforced by default · ○ not activated by this endpoint

ControlISO/IEC 27001:2022NIS2 Directive (EU 2022/2555)NIST Cybersecurity Framework v2.0PCI DSS v4.0SOC 2
EC2 launch templates should use Instance Metadata Service Version 2 (IMDSv2)
AWS EC2 launch templates should not assign public IPs to network interfaces

Showing top 5 frameworks by coverage. All framework endpoints →