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 d590dd6 commit c95313fCopy full SHA for c95313f
packages/cdk/resources/RuntimePolicies.ts
@@ -132,16 +132,16 @@ 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
- ]
+ resources: [props.slackBotStateTableKmsKeyArn]
138
})
139
140
const slackBotDescribeCfStacks = new PolicyStatement({
141
actions: [
142
"cloudformation:DescribeStacks"
143
144
- resources: [props.slackBotStateTableKmsKeyArn]
+ resources: [
+ `arn:aws:cloudformation:eu-west-2:${props.account}:stack/epsam-pr-*`
+ ]
145
146
147
this.slackBotPolicy = new ManagedPolicy(this, "SlackBotPolicy", {
0 commit comments