Say I have an octopus variable that has a list of items in it. For example, the variable is called
ContainerEnvironmentVariables and it has the following key values pairs in it:
Environment: Dev LoggerService: https://myloggerservice.com DbConnectionString: myDbConnectionString
I have a spot in my yaml that I insert this string. It looks like this:
Unfortunately, after the variable substitution it looks like this:
env: Environment: Dev LoggerService: https://myloggerservice.com DbConnectionString: myDbConnectionString
The first one is correctly indented and the others are not. Yaml is whitespace sensitive, so I have to get the spaces in there.
Does the Octopus Deploy Template system support a “Preserve Indentation” kind of feature?