sparse-intern-71089
11/17/2020, 11:43 AMwitty-candle-66007
11/17/2020, 1:58 PMpulumi stack init test-preview
And then switch to the deployment stack pulumi stack select real-stack
That said, this really isnât necessary since even in the case where there are existing resources, pulumi is processing the entire pulumi application to check for any changes.agreeable-ram-97887
11/17/2020, 5:07 PMwitty-candle-66007
11/17/2020, 5:52 PMpulumi preview
with out the cloud credentials in place, and it will throw a found syntax/usage error before trying to talk to AWS.
If the syntax/usage is fine, it will then still fail but with an âAWS Provider: no valid credentials sourcesâ type of error which you could detect and not get upset about.agreeable-ram-97887
11/17/2020, 6:37 PMpulumi preview
in bash and then, when the error is raised, somehow parsing the output to determine if it failed due to syntax/usage (which would then be caught) vs something else (which would be 'allowed'). I've personally never seen a bash script do something like this (although I am certainly not a bash-super-user đ
)witty-candle-66007
11/17/2020, 9:22 PMwitty-candle-66007
11/17/2020, 9:26 PMagreeable-ram-97887
11/18/2020, 11:04 AM