projects prefix added

This commit is contained in:
Yoram Ben-Yaacov 2021-05-24 21:45:54 +03:00
parent 097e4da818
commit fd60b8328a
6 changed files with 11 additions and 1 deletions

View File

@ -20,6 +20,7 @@ module "datamart-project-creation" {
source = "github.com/terraform-google-modules/cloud-foundation-fabric//modules/project?ref=v4.2.0"
billing_account = var.billing_account
parent = var.parent
prefix = var.projects_prefix
name = join(
"-",

View File

@ -19,6 +19,7 @@ module "dwh-project-creation" {
source = "github.com/terraform-google-modules/cloud-foundation-fabric//modules/project?ref=v4.2.0"
billing_account = var.billing_account
parent = var.parent
prefix = var.projects_prefix
name = join(
"-",

View File

@ -19,6 +19,7 @@ module "landing-project-creation" {
source = "github.com/terraform-google-modules/cloud-foundation-fabric//modules/project?ref=v4.2.0"
billing_account = var.billing_account
parent = var.parent
prefix = var.projects_prefix
name = join(
"-",

View File

@ -19,6 +19,7 @@ module "services-project-creation" {
source = "github.com/terraform-google-modules/cloud-foundation-fabric//modules/project?ref=v4.2.0"
billing_account = var.billing_account
parent = var.parent
prefix = var.projects_prefix
name = join(
"-",

View File

@ -19,6 +19,7 @@ module "transformation-project-creation" {
source = "github.com/terraform-google-modules/cloud-foundation-fabric//modules/project?ref=v4.2.0"
billing_account = var.billing_account
parent = var.parent
prefix = var.projects_prefix
name = join(
"-",

View File

@ -22,9 +22,14 @@ variable "parent" {
type = string
}
variable "projects_prefix" {
description = "Prefix used to generate project id and name"
type = string
default = null
}
variable "projects_suffix" {
description = "Project suffix to make resources unique. If no suffix is provided a random suffix will be created"
type = string
default = null
}