Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #242 from Azure/vmwarecluster-sergio
Browse files Browse the repository at this point in the history
Adding vmware_clusters and vmware_private_cloud variables
  • Loading branch information
arnaudlh committed Aug 17, 2021
2 parents 9f67d9a + 7200bed commit 1abc4fe
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
2 changes: 2 additions & 0 deletions caf_solution/local.compute.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ locals {
proximity_placement_groups = var.proximity_placement_groups
virtual_machines = var.virtual_machines
virtual_machine_scale_sets = var.virtual_machine_scale_sets
vmware_private_clouds = var.vmware_private_clouds
vmware_clusters = var.vmware_clusters
wvd_applications = var.wvd_applications
wvd_application_groups = var.wvd_application_groups
wvd_host_pools = var.wvd_host_pools
Expand Down
8 changes: 7 additions & 1 deletion caf_solution/local.remote.tf
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,12 @@ locals {
vpn_gateway_connections = {
for key, value in try(var.landingzone.tfstates, {}) : key => merge(try(data.terraform_remote_state.remote[key].outputs.objects[key].vpn_gateway_connections, {}))
}
vmware_private_clouds = {
for key, value in try(var.landingzone.tfstates, {}) : key => merge(try(data.terraform_remote_state.remote[key].outputs.objects[key].vmware_private_clouds, {}))
}
vmware_clusters = {
for key, value in try(var.landingzone.tfstates, {}) : key => merge(try(data.terraform_remote_state.remote[key].outputs.objects[key].vmware_clusters, {}))
}
wvd_host_pools = {
for key, value in try(var.landingzone.tfstates, {}) : key => merge(try(data.terraform_remote_state.remote[key].outputs.objects[key].wvd_host_pools, {}))
}
Expand All @@ -194,4 +200,4 @@ locals {
for key, value in try(var.landingzone.tfstates, {}) : key => merge(try(data.terraform_remote_state.remote[key].outputs.objects[key].wvd_workspaces, {}))
}
}
}
}
8 changes: 7 additions & 1 deletion caf_solution/variables.compute.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ variable "virtual_machines" {
variable "virtual_machine_scale_sets" {
default = {}
}
variable "vmware_private_clouds" {
default = {}
}
variable "vmware_clusters" {
default = {}
}
variable "wvd_application_groups" {
default = {}
}
Expand All @@ -47,4 +53,4 @@ variable "wvd_host_pools" {
}
variable "wvd_workspaces" {
default = {}
}
}
1 change: 0 additions & 1 deletion caf_solution/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ variable "var_folder_path" {
variable "propagate_launchpad_identities" {
default = false
}

variable "random_strings" {
default = {}
}

0 comments on commit 1abc4fe

Please sign in to comment.