Skip to content

Commit 6ce6f5c

Browse files
Use region code instead of name to deploy in non-default Vultr region. (#14713)
1 parent a4a9d6d commit 6ce6f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/cloud-vultr/tasks/prompts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@
5454
set_fact:
5555
algo_vultr_region: >-
5656
{% if region is defined %}{{ region }}
57-
{%- elif _algo_region.user_input %}{{ vultr_regions[_algo_region.user_input | int -1 ]['name'] | lower }}
57+
{%- elif _algo_region.user_input %}{{ vultr_regions[_algo_region.user_input | int -1 ]['regioncode'] | lower }}
5858
{%- else %}{{ vultr_regions[default_region | int - 1]['regioncode'] | lower }}{% endif %}

0 commit comments

Comments
 (0)