Hi there.,
I’m wondering if a variable can be removed between environments, so that is exists in one, but not the other?
For example
DEV/TEST/UAT
PROD
Hi there.,
I’m wondering if a variable can be removed between environments, so that is exists in one, but not the other?
For example
DEV/TEST/UAT
PROD
Hi Darryl,
Thanks for reaching out. The way to do this would be using a config transform file that runs only for the Prod environment. The below line should help you remove that key during the transformation:
Doc on how to use config transformation with Octopus: https://octopus.com/docs/deploying-applications/configuration-files#Configurationfiles-ConfigurationTransformationConfigurationtransforms
Hope that helps,
Dalmiro