Policy Packs
AWS CIS v3.0.0 - Section 1 - Identity and Access Management

Policy Setting: AWS > EC2 > Instance > Instance Profile > Name

Policies

This policy setting is dependent on the following policy types:

Source

resource "turbot_policy_setting" "aws_ec2_instance_instance_profile_role_name" {
resource = turbot_policy_pack.main.id
type = "tmod:@turbot/aws-ec2#/policy/types/instanceProfileName"
note = "AWS CIS v3.0.0 - Controls: 1.18"
# EC2 Instance Profile name. Just the name not the full ARN.
value = "orgDefaultInstanceProfile"
}