Skip to content

Commit

Permalink
Merge commit 'd3d2911cdf76ce70c19e559766ebd68f1d2d2764' of github.com…
Browse files Browse the repository at this point in the history
…:clouddrove/terraform-aws-ec2 into HEAD
  • Loading branch information
themaniskshah committed Sep 7, 2021
2 parents b9092b1 + d3d2911 commit 2b6502b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ resource "aws_instance" "default" {
module.labels.tags,
{
"Name" = format("%s%s%s", module.labels.id, var.delimiter, (count.index))
}
},
var.volume_tags
)

lifecycle {
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,12 @@ variable "instance_tags" {
description = "Instance tags."
}

variable "volume_tags" {
type = map(any)
default = {}
description = "Volume tags."
}

variable "dns_zone_id" {
type = string
default = ""
Expand Down

0 comments on commit 2b6502b

Please sign in to comment.