(cli): add option of role to stackExists call #29495
Labels
cli
Issues related to the CDK CLI
feature-request
A feature should be added or improved.
p2
package/tools
Related to AWS CDK Tools or CLI
Describe the feature
The stackExists call always uses the deploy role. It may be best to allow configuration to use a different role.
Use Case
Least privilege.
Proposed Solution
Pass a role instead of undefined on this line:
aws-cdk/packages/aws-cdk/lib/api/deployments.ts
Line 433 in fac4a9c
Other Information
No response
Acknowledgements
CDK version used
2.132.0
Environment details (OS name and version, etc.)
Mac
The text was updated successfully, but these errors were encountered: