Skip to content

Commit 22ba5ed

Browse files
committed
fix: Make SG name unique per AZ
1 parent 5d53cc7 commit 22ba5ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security_group.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_security_group" "nat" {
2-
name = "Nat"
2+
name_prefix = "NatAz${title(substr(local.az, -1, -1))}"
33
description = "Rules for Nat instance"
44
vpc_id = local.vpc_id
55
tags = local.tags

0 commit comments

Comments
 (0)