Skip to content

Commit c8b4bdf

Browse files
committed
add the region to the CD user name to avoid confilct
1 parent 89f097e commit c8b4bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ locals {
1414
resource "aws_iam_user" "cd" {
1515
count = var.create_cd_user ? 1 : 0
1616

17-
name = "cd-${local.app_name_and_env}"
17+
name = "cd-${local.app_name_and_env}-${local.region}"
1818
}
1919

2020
resource "aws_iam_access_key" "cd" {

0 commit comments

Comments
 (0)