From e10617e8fdbcd553688cd529ef27e24e68e85321 Mon Sep 17 00:00:00 2001 From: Gus Narea Date: Sun, 29 Oct 2023 17:19:37 +0000 Subject: [PATCH] Create temp `frankfurt2` workspace --- tf-workspace/environments.tf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tf-workspace/environments.tf b/tf-workspace/environments.tf index 0e55cb3a..08efde63 100644 --- a/tf-workspace/environments.tf +++ b/tf-workspace/environments.tf @@ -14,8 +14,25 @@ module "env_frankfurt" { depends_on = [google_project_service.iam] } +module "env_frankfurt2" { + source = "../tf-modules/environment_workspace" + + name = "frankfurt2" + + gcp_parent_folder = var.gcp_parent_folder + gcp_billing_account = var.gcp_billing_account + + mongodb_atlas_org_id = var.mongodb_atlas_org_id + env_mongodb_atlas_public_key = var.env_mongodb_atlas_public_key + env_mongodb_atlas_private_key = var.env_mongodb_atlas_private_key + shared_infra_gcp_project_id = data.google_project.main.project_id + + depends_on = [google_project_service.iam] +} + locals { env_workspace_ids = [ module.env_frankfurt.tfe_workspace_id, + module.env_frankfurt2.tfe_workspace_id, ] }