Skip to content

Commit 2b6502b

Browse files
committed
Merge commit 'd3d2911cdf76ce70c19e559766ebd68f1d2d2764' of github.com:clouddrove/terraform-aws-ec2 into HEAD
2 parents b9092b1 + d3d2911 commit 2b6502b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ resource "aws_instance" "default" {
6565
module.labels.tags,
6666
{
6767
"Name" = format("%s%s%s", module.labels.id, var.delimiter, (count.index))
68-
}
68+
},
69+
var.volume_tags
6970
)
7071

7172
lifecycle {

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,12 @@ variable "instance_tags" {
263263
description = "Instance tags."
264264
}
265265

266+
variable "volume_tags" {
267+
type = map(any)
268+
default = {}
269+
description = "Volume tags."
270+
}
271+
266272
variable "dns_zone_id" {
267273
type = string
268274
default = ""

0 commit comments

Comments
 (0)