Skip to content

Commit 9181fb0

Browse files
committed
added name prefix for allow assume role
1 parent 9353a0d commit 9181fb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iam-ssm.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ data "aws_iam_policy_document" "truefoundry_assume_role_all" {
3939

4040
resource "aws_iam_policy" "truefoundry_assume_role_all" {
4141
count = var.truefoundry_iam_role_enabled ? 1 : 0
42-
name_prefix = "truefoundry-allow-assume-role-all"
42+
name_prefix = "${local.svcfoundry_unique_name}-truefoundry-allow-assume-role-all"
4343
description = "Allow access to assume role for ${local.svcfoundry_unique_name} and ${local.mlfoundry_unique_name} in ${var.cluster_name}"
4444
policy = data.aws_iam_policy_document.truefoundry_assume_role_all.json
4545
tags = local.tags

0 commit comments

Comments
 (0)