Skip to content

Terraform AWS VPC

VPCs with public and private subnets, route tables, NAT gateways, Internet gateways, VPC endpoints, flow logs, network ACLs, and security group foundations for workload isolation.

1 controls enforced15 frameworks

Controls Enforced

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

Quick Start

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  # ... your arguments here
}
module "vpc" {
  source  = "soc2.compliance.tf/terraform-aws-modules/vpc/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 "vpc" {
  source  = "terraform-aws-modules/vpc/aws"
  version = "1.0"
}
module "vpc" {
  source  = "soc2.compliance.tf/terraform-aws-modules/vpc/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 "vpc" {
  source  = "terraform-aws-modules/vpc/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

11.10(g) Use of authority checks to ensure that only authorized individuals can use the system, electronically sign a record, access the operation or computer system input or output device, alter a record, or perform the operation at hand

3.3 Configure Data Access Control Lists

164.312(e)(1) Transmission security

500.07 Access Privileges and Management

CC6.6: The entity implements logical access security measures to protect against threats from sources outside its system boundaries.

Framework Coverage

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

ControlTitle 21 CFR Part 11CIS Controls v8.0 IG1CISA Cyber EssentialsFedRAMP Low Baseline Rev 4FedRAMP Moderate Baseline Rev 4FFIEC Cybersecurity Assessment ToolHIPAA Omnibus Rule 2013ISO/IEC 27001:2022
VPC subnet auto assign public IP should be disabled

Showing top 8 frameworks by coverage. All framework endpoints →