colossal-vr-62639
09/26/2022, 12:48 PMpulumi stack init
on an existing stack, is there a way to ignore the fact that it already exists?
Use case: Looking at a way to create stacks on the fly without needing to do a lookup of sorts before issuing an init
.chilly-analyst-14900
09/26/2022, 12:59 PMpulumi stack ls | grep somestackname
as an alternative..- name: Create new pr stack
run: |
pulumi stack init --non-interactive --logtostderr "${{ env.STACK_NAME }}"
working-directory: ./infra
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
continue-on-error: true # init fails if exists
colossal-vr-62639
09/26/2022, 1:08 PMsparse-gold-10561
09/26/2022, 2:34 PMpulumi stack select
had a flag like --auto-create if it didn't exist