aws-cdk-github-actions
aws-cdk-github-actions copied to clipboard
Support for Bootstrap command
Are there any plans in supporting the cdk bootstrap command? Unlike most of the cdk cli commands, bootstrap expects an Environment as its argument rather than a Stack. Since this Action defaults by appending a * to the end of each command with the cdk_stack arg, it causes the execution to fail. Docs
Thanks!
The failure I get is:
No environments were found when selecting across ["*"]
I think I found a workaround for now:
- name: cdk bootstrap
uses: youyo/aws-cdk-github-actions@v2
with:
cdk_subcommand: 'bootstrap'
cdk_stack: 'aws://<account id>/<region>'