Skip to content

Commit

Permalink
var.role_tags can override Name tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er committed Aug 27, 2022
1 parent 5467ffe commit a81344a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resource "aws_iam_role" "eventbridge" {
permissions_boundary = var.role_permissions_boundary
assume_role_policy = data.aws_iam_policy_document.assume_role[0].json

tags = merge(var.tags, var.role_tags, { Name = local.role_name })
tags = merge(var.tags, { Name = local.role_name }, var.role_tags)
}

#####################
Expand Down

0 comments on commit a81344a

Please sign in to comment.