give everything a name.
This commit is contained in:
@@ -1,10 +1,18 @@
|
||||
resource "aws_subnet" "subnet-uno" {
|
||||
tags = {
|
||||
"Name" = "tf-subnet-uno"
|
||||
}
|
||||
|
||||
cidr_block = "${cidrsubnet(aws_vpc.test-env.cidr_block, 3, 1)}"
|
||||
vpc_id = "${aws_vpc.test-env.id}"
|
||||
availability_zone = "us-west-2a"
|
||||
}
|
||||
|
||||
resource "aws_route_table" "route-table-test-env" {
|
||||
tags = {
|
||||
"Name" = "tf-route-table-test-env"
|
||||
}
|
||||
|
||||
vpc_id = "${aws_vpc.test-env.id}"
|
||||
route {
|
||||
cidr_block = "0.0.0.0/0"
|
||||
|
||||
Reference in New Issue
Block a user