Policy Packs
Enforce AWS EC2 Instances Do Not Have Internet Access via Subnets

Policy Setting: AWS > EC2 > Instance > Approved

Policies

This policy setting is dependent on the following policy types:

Source

resource "turbot_policy_setting" "aws_ec2_instance_approved" {
resource = turbot_policy_pack.main.id
type = "tmod:@turbot/aws-ec2#/policy/types/instanceApproved"
value = "Check: Approved"
# value = "Enforce: Stop unapproved"
# value = "Enforce: Delete unapproved if new"
}