eager-flower-30096
09/25/2026, 7:42 AMterraform apply -var="image_tag=<new-tag>"
The image tag is therefore a deployment-time input rather than persistent environment configuration.
I’m trying to understand the idiomatic Pulumi equivalent. I know I can use stack configuration but pulumi up --config imageTag=... persists the value to the stack config, whereas I’d prefer not to persist something that changes on every deployment.
I could use an environment variable, but I’d prefer a more explicit input mechanism where a missing value produces a clear validation error.
Is there an idiomatic way in Pulumi to pass ephemeral/runtime inputs to pulumi up, similar to terraform apply -var, without persisting them as stack configuration?adamant-lawyer-19698
09/25/2026, 8:58 AMpulumi config set key=value
pulumi up
The point is that, when other engineers read the stack yaml, they know the stack requires that config, just as you mentioned.
Your code can have the config validation, too.stocky-restaurant-98004
09/25/2026, 6:51 PMconfig.requireX() methods to make the values required in your program.