app-staging-synthesizer: cross-account support #26634
Labels
@aws-cdk/app-staging-synthesizer-alpha
Related to the @aws-cdk/app-staging-synthesizer-alpha package
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p3
Describe the feature
I do not see an option to add a trust relationship to the roles created by the new app-staging-synthsizer.
But they are required to provide a similar experience as the current default bootstrap for cross-account deployments.
Use Case
We have three accounts: dev, prod and one for the pipeline
Proposed Solution
I think adding an array of trusted accounts to
aws-cdk/packages/@aws-cdk/app-staging-synthesizer-alpha/lib/default-staging-stack.ts
Line 45 in a35fcc5
IPrincipal[]
could be used.Then adding a
CompositePrincipal
with the account and the added trusted accounts should be enough.Other Information
No response
Acknowledgements
CDK version used
Environment details (OS name and version, etc.)
The text was updated successfully, but these errors were encountered: