google_vmwareengine_private_cloud

Represents a private cloud resource. Private clouds are zonal resources.

To get more information about PrivateCloud, see:

Example Usage - Vmware Engine Private Cloud Basic

resource "google_vmwareengine_private_cloud" "vmw-engine-pc" {
  location    = "us-west1-a"
  name        = "sample-pc"
  description = "Sample test PC."
  network_config {
    management_cidr       = "192.168.30.0/24"
    vmware_engine_network = google_vmwareengine_network.pc-nw.id
  }

  management_cluster {
    cluster_id = "sample-mgmt-cluster"
    node_type_configs {
      node_type_id = "standard-72"
      node_count   = 3
    }
  }
}

resource "google_vmwareengine_network" "pc-nw" {
  name        = "pc-nw"
  location    = "global"
  type        = "STANDARD"
  description = "PC network description."
}

Example Usage - Vmware Engine Private Cloud Full

resource "google_vmwareengine_private_cloud" "vmw-engine-pc" {
  location    = "us-west1-a"
  name        = "sample-pc"
  description = "Sample test PC."
  type        = "TIME_LIMITED"
  network_config {
    management_cidr       = "192.168.30.0/24"
    vmware_engine_network = google_vmwareengine_network.pc-nw.id
  }

  management_cluster {
    cluster_id = "sample-mgmt-cluster"
    node_type_configs {
      node_type_id = "standard-72"
      node_count   = 1
      custom_core_count = 32
    }
  }
}

resource "google_vmwareengine_network" "pc-nw" {
  name        = "pc-nw"
  location    = "global"
  type        = "STANDARD"
  description = "PC network description."
}

Argument Reference

The following arguments are supported:

The network_config block supports:

The management_cluster block supports:

The node_type_configs block supports:

The stretched_cluster_config block supports:


Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

The hcx block contains:

The nsx block contains:

The vcenter block contains:

Timeouts

This resource provides the following Timeouts configuration options:

Import

PrivateCloud can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import PrivateCloud using one of the formats above. For example:

import {
  id = "projects/{{project}}/locations/{{location}}/privateClouds/{{name}}"
  to = google_vmwareengine_private_cloud.default
}

When using the terraform import command, PrivateCloud can be imported using one of the formats above. For example:

$ terraform import google_vmwareengine_private_cloud.default projects/{{project}}/locations/{{location}}/privateClouds/{{name}}
$ terraform import google_vmwareengine_private_cloud.default {{project}}/{{location}}/{{name}}
$ terraform import google_vmwareengine_private_cloud.default {{location}}/{{name}}

User Project Overrides

This resource supports User Project Overrides.