compliance.tf
Terraform Modules for AWSCompute & Containers

Terraform AWS ECS

ECS clusters, services, and task definitions with IAM roles, logging, load balancer integration, service discovery, capacity providers, and Fargate or EC2 runtime settings.

Controls enforced

These compliance controls are checked at terraform plan time.

Quick start

module "ecs" {
  source  = "pcidss.compliance.tf/terraform-aws-modules/ecs/aws"
  version = "1.0"

  # ... your arguments here
}
module "ecs" {
  source  = "acscessentialeight.compliance.tf/terraform-aws-modules/ecs/aws"
  version = "1.0"

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

  # ... your arguments here
}

See the Get Started guide and Registry Endpoints for details on how to customize the module for your requirements.

Migration from upstream

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

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

Same arguments. Same outputs. Controls are checked at terraform plan. See the Migration Guide for step-by-step instructions.

Reversibility

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

module "ecs" {
  source  = "terraform-aws-modules/ecs/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

1.4.5 The disclosure of internal IP addresses and routing information is limited to only authorized parties

1.4.5: Network connections between trusted and untrusted networks are controlled.

6.3.3: All system components are protected from known vulnerabilities by installing applicable security patches/updates

6.3.3: Security vulnerabilities are identified and addressed.

Framework coverage

Which controls from this module are active under each framework endpoint.

enforced by default · not activated by this endpoint

On this page

Ask AI about this

Help improve this page