1

I am new to Octopus Deploy.

In my .net core applicaton appsettings.json, i have the following variable:

{
"protectedResourceMap": []
}

I have a Octopus variable definition for this variable and values is like. Other variables exists which is used here.

["#{ApiPath}"]

But the final output i am getting is an empty array:

{
"protectedResourceMap": [],
}

Can anyone help me with this?

Thanks

1 Answer 1

3

What's the name of your variable? Is it "protectedResourceMap"?

Is "protectedResourceMap" in the root of your appsettings.json?

Did you enable the JSON Configuration Variables feature in your deployment step and provide the path to the file?

Enabled features

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.