Skip to content

Commit 6ede0e9

Browse files
committed
add name tag to stack
1 parent 7a51933 commit 6ede0e9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

main.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,8 @@ resource "aws_cloudformation_stack" "this" {
2929
)
3030
})
3131

32-
tags = var.tags
32+
tags = merge(
33+
var.tags,
34+
{ Name : "${var.name}-stack" }
35+
)
3336
}

0 commit comments

Comments
 (0)