Files
private-ip-cloud-sql-db/modules/db/variables.tf
Ryan Boehning 70c7fff926 Add sensitive flag to vars and outputs that are secrets (#2)
By setting `sensitive = true` on a variable or output, Terraform will
redact it from the plan/apply output. This prevents secrets from being
logged. This is a new feature in Terraform v0.14.
2020-12-05 21:03:33 -08:00

38 lines
897 B
HCL

// db module
variable "db_depends_on" {
description = "A single resource that the database instance depends on"
type = any
}
variable "disk_size" {
description = "The size in GB of the disk used by the db"
type = number
}
variable "instance_type" {
description = "The instance type of the VM that will run the db (e.g. db-f1-micro, db-custom-8-32768)"
type = string
}
variable "password" {
description = "The db password used to connect to the Postgers db"
type = string
sensitive = true
}
variable "user" {
description = "The username of the db user"
type = string
}
variable "vpc_link" {
description = "A link to the VPC where the db will live (i.e. google_compute_network.some_vpc.self_link)"
type = string
}
variable "vpc_name" {
description = "The name of the VPC where the db will live"
type = string
}