cloudera-labs / cloudera.exe

cloudera.exe -- an Ansible collection enabling runlevel management of CDP Public Cloud deployments as well as numerous utilities for deployments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure region check not picking up the region defined in infra_region

asdaraujo opened this issue · comments

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

TASK [cloudera.exe.infrastructure : Check Azure Region - westeurope]

The verify task -

- name: Check Azure Region - {{ common__azure_region }}
ansible.builtin.assert:
that:
- "common__azure_region is match(regex1)"
fail_msg: "Azure region value 'common__azure_region' with value '{{ common__azure_region }}' is not valid, it is typically lowercase letters and numbers with no spaces. Consider running 'az account list-locations -o table' in Azure CLI for a current listing."
quiet: yes
vars:
regex1: '^([a-z0-9]+)$'
- uses the incorrect parameter. It should be using infra__region