Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

[Bug] Single subscription deployment lab failing due to empty $params #429

Open
pulakiitr opened this issue Nov 2, 2022 · 2 comments
Open

Comments

@pulakiitr
Copy link

pulakiitr commented Nov 2, 2022

deploy_platform.sh execution failing while Following Single subscription deployment lab https://aztfmod.github.io/documentation/docs/azure-landing-zones/landingzones/platform/single%20reuse/elsz-single-reuse

https://github.com/Azure/caf-terraform-landingzones/blob/main/templates/platform/deploy_platform.sh#L17

@pulakiitr
Copy link
Author

removed empty params line from deploy_platform.sh
now we are stuck in.

TASK [Process 1 deployment file root/region1] ***********************************************************************************************************************
ok: [localhost] => (item=launchpad)
ok: [localhost] => (item=launchpad_credentials)
ok: [localhost] => (item=subscriptions)
ok: [localhost] => (item=identity)
ok: [localhost] => (item=management)
ok: [localhost] => (item=asvm)
fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ROVER_AGENT_DOCKER_IMAGE' is undefined\n\nThe error appears to be in '/tf/caf/landingzones/templates/ansible/load_deployments.yaml': line 8, 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- name: \"Process 1 deployment file {{stage}}/{{region}}\"\n  ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes. Always quote template expression brackets when they\nstart a value. For instance:\n\n    with_items:\n      - {{ foo }}\n\nShould be written as:\n\n    with_items:\n      - \"{{ foo }}\"\n"}
 
PLAY RECAP **********************************************************************************************************************************************************
localhost                  : ok=19   changed=6    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0  

@pulakiitr pulakiitr changed the title Single subscription deployment lab failing due to empty $params [Bug] Single subscription deployment lab failing due to empty $params Nov 2, 2022
@saar810
Copy link

saar810 commented Nov 17, 2022

Hi,

Did you manage to resolve the issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants