Hi there, I'm new at pulumi. At the momentan I'm u...
# general
m
Hi there, I'm new at pulumi. At the momentan I'm using pulumi with typescript on azure. I want to do create a configuration file, which include all my parameter values. What I did is, I created stack file for a test environment with some keys and values. All of them are strings. If I start pulumi with
pulumi config --config-file Pulumi.Test.yaml
to check my values, but the no keys or values are visible. My yaml file looks like: `encryptionsalt: ****** template: config: azureenvironment description: The Azure environment to use (
public
,
usgovernment
,
german
,
china
) default: public projectname default: TestProject projectlocation default: West Europe`
t
Hi! Welcome 🙂 It looks like you are using the format for template, not for the actual config file.
config
should be the top element, e.g.
Copy code
config:
  azure:environment: public
  project:name: TestProject
👍 1
It might be best to use CLI to set config values, e.g.
pulumi config set location "West Europe"
m
it is working now, thanks!