Skip to content

Commit 666c146

Browse files
committed
Add missing cloudformation:DescribeStacks policy
The policy requirement was added here 8166743 This fix commit 486a913 Signed-off-by: Luca Carrogu <[email protected]>
1 parent 1833134 commit 666c146

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/source/iam.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ IAM in CfnCluster
44
========================
55

66
.. warning::
7-
Between CfnCluster 1.5.3 and 1.6.0 we added a change to the `CfnClusterInstancePolicy` that adds “s3:GetObject” permissions on objects in <REGION>-cfncluster bucket and cloudformation:DescribeStacks" permissions on <REGION>:<ACCOUNT_NAME>:<STACK_NAME>
7+
Between CfnCluster 1.5.4 and 1.6.0 we added a change to the `CfnClusterInstancePolicy` that adds “s3:GetObject” permissions on objects in <REGION>-cfncluster bucket and cloudformation:DescribeStacks" permissions on <REGION>:<ACCOUNT_ID>:stack/<STACK_NAME>
88
If you're using a custom policy (e.g. you specify "ec2_iam_role" in your config) be sure it includes this new permission.
99

1010
Between CfnCluster 1.4.2 and 1.5.0 we added a change to the `CfnClusterInstancePolicy` that adds "ec2:DescribeVolumes" permissions. If you're using a custom policy (e.g. you specify "ec2_iam_role" in your config) be sure it includes this new permission.
@@ -107,6 +107,16 @@ CfnClusterInstancePolicy
107107
"Sid": "S3GetObj",
108108
"Effect": "Allow"
109109
},
110+
{
111+
"Resource": [
112+
"arn:aws:cloudformation:<REGION>:<AWS ACCOUNT ID>:stack/cfncluster-*"
113+
],
114+
"Action": [
115+
"cloudformation:DescribeStacks"
116+
],
117+
"Sid": "CloudFormationDescribe",
118+
"Effect": "Allow"
119+
},
110120
{
111121
"Resource": [
112122
"*"

0 commit comments

Comments
 (0)