(bootstrap): Use Bootstrap w/o creating AWS IAM Roles
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
### Describe the feature
I would like to be able to use the AWS CDK but don't want to use a Stack Role to do the deployments (otherwise using `iam:PassRole` when creating a cloudformation stack during bootstrap). This is a privilege escalation pathway for humans and deployment roles who have update stack permissions.
### Use Case
I would like to either avoid bootstrapping an account or get the account to bootstrap without IAM resources/permissions.
### Proposed Solution
Make it easy to use only the permissions assumed by the principal executing `cdk deploy...`
### Other Information
_No response_
### Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### CDK version used
2.89.0 (build 2ad6683)
### Environment details (OS name and version, etc.)
macOs
Contributor guide
Research direction
The issue names no files or tests. Start by tracing the AWS CDK bootstrap and cdk deploy flow, focusing on the IAM and CloudFormation permissions involved; done means deployments can use only the executing principal's permissions without creating IAM resources or requiring iam:PassRole.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- authorization, cloud, infrastructure, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100