app-staging-synthesizer: asset roles should assume deploy roles when bootstrapped roles are used #27202
Labels
@aws-cdk/app-staging-synthesizer-alpha
Related to the @aws-cdk/app-staging-synthesizer-alpha package
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
Describe the bug
Creating the file role currently looks like this, and the problem is that everyone in the account can assume this file role, and write to that S3 bucket. If the deploy role is provided we can use that instead.
The workaround to this is to just supply your own file role in
this.providedFileRoles
Expected Behavior
n/a
Current Behavior
n/a
Reproduction Steps
n/a
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
latest
Framework Version
No response
Node.js Version
Node 18
OS
Mac
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: