This example demonstrates IPv6 ingress rules using the tf-aws-module_primitive-vpc_security_group_ingress_rule module.
- IPv6 CIDR source
- HTTP access (port 80) from IPv6
- HTTPS access (port 443) from IPv6
- VPC with IPv6 enabled
terraform init
terraform plan -var-file=test.tfvars
terraform apply -var-file=test.tfvars
terraform destroy -var-file=test.tfvars
- 1 VPC (with IPv6 enabled)
- 1 Security Group
- 2 Security Group Ingress Rules (HTTP and HTTPS)
| Name |
Description |
Type |
Default |
Required |
| resource_name_prefix |
Prefix for resource names |
string |
"sgir-ipv6" |
no |
| vpc_cidr |
CIDR block for the VPC |
string |
"10.0.0.0/16" |
no |
| cidr_ipv6 |
IPv6 CIDR block allowed for ingress |
string |
"::/0" |
no |