sparse-intern-71089
12/14/2020, 9:14 PMlittle-cartoon-10569
12/14/2020, 9:16 PMpulumi.RunError work better?loud-battery-37784
12/14/2020, 9:16 PMloud-battery-37784
12/14/2020, 9:16 PMloud-battery-37784
12/14/2020, 9:26 PMDiagnostics:
pulumi:pulumi:Stack (auth-service-auth-service.development):
error: Image version is not present!
Outputs:
- dbConnectionString : "[secret]"
- debugDBConnectionString: "[secret]"loud-battery-37784
12/14/2020, 9:28 PMthrow new pulumi.RunError() just doing a new pulumi.RunError() shows that things are succeeding and doesn’t exit the uplittle-cartoon-10569
12/14/2020, 9:47 PMlittle-cartoon-10569
12/14/2020, 9:49 PMlittle-cartoon-10569
12/14/2020, 9:49 PMloud-battery-37784
12/14/2020, 10:13 PMpulumi up --refresh --skip-preview --non-interactive --yes. The IMAGE_VERSION comes from a k8s Deployment so we set that in the ENV. If it isn’t present the up should fail but didn’t want to outputs to be deleted. I guess I should rethink the architecture of this. Probably better to check in the script that runs the up for the variable and put the control flow there instead of in the Pulumi code. Haven’t played around with the automation-api yet but that’s definitely on the list of things to do during our tooling upgrades.