Skip to content

Why so many IAM Statement Changes? #115

Answered by mrgrain
moltar asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the kind words @moltar I'm glad this package is useful to you!

The IAM Statement Changes are expected, unfortunately the details CDK provides aren't super helpful. If you look at the Principal you can see that it references a Custom::CDKBucketDeploymentXYZ/ServiceRole. That's the role the custom Cloudformation resource uses to access the uploaded Assets.

When you run cdk deploy, your TypeScriptSource gets uploaded to the CDK bucket (as created during cdk bootstrap) as a ZIP file. CFN then updates a parameter to reference this newly uploaded asset. @aws-cdk/aws-s3-deployment module is implemented as a custom resource which will download that ZIP file and upload the files to the …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mrgrain
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #94 on October 18, 2021 23:38.