Open Drejmester opened 2 years ago
experiencing same issue
When running '/tf/caf/landingzones/templates/platform/deploy_platform.sh'
, be aware to not set any value as a list.
For example, this is wrong: [{'region1': 'australiaeast', 'region2': 'australiacentral'}]
and should be: {'region1': 'australiaeast', 'region2': 'australiacentral'}
(remove the brackets []
)
Describe the bug Only works with default values. Will not take variables when running '/tf/caf/landingzones/templates/platform/deploy_platform.sh' in step https://aztfmod.github.io/documentation/docs/azure-landing-zones/landingzones/platform/single%20reuse/elsz-single-reuse/#create-the-definition-template-on-your-work-environment
fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'list object' has no attribute 'items'\n\nThe error appears to be in '/tf/caf/landingzones/templates/ansible/walk-through.yaml': line 35, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- set_fact:\n ^ here\n"}
To Reproduce Steps to reproduce the behavior:
Expected behavior a new definition configuration of your environment
Screenshots If applicable, add screenshots to help explain your problem.
Configuration (please complete the following information):