-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(pipelines/bootstrap): add Permission Boundary to bootstrap resources #12207
Copy link
Copy link
Open
Labels
@aws-cdk/pipelinesCDK Pipelines libraryCDK Pipelines libraryeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
The cdk bootstrap command will be able to be invoked as follows:
$ cdk bootstrap --permissions-boundary=arn:aws:iam::account-id:policy/policy-name-with-path
This sets the CloudFormation Execution Role up to enforce its use.
When users add:
{
"context": {
"@aws-cdk/core.permissionsBoundary": "arn:aws:iam::account-id:policy/policy-name-with-path"
}
}
To their cdk.json, all Roles in all stacks will be provisioned with that permission boundary automatically.
This is a 🚀 Feature Request
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/pipelinesCDK Pipelines libraryCDK Pipelines libraryeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2