Hi,
I am using PowerShell script to set the value of a variable after the a steps is completed. I get the value from a ARM template output. The process works fine for the Test and Stage Octopus environment but for our Production environment the variable is not found so the value is not set. The problem is the same if I create another Octopus environment and set the scope of the variable.
I use the Octopus API to find the variable that should be set and as I said it works fine for test and stage environments.
I have used Postman to test the result from the API and I can confirm that the variable is not found
I am using the API below (https://demo.octopus.com/swaggerui/index.html) where I use the variable set Id.
https://octopus.spcs.visma.net/api/variables/variableset-Projects-921
I am thinking that it might exist a configuration in Octopus where I can define access to varoables per environment. Like view, read and write privileges.
I hope you can help me to figure out the problem