Skip to content

Commit b3ae060

Browse files
SSPROD-60803 - Add iam:ListAccountAliases permission for account alias retrieval
1 parent 5fb4c54 commit b3ae060

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/onboarding/main.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ resource "aws_iam_role_policy" "onboarding_role_policy" {
6565
Action = [
6666
"account:Get*",
6767
"account:List*",
68+
"iam:ListAccountAliases",
6869
]
6970
Effect = "Allow"
7071
Resource = "*"
@@ -107,4 +108,9 @@ resource "sysdig_secure_cloud_auth_account" "cloud_auth_account" {
107108
feature
108109
]
109110
}
111+
112+
depends_on = [
113+
aws_iam_role_policy.onboarding_role_policy,
114+
aws_cloudformation_stack_set_instance.stackset_instance
115+
]
110116
}

0 commit comments

Comments
 (0)