Skip to content

AWS AMI launch permissions are not limited

Description

It is recommended not to give the ability to launch AMIs across multiple accounts, and if it is implemented, make sure it is properly used.

Code Example

go
- resource "aws_ami_launch_permission" "remove_equivalent_block" {
-   image_id   = "ami-2345678"
-   account_id = "987654321"
- }

Remediation

TBA === Fix - Buildtime

Terraform

Rule Details

FieldValue
IDIAC-0253
SeverityLOW
IaC TypeTerraform
FrameworksTerraform
Checkov IDCKV_AWS_205

References