|
|
|
|
@@ -26,13 +26,13 @@ module "gcve-pc" {
|
|
|
|
|
source = "./fabric/modules/gcve-private-cloud"
|
|
|
|
|
name = "gcve-pc"
|
|
|
|
|
project_id = "gcve-test-project"
|
|
|
|
|
zone = "asia-southeast1-a"
|
|
|
|
|
management_cidr = "192.168.0.0/24"
|
|
|
|
|
zone = "europe-west8-a"
|
|
|
|
|
cidr = "192.168.0.0/24"
|
|
|
|
|
|
|
|
|
|
private_connections = {
|
|
|
|
|
transit-conn1 = {
|
|
|
|
|
name = "transit-conn1",
|
|
|
|
|
network_self_link = "projects/test-prj-elia-01/global/networks/default",
|
|
|
|
|
network_self_link = "projects/test-prj-gcve-01/global/networks/default",
|
|
|
|
|
peering_name = "servicenetworking-googleapis-com"
|
|
|
|
|
type = "PRIVATE_SERVICE_ACCESS",
|
|
|
|
|
routing_mode = "REGIONAL"
|
|
|
|
|
@@ -48,8 +48,8 @@ module "gcve-pc" {
|
|
|
|
|
source = "./fabric/modules/gcve-private-cloud"
|
|
|
|
|
name = "gcve-pc"
|
|
|
|
|
project_id = "gcve-test-project"
|
|
|
|
|
zone = "asia-southeast1-a"
|
|
|
|
|
management_cidr = "192.168.0.0/24"
|
|
|
|
|
zone = "europe-west8-a"
|
|
|
|
|
cidr = "192.168.0.0/24"
|
|
|
|
|
|
|
|
|
|
management_cluster_config = {
|
|
|
|
|
node_type_id = "standard-72"
|
|
|
|
|
@@ -60,7 +60,7 @@ module "gcve-pc" {
|
|
|
|
|
private_connections = {
|
|
|
|
|
transit-conn1 = {
|
|
|
|
|
name = "transit-conn1",
|
|
|
|
|
network_self_link = "projects/test-prj-elia-01/global/networks/default",
|
|
|
|
|
network_self_link = "projects/test-prj-gcve-01/global/networks/default",
|
|
|
|
|
peering_name = "servicenetworking-googleapis-com"
|
|
|
|
|
type = "PRIVATE_SERVICE_ACCESS",
|
|
|
|
|
routing_mode = "REGIONAL"
|
|
|
|
|
@@ -74,15 +74,15 @@ module "gcve-pc" {
|
|
|
|
|
|
|
|
|
|
| name | description | type | required | default |
|
|
|
|
|
|---|---|:---:|:---:|:---:|
|
|
|
|
|
| [management_cidr](variables.tf#L23) | vSphere/vSAN subnets CIDR range. To undersatnd the limits, please refer to [GCVE network requirements](https://cloud.google.com/vmware-engine/docs/quickstart-networking-requirements). | <code>string</code> | ✓ | |
|
|
|
|
|
| [name](variables.tf#L42) | Private cloud name. | <code>string</code> | ✓ | |
|
|
|
|
|
| [project_id](variables.tf#L74) | Project id. | <code>string</code> | ✓ | |
|
|
|
|
|
| [zone](variables.tf#L91) | Private cloud zone. | <code>string</code> | ✓ | |
|
|
|
|
|
| [cidr](variables.tf#L23) | vSphere/vSAN subnets CIDR range. To undersatnd the limits, please refer to [GCVE network requirements](https://cloud.google.com/vmware-engine/docs/quickstart-networking-requirements). | <code>string</code> | ✓ | |
|
|
|
|
|
| [name](variables.tf#L43) | Private cloud name. | <code>string</code> | ✓ | |
|
|
|
|
|
| [project_id](variables.tf#L76) | Project id. | <code>string</code> | ✓ | |
|
|
|
|
|
| [zone](variables.tf#L93) | Private cloud zone. | <code>string</code> | ✓ | |
|
|
|
|
|
| [description](variables.tf#L17) | Private cloud description. | <code>string</code> | | <code>"Terraform-managed."</code> |
|
|
|
|
|
| [management_cluster_config](variables.tf#L28) | Management cluster configuration. | <code title="object({ node_type_id = string node_count = number, custom_core_count = number })">object({…})</code> | | <code title="{ node_type_id = "standard-72", node_count = 3, custom_core_count = null }">{…}</code> |
|
|
|
|
|
| [private_connections](variables.tf#L47) | VMWare private connections configuration. It is used to create the gcloud command printed as output. | <code title="map(object({ name = string network_self_link = string peering_name = string description = optional(string, "Terraform-managed.") type = optional(string, "REGIONAL") routing_mode = optional(string, "PRIVATE_SERVICE_ACCESS") }))">map(object({…}))</code> | | <code>{}</code> |
|
|
|
|
|
| [vmw_network_create](variables.tf#L79) | Create the VMware Engine network. When set to false, it uses a data source to reference an existing VMware Engine network. | <code>bool</code> | | <code>true</code> |
|
|
|
|
|
| [vmw_network_description](variables.tf#L85) | VMware Engine network description. | <code>string</code> | | <code>"Terraform-managed."</code> |
|
|
|
|
|
| [private_connections](variables.tf#L48) | VMWare private connections configuration. It is used to create the gcloud command printed as output. | <code title="map(object({ name = string network_self_link = string peering_name = string description = optional(string, "Terraform-managed.") type = optional(string, "PRIVATE_SERVICE_ACCESS") routing_mode = optional(string, "REGIONAL") }))">map(object({…}))</code> | | <code>{}</code> |
|
|
|
|
|
| [vmw_network_create](variables.tf#L81) | Create the VMware Engine network. When set to false, it uses a data source to reference an existing VMware Engine network. | <code>bool</code> | | <code>true</code> |
|
|
|
|
|
| [vmw_network_description](variables.tf#L87) | VMware Engine network description. | <code>string</code> | | <code>"Terraform-managed."</code> |
|
|
|
|
|
|
|
|
|
|
## Outputs
|
|
|
|
|
|
|
|
|
|
@@ -94,7 +94,7 @@ module "gcve-pc" {
|
|
|
|
|
| [network_config](outputs.tf#L32) | Details about the network configuration of the private cloud | |
|
|
|
|
|
| [nsx](outputs.tf#L37) | Details about a NSX Manager appliance. | |
|
|
|
|
|
| [private-cloud](outputs.tf#L42) | The private cloud resource | |
|
|
|
|
|
| [private_connections_setup](outputs.tf#L57) | Cloud SDK commands for the private connections manual setup. | |
|
|
|
|
|
| [state](outputs.tf#L52) | Details about the state of the private cloud | |
|
|
|
|
|
| [vcenter](outputs.tf#L47) | Details about a vCenter Server management appliance. | |
|
|
|
|
|
| [private_connections_setup](outputs.tf#L47) | Cloud SDK commands for the private connections manual setup. | |
|
|
|
|
|
| [state](outputs.tf#L63) | Details about the state of the private cloud | |
|
|
|
|
|
| [vcenter](outputs.tf#L68) | Details about a vCenter Server management appliance. | |
|
|
|
|
|
<!-- END TFDOC -->
|
|
|
|
|
|