First, terraform is *brilliant*, I'm totally loving it so far. Thank you!
If I create an AWS VPC or an AWS internet gateway, one (and only one) is created.
However, if I create an AWS Network ACL, it looks like a default Network ACL is created and then my additional one that is specified in the terraform file.
Is there a way to manipulate the default Network ACL instead of creating a new one?
My aws_network_acl section looks like this:
resource "aws_network_acl" "default" {
tags {
Name = "dev"
}
}
The results are that there is an empty network ACL with 0 subnets associated with it, and a network ACL named "dev" with 4 subnets associated with it. I figured it would follow in the footsteps of the internet gateway, where only one gets created:
resource "aws_internet_gateway" "default" {
tags {
Name = "dev"
}
}
Thanks,
Pete