https://pulumi.com logo
Title
s

salmon-zoo-99782

07/27/2021, 6:36 PM
What is the format for
pulumi up --config stringArray
? I am trying to run
pulumi up --config 'ami=ami-123, instance_type=t2.micro'
but a subsequent
pulumi config
reveals
ami=ami-123, instance_type=t2.micro
. What is the delimeter for doing multiple key/value pairs when passing in a config stringArray?
f

faint-byte-37458

07/27/2021, 7:58 PM
Maybe you need to use a shared credentials file and/or profiles for that? https://www.pulumi.com/docs/intro/cloud-providers/aws/setup/#shared-credentials-file
p

prehistoric-activity-61023

07/27/2021, 9:12 PM
You should be able to simply edit stack YAML file in order to change some config values. If you want to store some complex values and you insist on using
pulumi config
command, you’ll probably have to add
--path
option, see: https://www.pulumi.com/docs/intro/concepts/config/#structured-configuration
c

clever-grass-21248

07/28/2021, 8:54 AM
@salmon-zoo-99782
pulumi up --config ami=ami-123 --config instance_type=t2.micro