Skip to content

AWS copied AMIs are not encrypted

Description

As a best practice enable encryption for your AWS copied AMIs to improve data security without making changes to your business or applications.

Code Example

go
resource "aws_ami_copy" "pass" {
  name              = "terraform-example"
  description       = "A copy of ami-xxxxxxxx"
  source_ami_id     = "ami-xxxxxxxx"
  source_ami_region = "us-west-1"
  encrypted         = true
  tags = {
    Name = "HelloWorld"
    test = "failed"
  }
}

Remediation

Terraform

Rule Details

FieldValue
IDIAC-0283
SeverityLOW
IaC TypeTerraform
FrameworksTerraform
Checkov IDCKV_AWS_235

References