-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
bugThis issue is a bug.This issue is a bug.p1package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI
Description
Describe the bug
After bootstrapping with --custom-permissions-boundary
option, it is not possible to remove the boundary attached to the CloudFormation execution role by bootstrapping again without --custom-permissions-boundary
option.
Though adding a boundary from nothing or switching to another boundary is working fine.
Expected Behavior
CloudFormation execution role is updated without a permissions boundary.
Current Behavior
CloudFormation execution role is not updated.
Reproduction Steps
- Bootstrap with permissions boundary.
cdk bootstrap --custom-permissions-boundary "my-boundary"
- Bootstrap again without permissions boundary.
cdk bootstrap -v
Console log says it is switching boundaries but the deployment is skipped after all.
- Even with
--force
option, role is not updated.
cdk bootstrap -v --force
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.61.1
Framework Version
No response
Node.js Version
18
OS
macOS Ventura
Language
Typescript
Language Version
No response
Other information
No response
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.p1package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI