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

Support operations on multiple stacks #60

Open
matthewmrichter opened this issue Jan 23, 2023 · 1 comment
Open

Support operations on multiple stacks #60

matthewmrichter opened this issue Jan 23, 2023 · 1 comment

Comments

@matthewmrichter
Copy link

I'd like to do a diff on a few different stacks but it is unnecessarily time consuming to run the diff (or any cdk action really) as multiple jobs, when cdk itself supports running multiple at once eg: cdk diff web api

It would be nice if the cdk_stack attribute would support multiple values. EG:

      - name: cdk diff
        uses: youyo/aws-cdk-github-actions@v2
        with:
          cdk_subcommand: "diff"
          cdk_stack:
            - web
            - api
@MPE02
Copy link

MPE02 commented Mar 17, 2023

I managed to deploy multiple stacks with the solution from #48.
In your example you just would need to change the cdk_stack line to:
cdk_stack: "@(web|api)"

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

2 participants