https://pulumi.com logo
#general
Title
# general
c

colossal-plastic-46140

11/21/2019, 2:06 PM
Good Morning. We are working on the CI pipeline for adding a pulumi preview check prior to merging a PR. It currently looks like when selecting --stack on the command line one is not able to do stack init automatically/ if the stack file is already committed to git? I was wondering if anyone had suggestions that work with a s3 backend
c

cool-egg-852

11/21/2019, 3:23 PM
In our pipeline we get a list of all of the stack files, then check the names against the list of actual stacks. If it doesn’t exist, we init the stack, and then run the preview
Can’t speak to the S3 backend, but this is the flow we do ourselves.