How should I set up structured configuration via t...
# automation-api
l
How should I set up structured configuration via the automation API? I have the following snippet in my code:
Copy code
stack.SetConfig(ctx, "osimis.orthanc:config.name", auto.ConfigValue{Value: customer})
	stack.SetConfig(ctx, "osimis.orthanc:config.domain", auto.ConfigValue{Value: fmt.Sprintf("<http://%s.orthanc.osimis.io|%s.orthanc.osimis.io>", customer)})
	stack.SetConfig(ctx, "osimis.orthanc:config.version", auto.ConfigValue{Value: version})
In my stack, I retrieve the settings via:
Copy code
const demoConfig = new pulumi.Config('osimis.orthanc').requireObject<orthanc.OrthancServiceConfig>('config')
But when running my automation program, I still have the error:
error: Missing required configuration variable 'osimis.orthanc:config'
https://www.pulumi.com/docs/intro/concepts/config/#structured-configuration