cloudera-labs / cloudera.exe

cloudera.exe -- an Ansible collection enabling runlevel management of CDP Public Cloud deployments as well as numerous utilities for deployments.
Apache License 2.0
11 stars 26 forks source link

Azure region check not picking up the region defined in infra_region #89

Open asdaraujo opened 2 years ago

asdaraujo commented 2 years ago

Regardless of the infra_region configured in the profile, an Azure deployment always show:

TASK [cloudera.exe.infrastructure : Check Azure Region - westeurope]
wmudge commented 2 years ago

The verify task - https://github.com/cloudera-labs/cloudera.exe/blob/2ee88021fe7e6d66f081632f785b82f7cdf209cd/roles/infrastructure/tasks/validate_azure.yml#L31-L38 - uses the incorrect parameter. It should be using infra__region