We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 102ac61 commit ec87c2aCopy full SHA for ec87c2a
terraform/modules/department/50-aws-iam-roles.tf
@@ -164,7 +164,7 @@ resource "aws_iam_role_policy" "grant_s3_access_to_ecs_role" {
164
}
165
166
resource "aws_iam_role_policy_attachment" "mtfh_access_attachment" {
167
- count = local.department_identifier == "data-and-insight" ? 1 : 0
+ count = contains(["data-and-insight", "housing"], local.department_identifier) ? 1 : 0
168
role = aws_iam_role.department_ecs_role.name
169
policy_arn = aws_iam_policy.mtfh_access_policy[0].arn
170
0 commit comments