Replies: 8 comments
-
Hi Can you show me the message with |
Beta Was this translation helpful? Give feedback.
-
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@pahud any development on this? |
Beta Was this translation helpful? Give feedback.
-
Hi, are you running the CDK CLI in a container? Can you run $ mkdir empty
$ cdk empty
$ cdk bootstrap aws://xxxxx/us-east-1 --debug From what I can tell in your log:
And this seems your execution policy is missing |
Beta Was this translation helpful? Give feedback.
-
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Beta Was this translation helpful? Give feedback.
-
Yes, I have been running in AWS Codebuild. I can confirm the policy used for However, the role I assumed in the Codebuild (to generate sts tokens) is missing the I am confused now between Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi So this seems to be a required permission by the codebuild execution role, rather than the Please note you only need to run According to the doc:
So it's recommended to run And your issues seems to be the codebuild execution role missing required permissions, which is not related to You can always run I am moving this to discussion and if you still have any questions about codebuild, feel free to bring it up in the discussion. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Getting StagingBucket API: s3:PutLifecycleConfiguration Access Denied issue while
cdk bootstrap
despite having necessary permissionsExpected Behavior
cdk bootstrap should successfully create CDKToolkit stack in the account
Current Behavior
Fails with below error
Reproduction Steps
npx cdk bootstrap aws://XXXXXX/us-east-1
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.66.1
Framework Version
No response
Node.js Version
16
OS
Linux
Language
Typescript
Language Version
No response
Other information
No response
Beta Was this translation helpful? Give feedback.
All reactions