Is it possible to set Pulumi config variables via ...
# general
i
Is it possible to set Pulumi config variables via the command line tool? sort of like how the -var option is used in terraform
t
pulumi config set name value
i
thanks, was hoping there was a way to do it with say the pulumi up command but doesn’t seem like it
w
Curious - what is the reason you are wanting to set config with Pulumi up but not another command?
i
mainly around automation and doing it within a single command
w
Note that there is are
--config
and
--config-file
flags to
pulumi up
. They have the same affect as running
pulumi config
and then
pulumi up
.
i
nice, that's exactly what I was looking for