Corrected network reference and stage_config inside variables.tf (#3747)
Co-authored-by: Simone Ruffilli <sruffilli@google.com> Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
This commit is contained in:
@@ -179,9 +179,9 @@ terraform apply
|
|||||||
| [folder_ids](variables-fast.tf#L46) | Folders used by FAST stages in folders/nnnnnnnnnnn format. | <code>map(string)</code> | | <code>{}</code> | <code>0-org-setup</code> |
|
| [folder_ids](variables-fast.tf#L46) | Folders used by FAST stages in folders/nnnnnnnnnnn format. | <code>map(string)</code> | | <code>{}</code> | <code>0-org-setup</code> |
|
||||||
| [iam](variables.tf#L17) | Project-level authoritative IAM bindings for users and service accounts in {ROLE => [MEMBERS]} format. | <code>map(list(string))</code> | | <code>{}</code> | |
|
| [iam](variables.tf#L17) | Project-level authoritative IAM bindings for users and service accounts in {ROLE => [MEMBERS]} format. | <code>map(list(string))</code> | | <code>{}</code> | |
|
||||||
| [iam_by_principals](variables.tf#L24) | Authoritative IAM binding in {PRINCIPAL => [ROLES]} format. Principals need to be statically defined to avoid cycle errors. Merged internally with the `iam` variable. | <code>map(list(string))</code> | | <code>{}</code> | |
|
| [iam_by_principals](variables.tf#L24) | Authoritative IAM binding in {PRINCIPAL => [ROLES]} format. Principals need to be statically defined to avoid cycle errors. Merged internally with the `iam` variable. | <code>map(list(string))</code> | | <code>{}</code> | |
|
||||||
| [network_peerings](variables.tf#L31) | The network peerings between users' VPCs and the VMware Engine networks. Key is used for the peering name suffix. Network is expanded for FAST defined networks. | <code title="map(object({ peer_network = string configure_peer_network = optional(bool, false) description = optional(string, "Managed by Terraform.") peer_to_vmware_engine_network = optional(bool, false) routes_config = optional(object({ export = optional(bool, false) import = optional(bool, false) public_export = optional(bool, false) public_import = optional(bool, false) }), {}) }))">map(object({…}))</code> | | <code title="{ dev-spoke-0 = { peer_network = "dev-spoke-0" configure_peer_network = true } }">{…}</code> | |
|
| [network_peerings](variables.tf#L31) | The network peerings between users' VPCs and the VMware Engine networks. Key is used for the peering name suffix. Network is expanded for FAST defined networks. | <code title="map(object({ peer_network = string configure_peer_network = optional(bool, false) description = optional(string, "Managed by Terraform.") peer_to_vmware_engine_network = optional(bool, false) routes_config = optional(object({ export = optional(bool, false) import = optional(bool, false) public_export = optional(bool, false) public_import = optional(bool, false) }), {}) }))">map(object({…}))</code> | | <code title="{ dev-spoke-0 = { peer_network = "dev" configure_peer_network = true } }">{…}</code> | |
|
||||||
| [private_cloud_configs](variables.tf#L54) | The VMware private cloud configurations. Key is used for the private cloud name suffix. | <code title="map(object({ cidr = string zone = string additional_cluster_configs = optional(map(object({ custom_core_count = optional(number) node_count = optional(number, 3) node_type_id = optional(string, "standard-72") })), {}) management_cluster_config = optional(object({ custom_core_count = optional(number) name = optional(string, "mgmt-cluster") node_count = optional(number, 3) node_type_id = optional(string, "standard-72") }), {}) description = optional(string, "Managed by Terraform.") }))">map(object({…}))</code> | | <code>{}</code> | |
|
| [private_cloud_configs](variables.tf#L54) | The VMware private cloud configurations. Key is used for the private cloud name suffix. | <code title="map(object({ cidr = string zone = string additional_cluster_configs = optional(map(object({ custom_core_count = optional(number) node_count = optional(number, 3) node_type_id = optional(string, "standard-72") })), {}) management_cluster_config = optional(object({ custom_core_count = optional(number) name = optional(string, "mgmt-cluster") node_count = optional(number, 3) node_type_id = optional(string, "standard-72") }), {}) description = optional(string, "Managed by Terraform.") }))">map(object({…}))</code> | | <code>{}</code> | |
|
||||||
| [stage_config](variables.tf#L76) | FAST stage configuration used to find resource ids. Must match name defined for the stage in resource management. | <code title="object({ environment = string name = string })">object({…})</code> | | <code title="{ environment = "dev" name = "gcve-dev" }">{…}</code> | |
|
| [stage_config](variables.tf#L76) | FAST stage configuration used to find resource ids. Must match name defined for the stage in resource management. | <code title="object({ environment = string name = string })">object({…})</code> | | <code title="{ environment = "dev" name = "gcve/dev" }">{…}</code> | |
|
||||||
| [vpc_self_links](variables-fast.tf#L63) | FAST host VPC self links. | <code>map(string)</code> | | <code>{}</code> | <code>2-networking</code> |
|
| [vpc_self_links](variables-fast.tf#L63) | FAST host VPC self links. | <code>map(string)</code> | | <code>{}</code> | <code>2-networking</code> |
|
||||||
|
|
||||||
## Outputs
|
## Outputs
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ variable "network_peerings" {
|
|||||||
nullable = false
|
nullable = false
|
||||||
default = {
|
default = {
|
||||||
dev-spoke-0 = {
|
dev-spoke-0 = {
|
||||||
peer_network = "dev-spoke-0"
|
peer_network = "dev"
|
||||||
configure_peer_network = true
|
configure_peer_network = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -81,6 +81,6 @@ variable "stage_config" {
|
|||||||
})
|
})
|
||||||
default = {
|
default = {
|
||||||
environment = "dev"
|
environment = "dev"
|
||||||
name = "gcve-dev"
|
name = "gcve/dev"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ environments = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
folder_ids = {
|
folder_ids = {
|
||||||
gcve-dev = "folders/00000000000000"
|
"gcve/dev" = "folders/00000000000000"
|
||||||
}
|
}
|
||||||
|
|
||||||
organization = {
|
organization = {
|
||||||
@@ -35,7 +35,7 @@ private_cloud_configs = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
vpc_self_links = {
|
vpc_self_links = {
|
||||||
"dev-spoke-0" = "projects/em-prod-net-spoke-0/global/networks/prod-spoke-0",
|
"dev" = "projects/em-dev-net-spoke-0/global/networks/dev-spoke-0",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user