How to substitute array values for Octopus AWS Lambda functions

168 Views Asked by At

Consider the following

{
 "foo": [ "cat", "dog" ] 
}

I want to replace these values in Octopus with

{
 "foo": [ "wolf" ] 
}

How do I do it with Octopus? I can't replace with ["wolf"] in the value as I receive an error: Invalid JSON: Expecting ','.

I'm using dotnet core.

1

There are 1 best solutions below

0
ryan.rousseau On

How are you replacing the variable value?

This should be possible using Structured Configuration Variables with a variable named foo set to ["wolf"].