github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/autoscaling/AVD-AWS-0009/Terraform.md (about)

     1  
     2  Set the instance to not be publicly accessible
     3  
     4  ```hcl
     5  resource "aws_launch_configuration" "good_example" {
     6    associate_public_ip_address = false
     7  }
     8  ```
     9  
    10  #### Remediation Links
    11   - https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/launch_configuration#associate_public_ip_address
    12   - https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#associate_public_ip_address
    13