Policy Packs
Enforce AWS EC2 AMIs Are Shared With Trusted Accounts

Policy Setting: AWS > EC2 > AMI > Trusted Access > Accounts

Policies

This policy setting is dependent on the following policy types:

Source

resource "turbot_policy_setting" "aws_ec2_ami_trusted_access_accounts" {
resource = turbot_policy_pack.main.id
type = "tmod:@turbot/aws-ec2#/policy/types/amiTrustedAccessAccounts"
value = <<-EOT
- "123456789012"
- "123456789013"
EOT
}