1 Answer
- Newest
- Most votes
- Most comments
0
- Verify the property names against the AWS Config resource schema documentation for AWS::EC2::Volume.<br>
- Ensure that the properties you are checking are supported by the resourceType.<br>
- Review the rule's syntax for any errors, paying close attention to the structure and operators used in the condition definitions.
let desiredVolumeType = 'gp2'
let encryptionStatus = true
rule check_ec2_volume_compliance when
resourceType == "AWS::EC2::Volume" {
configuration.volumeType == %desiredVolumeType &&
configuration.encrypted == %encryptionStatus
}
Relevant content
- asked 6 months ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 23 days ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago