mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 07:24:00 -07:00
[PR #10424/658af61e backport][stable-11] scaleway: update zone list (#10582)
scaleway: update zone list (#10424)
* changelog fragment
* add new zones
* add new zones to choices for instance resources
* add new zones to doc in inventory plugin
* Apply suggestions from code review
* Update changelogs/fragments/10424-scaleway-update-zones.yml
---------
(cherry picked from commit 658af61e17
)
Co-authored-by: Mia-Cross <lmarabese@scaleway.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
e1017afe4a
commit
cdaf6d9493
17 changed files with 118 additions and 1 deletions
|
@ -353,11 +353,18 @@ SCALEWAY_LOCATION = {
|
|||
'api_endpoint_vpc': 'https://api.scaleway.com/vpc/v1/zones/fr-par-2'
|
||||
},
|
||||
|
||||
'par3': {
|
||||
'name': 'Paris 3',
|
||||
'country': 'FR',
|
||||
'api_endpoint': 'https://api.scaleway.com/instance/v1/zones/fr-par-3',
|
||||
'api_endpoint_vpc': 'https://api.scaleway.com/vpc/v1/zones/fr-par-3'
|
||||
},
|
||||
|
||||
'ams1': {
|
||||
'name': 'Amsterdam 1',
|
||||
'country': 'NL',
|
||||
'api_endpoint': 'https://api.scaleway.com/instance/v1/zones/nl-ams-1',
|
||||
'api_endpoint_vpc': 'https://api.scaleway.com/vpc/v1/zones/nl-ams-10'
|
||||
'api_endpoint_vpc': 'https://api.scaleway.com/vpc/v1/zones/nl-ams-1'
|
||||
},
|
||||
|
||||
'EMEA-NL-EVS': {
|
||||
|
@ -367,6 +374,20 @@ SCALEWAY_LOCATION = {
|
|||
'api_endpoint_vpc': 'https://api.scaleway.com/vpc/v1/zones/nl-ams-1'
|
||||
},
|
||||
|
||||
'ams2': {
|
||||
'name': 'Amsterdam 2',
|
||||
'country': 'NL',
|
||||
'api_endpoint': 'https://api.scaleway.com/instance/v1/zones/nl-ams-2',
|
||||
'api_endpoint_vpc': 'https://api.scaleway.com/vpc/v1/zones/nl-ams-2'
|
||||
},
|
||||
|
||||
'ams3': {
|
||||
'name': 'Amsterdam 3',
|
||||
'country': 'NL',
|
||||
'api_endpoint': 'https://api.scaleway.com/instance/v1/zones/nl-ams-3',
|
||||
'api_endpoint_vpc': 'https://api.scaleway.com/vpc/v1/zones/nl-ams-3'
|
||||
},
|
||||
|
||||
'waw1': {
|
||||
'name': 'Warsaw 1',
|
||||
'country': 'PL',
|
||||
|
@ -380,6 +401,20 @@ SCALEWAY_LOCATION = {
|
|||
'api_endpoint': 'https://api.scaleway.com/instance/v1/zones/pl-waw-1',
|
||||
'api_endpoint_vpc': 'https://api.scaleway.com/vpc/v1/zones/pl-waw-1'
|
||||
},
|
||||
|
||||
'waw2': {
|
||||
'name': 'Warsaw 2',
|
||||
'country': 'PL',
|
||||
'api_endpoint': 'https://api.scaleway.com/instance/v1/zones/pl-waw-2',
|
||||
'api_endpoint_vpc': 'https://api.scaleway.com/vpc/v1/zones/pl-waw-2'
|
||||
},
|
||||
|
||||
'waw3': {
|
||||
'name': 'Warsaw 3',
|
||||
'country': 'PL',
|
||||
'api_endpoint': 'https://api.scaleway.com/instance/v1/zones/pl-waw-3',
|
||||
'api_endpoint_vpc': 'https://api.scaleway.com/vpc/v1/zones/pl-waw-3'
|
||||
},
|
||||
}
|
||||
|
||||
SCALEWAY_ENDPOINT = "https://api.scaleway.com"
|
||||
|
@ -393,6 +428,11 @@ SCALEWAY_REGIONS = [
|
|||
SCALEWAY_ZONES = [
|
||||
"fr-par-1",
|
||||
"fr-par-2",
|
||||
"fr-par-3",
|
||||
"nl-ams-1",
|
||||
"nl-ams-2",
|
||||
"nl-ams-3",
|
||||
"pl-waw-1",
|
||||
"pl-waw-2",
|
||||
"pl-waw-3",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue