» ovh_vrack_cloudproject

Attach an existing public cloud project to an existing VRack.

» Example Usage

resource "ovh_vrack_cloudproject" "attach" {
  vrack_id   = "12345"
  project_id = "67890"
}

» Argument Reference

The following arguments are supported:

  • vrack_id - (Required) The id of the vrack. If omitted, the OVH_VRACK_ID environment variable is used.

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

» Attributes Reference

The following attributes are exported:

» Notes

The vrack attachment isn't a proper resource with an ID. As such, the resource id will be forged from the vrack and project ids and there's no correct way to import the resource in terraform. When the resource is created by terraform, it first checks if the attachment already exists within OVH infrastructure; if it exists it set the resource id without modifying anything. Otherwise, it will try to attach the vrack with the public cloud project.