Disable IPv6 Networking if not in use within your organization¶
Any protocols enable within Lightsail by default that aren't being used should be disabled.
How to fix¶
Attribute ip_address_type of aws_lightsail_instance must be "ipv4".
Implementation options¶
Choose the option that matches how you manage Terraform. All options satisfy this control.
Option 1: Terraform AWS provider resources¶
If you manage resources directly, configure the relevant Terraform AWS provider resources to meet this control. See docs for the resources involved: aws_lightsail_instance.
resource "aws_lightsail_instance" "this" {
availability_zone = local.availability_zone
blueprint_id = "amazon_linux_2"
bundle_id = "nano_3_0"
name = "pofix-example-lightsail"
ip_address_type = "ipv4"
}
Which option should I choose?
- Compliance.tf module (recommended): controls enforced by default and mapped to frameworks.
- Open source module (
terraform-aws-modules): compatible by design with compliance.tf. Same variable names for an easy, low-change migration path when you are ready. - Terraform AWS provider resources: manage Terraform resources directly.
Tool mappings¶
Use these identifiers to cross-reference this control across tools, reports, and evidence.
Compliance.tf (CTF) Control:
lightsail_instance_ipv6_networking_disabledPowerpipe Control:
aws_compliance.control.lightsail_instance_ipv6_networking_disabled