Skip to content

Commit

Permalink
add a hyphen to ecs policy name
Browse files Browse the repository at this point in the history
  • Loading branch information
Tian-2017 authored Nov 20, 2024
1 parent d42054d commit 579c737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/modules/department/50-aws-iam-policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ data "aws_iam_policy_document" "ecs_department_policy" {
}

resource "aws_iam_policy" "department_ecs_policy" {
name = lower("${var.identifier_prefix}${local.department_identifier}-ecs-base-policy")
name = lower("${var.identifier_prefix}-${local.department_identifier}-ecs-base-policy")
policy = data.aws_iam_policy_document.ecs_department_policy.json
tags = var.tags
}
Expand Down

0 comments on commit 579c737

Please sign in to comment.