I want to deploy Vault in HA mode on GCP. My current setup I use below GitHub repo. It quite shortened my work. I use INTERNAL load balancing.
How can i use same Terraform repo but deploy VMs in 2 regions and it is accessible only privately? can I make it with INTERNAL load balancing?
here is my typical module configuration.
module "vault" {
source = "terraform-google-modules/vault/google"
project_id = var.project_id
region = var.region
kms_keyring = var.kms_keyring
kms_crypto_key = var.kms_crypto_key
vault_machine_type = var.machine_type
vault_max_num_servers = var.vault_max_num_servers
vault_min_num_servers = var.vault_min_num_servers
vault_version = var.vault_version
vault_instance_base_image = var.vault_instance_base_image
vault_allowed_cidrs = [ "X.X.X.X/32" ] # vpn-public-ip
load_balancing_scheme = "INTERNAL"
}
it is currently deploys the vms on the same region different AZs. I want 1 VM in one region, the other in another region.