terraform/website/source/docs/providers/ovh/d/publiccloud_regions.html.ma...

728 B

layout page_title sidebar_current description
ovh OVH: publiccloud_regions docs-ovh-datasource-publiccloud-regions Get the list of regions associated with a public cloud project.

publiccloud_regions

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:

  • regions - The list of regions associated with the project