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 8b5875c commit 00ab481Copy full SHA for 00ab481
packages/cdk/resources/RuntimePolicies.ts
@@ -132,6 +132,15 @@ export class RuntimePolicies extends Construct {
132
"kms:GenerateDataKey*",
133
"kms:DescribeKey"
134
],
135
+ resources: [
136
+ `arn:aws:cloudformation:eu-west-2:${props.account}:stack/epsam-pr-*`
137
+ ]
138
+ })
139
+
140
+ const slackBotDescribeCfStacks = new PolicyStatement({
141
+ actions: [
142
+ "cloudformation:DescribeStacks"
143
+ ],
144
resources: [props.slackBotStateTableKmsKeyArn]
145
})
146
@@ -145,7 +154,8 @@ export class RuntimePolicies extends Construct {
154
slackBotLambdaPolicy,
155
slackBotGuardrailPolicy,
147
156
slackBotDynamoDbPolicy,
148
- slackBotKmsPolicy
157
+ slackBotKmsPolicy,
158
+ slackBotDescribeCfStacks
149
159
]
150
160
151
161
0 commit comments