Skip to content

Commit

Permalink
Merge pull request #7 from depot/tag-spec-block
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie authored May 25, 2023
2 parents 7e68b19 + c0db3a9 commit 2e618aa
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,15 @@ resource "aws_launch_template" "x86" {
availability_zone = var.availability-zone
}

tag_specifications = [
{
resource_type = "instance"
tags = var.tags
},
{
resource_type = "volume"
tags = var.tags
},
]
tag_specifications {
resource_type = "instance"
tags = var.tags
}

tag_specifications {
resource_type = "volume"
tags = var.tags
}
}

resource "aws_launch_template" "arm" {
Expand Down Expand Up @@ -226,16 +225,15 @@ resource "aws_launch_template" "arm" {
availability_zone = var.availability-zone
}

tag_specifications = [
{
resource_type = "instance"
tags = var.tags
},
{
resource_type = "volume"
tags = var.tags
},
]
tag_specifications {
resource_type = "instance"
tags = var.tags
}

tag_specifications {
resource_type = "volume"
tags = var.tags
}
}

# cloud-agent ECS Task
Expand Down

0 comments on commit 2e618aa

Please sign in to comment.