handsome-city-6906
05/12/2024, 8:42 PMPulumi.yaml
called name:test-setup
• I created a stack called test
and in the stack
• now I have added a secret using pulumi config set --secret cloudflare:apiToken <value>
• now when I try to run the pulumi up
I get following
Type Name Plan Info
+ pulumi:pulumi:Stack test-setup-test create 2 errors
Diagnostics:
pulumi:pulumi:Stack (test-setup-test):
error: Missing required configuration variable 'test-setup:cloudflare:apiToken'
please set a value using the command `pulumi config set --secret test-setup:cloudflare:apiToken <value>`
error: an unhandled error occurred: program exited with non-zero exit code: 1
kind of stuck here, what am I missing? any thoughts ?little-cartoon-10569
05/12/2024, 10:41 PMpulumi config set --secret cloudflare:apiToken <value>
but the error message says you need to use the command pulumi config set --secret test-setup:cloudflare:apiToken <value>
Have a look in your stack yaml file, then run that command and look again. Note the difference.limited-rainbow-51650
05/13/2024, 6:03 AMcloudflare.Provider
object yourself and whether you are passing the config in the code?handsome-city-6906
05/15/2024, 7:50 PM