AWS EC2 Instance Terraform module
Upstream version 6.4.0
8 controls from PCI DSS v4.0 requirements
Terraform Module Source
pcidss.compliance.tf/terraform-aws-modules/ec2-instance/awsAttached EBS volumes should have encryption enabled
ebs_attached_volume_encryption_enabled
Framework requirement
EC2 instance detailed monitoring should be enabled
ec2_instance_detailed_monitoring_enabled
Framework requirement
EC2 instances should have IAM profile attached
ec2_instance_iam_profile_attached
Framework requirement
EC2 instances should be in a VPC
ec2_instance_in_vpc
Framework requirement
EC2 instances should not use key pairs in running state
ec2_instance_no_amazon_key_pair
Framework requirement
EC2 instances should not have a public IP address
ec2_instance_not_publicly_accessible
Framework requirement
EC2 instances should use IMDSv2
ec2_instance_uses_imdsv2
Framework requirement
VPC Security groups should only allow unrestricted incoming traffic for authorized ports
vpc_security_group_allows_ingress_authorized_ports1.3.2
Framework requirement