Add descriptive name as optional argument
This commit is contained in:
parent
feffdf10b5
commit
f2b61b1e31
|
@ -180,6 +180,7 @@ module "project" {
|
||||||
source = "../../../modules/project"
|
source = "../../../modules/project"
|
||||||
billing_account = local.billing_account_id
|
billing_account = local.billing_account_id
|
||||||
name = var.project_id
|
name = var.project_id
|
||||||
|
descriptive_name = var.descriptive_name
|
||||||
prefix = var.prefix
|
prefix = var.prefix
|
||||||
contacts = { for c in local.essential_contacts : c => ["ALL"] }
|
contacts = { for c in local.essential_contacts : c => ["ALL"] }
|
||||||
iam = local.iam
|
iam = local.iam
|
||||||
|
|
|
@ -162,6 +162,12 @@ variable "project_id" {
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "descriptive_name" {
|
||||||
|
description = "Name of the project name. Used for project name instead of `name` variable."
|
||||||
|
type = string
|
||||||
|
default = null
|
||||||
|
}
|
||||||
|
|
||||||
variable "service_accounts" {
|
variable "service_accounts" {
|
||||||
description = "Service accounts to be created, and roles assigned them on the project."
|
description = "Service accounts to be created, and roles assigned them on the project."
|
||||||
type = map(list(string))
|
type = map(list(string))
|
||||||
|
|
Loading…
Reference in New Issue