We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f990557 commit fca80f6Copy full SHA for fca80f6
main.tf
@@ -58,7 +58,8 @@ resource "aws_subnet" "public" {
58
{
59
Name = lookup(var.subnet_public[count.index], "tag_name", null)
60
},
61
- var.default_tags
+ var.default_tags,
62
+ var.tags_public
63
)
64
}
65
variables.tf
@@ -45,6 +45,10 @@ variable "subnet_public" {
45
type = any
46
default = []
47
48
+variable "tag_public" {
49
+ type = map(string)
50
+ default = {}
51
+}
52
variable "enable_nat_gateway" {
53
type = bool
54
default = false
0 commit comments