This Pull Request introduces improvement to the Terraform provider by adding a validation step for the locations attribute during the planning stage. This enhancement ensures that the locations values specified in Terraform configurations align with the available locations fetched from the API.
Key Changes:
Validation Against API Data: The provider now cross-references the planned locations values against the list of locations available from the API. This ensures that any locations specified in the Terraform plan is valid and supported by the underlying infrastructure.
Improved Error Handling: In cases where an invalid locations is specified, the provider throws a more informative error, guiding the user towards acceptable values.
This Pull Request introduces improvement to the Terraform provider by adding a validation step for the
locations
attribute during the planning stage. This enhancement ensures that thelocations
values specified in Terraform configurations align with the available locations fetched from the API.Key Changes:
locations
values against the list of locations available from the API. This ensures that anylocations
specified in the Terraform plan is valid and supported by the underlying infrastructure.locations
is specified, the provider throws a more informative error, guiding the user towards acceptable values.