09/12/2022, 3:14 PM
In Go what are people using to get values from a config settings file (i.e
) to populate variables/values inside an inline program using the automation API?. Lets say I have the AWS region set on the config file. Then how can overwrite/populate the following values with the ones on the config file:
s.SetConfig(ctx, "aws:region", auto.ConfigValue{Value: "us-west-2"})
. Do I have to resort to use json parser ?.


09/12/2022, 3:50 PM
All automation API is doing is setting that config value in the config file. So if you already have the value in that file you should be good. If you want to change the value I think you just want “us-west-2” as a string instead of what you are doing with auto.ConfigValue
👍 1