Hi All,
Its been a while since I asked a question here.
I am trying to write to this config map in Pulumi here: https://github.com/pulumi/pulumi/blob/sdk/v3.105.0/sdk/go/auto/workspace.go#L170
What I have tried to do is this:
"aws:profile:": "value",
"aws:region:": "us-east-2",
}
Yet when the program runs as I use this Pulumi Function to import my config into the runnnig program: SetAllConfig Link to function: https://github.com/pulumi/pulumi/blob/sdk/v3.105.0/sdk/go/auto/stack.go#L731
projectStack.SetAllConfig(ctx, configval)
I get this error:
.\main.go:29:19: cannot use "value" (untyped string constant) as auto.ConfigValue value in map literal
.\main.go:30:19: cannot use "us-east-2" (untyped string constant) as auto.ConfigValue value in map literal
.\main.go:36:33: cannot use configval (variable of type *auto.ConfigMap) as auto.ConfigMap value in argument to projectStack.SetAllConfig
Can anyone tell me what I am doing wrong here, please? 🙂
GitHub
Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages 🚀 - pulumi/pulumi