Skip to content

Commit b9cde61

Browse files
committed
Add tag in packer sources
1 parent 4e0de2a commit b9cde61

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

infrastructure/ami/hcl2-files/sources.pkr.hcl

+3
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ source "amazon-ebs" "ubuntu" {
1111
volume_type = "gp2"
1212
delete_on_termination = true
1313
}
14+
tags = {
15+
tag_name = var.tag_name
16+
}
1417
}

0 commit comments

Comments
 (0)