Skip to content

Commit

Permalink
Fix AWS-specific Name tag
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomationD committed Jun 27, 2024
1 parent b728fbc commit 5e325bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ resource "aws_security_group" "this" {
}

tags = merge({
name = "${var.env}-bastion"
Name = "${var.env}-bastion"
}, var.tags)
}

Expand All @@ -34,6 +34,6 @@ resource "aws_instance" "this" {
subnet_id = var.private_subnets[0]
associate_public_ip_address = false
tags = merge({
name = "${var.env}-bastion"
Name = "${var.env}-bastion"
}, var.tags)
}

0 comments on commit 5e325bc

Please sign in to comment.