Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Support for Bootstrap command #18

Open
escarbor opened this issue Jul 3, 2020 · 2 comments
Open

Support for Bootstrap command #18

escarbor opened this issue Jul 3, 2020 · 2 comments

Comments

@escarbor
Copy link

escarbor commented Jul 3, 2020

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!

@jackchi
Copy link

jackchi commented Dec 9, 2020

The failure I get is:
No environments were found when selecting across ["*"]

@chardigio
Copy link

chardigio commented Sep 18, 2021

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>'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants