Specifies a network ACL for your VPC.
To create an EC2 Network ACL resource
resource "awscc_ec2_vpc" "main" {
cidr_block = "10.0.0.0/16"
}
resource "awscc_ec2_network_acl" "main" {
vpc_id = awscc_ec2_vpc.main.vpc_id
tags = [
{
key = "Name"
value = "SampleNACL"
},
{
key = "Environment"
value = "Development"
},
{
key = "Modified By"
value = "AWSCC"
}
]
}
vpc_id
(String) The ID of the VPC for the network ACL.tags
(Attributes List) The tags for the network ACL. (see below for nested schema)id
(String) Uniquely identifies the resource.network_acl_id
(String)tags
Required:
key
(String) The tag key.value
(String) The tag value.Import is supported using the following syntax:
$ terraform import awscc_ec2_network_acl.example <resource ID>