Skip to content

Commit

Permalink
Create temp frankfurt2 workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Oct 29, 2023
1 parent 41cba35 commit e10617e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tf-workspace/environments.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]
}

0 comments on commit e10617e

Please sign in to comment.