If I create a Project Variable then the transform works but if I create a Project template Variable so the Azure Account is tenanted then the transform doesn’t run.
If I enable outputting variables I can see the correct variable is detected:
with Octostache returned the following error: The following tokens were unable to be evaluated: '#{AzureAccount.SubscriptionNumber}', '#{AzureAccount.Client}', '#{AzureAccount.Password}', '#{AzureAccount.TenantId}'
Thanks for getting in touch! I’m very sorry for the confusion this behavior has caused you. I’ve been able to reproduce this, and it surely doesn’t feel like the correct behavior. I’ve raised this as a bug to get this looked into further, and you can track its progress at the following link.
Don’t hesitate to reach out if you have any questions or concerns moving forward.
Thanks for the response. Its looks like the previous reports on the issue is over 2 years old. So I should accept that Octopus is not going to resolve this?
You’re quite welcome. That previous report I linked to in the issue looks like the exact same issue, but was misdiagnosed. While the issue seems to have been around since at least December of 2018, it looks like it wasn’t accurately reproduced and reported. This is an issue that we’d certainly like to fix up, but I couldn’t provide any ETA on when it’ll be addressed, unfortunately.
Please don’t hesitate to reach out if you have any further questions or concerns moving forward.