» ovh_publiccloud_regions

DEPRECATED use ovh_cloud_regions instead.

Use this data source to get the regions of a public cloud project.

» Example Usage

data "ovh_publiccloud_regions" "regions" {
  project_id = "XXXXXX"
}

» Argument Reference

  • project_id - (Required) The id of the public cloud project. If omitted, the OVH_PROJECT_ID environment variable is used.

» Attributes Reference

id is set to the ID of the project. In addition, the following attributes are exported:

  • names - The list of regions associated with the project