https://pulumi.com logo
#general
Title
# general
m

modern-army-59158

05/29/2019, 11:13 AM
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

tall-librarian-49374

05/29/2019, 1:22 PM
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

modern-army-59158

05/29/2019, 6:45 PM
it is working now, thanks!