sparse-tomato-5980
07/15/2021, 7:27 PMpulumi config --config-file ./Pulumi.testing.yaml get --path artifacts.analyzer_dispatcher
error: configuration key 'artifacts.analyzer_dispatcher' not found for stack 'jun10'
the question: why is it looking at my currently-selected stack jun10
and not the config file I specified?
according to the man page:
--config-file string Use the configuration values in the specified file rather than detecting the file name
bored-oyster-3147
07/15/2021, 7:38 PM--config-file
flag after the get
command?pulumi config get <key> [flags]
billowy-army-68599
07/15/2021, 7:40 PM--config-file
refers to your Pulumi.yaml
file (ie, the one you use to specify your runtime, name etc)
if you want to specify a specific stack file, use -s
sparse-tomato-5980
07/15/2021, 7:43 PMbillowy-army-68599
07/15/2021, 7:44 PMsparse-tomato-5980
07/15/2021, 7:45 PM