mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 18:34:31 +00:00
57 lines
1.8 KiB
HCL
57 lines
1.8 KiB
HCL
module "cs-project-vpc-host-prod" {
|
|
source = "terraform-google-modules/project-factory/google"
|
|
version = "~> 18.0"
|
|
|
|
name = "vpc-host-prod"
|
|
project_id = "vpc-host-prod-eg083-ki711"
|
|
org_id = var.org_id
|
|
folder_id = local.folder_map["Common"].id
|
|
|
|
billing_account = var.billing_account
|
|
enable_shared_vpc_host_project = true
|
|
depends_on = [
|
|
module.cs-org-policy-iam_allowedPolicyMemberDomains,
|
|
module.cs-org-policy-iam_automaticIamGrantsForDefaultServiceAccounts,
|
|
module.cs-org-policy-compute_skipDefaultNetworkCreation,
|
|
]
|
|
}
|
|
|
|
module "cs-project-vpc-host-nonprod" {
|
|
source = "terraform-google-modules/project-factory/google"
|
|
version = "~> 18.0"
|
|
|
|
name = "vpc-host-nonprod"
|
|
project_id = "vpc-host-nonprod-jl609-uz203"
|
|
org_id = var.org_id
|
|
folder_id = local.folder_map["Common"].id
|
|
|
|
billing_account = var.billing_account
|
|
enable_shared_vpc_host_project = true
|
|
depends_on = [
|
|
module.cs-org-policy-iam_allowedPolicyMemberDomains,
|
|
module.cs-org-policy-iam_automaticIamGrantsForDefaultServiceAccounts,
|
|
module.cs-org-policy-compute_skipDefaultNetworkCreation,
|
|
]
|
|
}
|
|
|
|
module "cs-project-logging-monitoring" {
|
|
source = "terraform-google-modules/project-factory/google"
|
|
version = "~> 18.0"
|
|
|
|
name = "central-logging-monitoring"
|
|
project_id = "central-log-monitor-gx269-pw99"
|
|
org_id = var.org_id
|
|
folder_id = local.folder_map["Common"].id
|
|
|
|
billing_account = var.billing_account
|
|
depends_on = [
|
|
module.cs-org-policy-iam_allowedPolicyMemberDomains,
|
|
module.cs-org-policy-iam_automaticIamGrantsForDefaultServiceAccounts,
|
|
module.cs-org-policy-compute_skipDefaultNetworkCreation,
|
|
]
|
|
activate_apis = [
|
|
"compute.googleapis.com",
|
|
"monitoring.googleapis.com",
|
|
]
|
|
}
|