Skip to content

[Feature]: Subregion validation based on API #463

@jfbus

Description

@jfbus

Explain problem to solve

Subregion validation is currently based on a regexp that allows a lot of non existing subregions.

Describe the solution you would like

As there is an API returning the list of available subregions, it should be used to validate subregions.

Additional context

Using a closed list of existing subregions would require upgrading the provider when a new region/subregion is added, which we want to avoid.

Environment

- Kubernetes version: (use `kubectl version`):
- OS (e.g. from `/etc/os-release`):
- Kernel (e.g. `uname -a`):
- cluster-api-provider-outscale version:
- cluster-api version:
- Install tools:
- Kubernetes Distribution:
- Kubernetes Diestribution version:

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions