简体   繁体   中英

How to substitute array values for Octopus AWS Lambda functions

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 do.net core.

How are you replacing the variable value?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM