mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-14 04:09:11 -07:00
location name (#40055)
This commit is contained in:
parent
57f6abdb84
commit
c84e3e70ab
2 changed files with 7 additions and 2 deletions
|
@ -176,6 +176,11 @@ def format_resource_id(val, subscription_id, namespace, types, resource_group):
|
|||
type=types,
|
||||
subscription=subscription_id) if not is_valid_resource_id(val) else val
|
||||
|
||||
|
||||
def normalize_location_name(name):
|
||||
return name.replace(' ', '').lower()
|
||||
|
||||
|
||||
# FUTURE: either get this from the requirements file (if we can be sure it's always available at runtime)
|
||||
# or generate the requirements files from this so we only have one source of truth to maintain...
|
||||
AZURE_PKG_VERSIONS = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue