mirror of
https://github.com/ryboe/private-ip-cloud-sql-db.git
synced 2025-12-19 10:00:37 -05:00
* Upgrade provider plugins to latest release * Improve README instructions * Convert locals in main.tf to vars * Add output for db proxy public IP to make connecting easier * Add plan and crash.log to .gitignore * Move backend config to backend.tf * Move provider config to providers.tf * Move required_versions to versions.tf
26 lines
598 B
HCL
26 lines
598 B
HCL
variable "db_password" {
|
|
description = "The Postgres password"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "db_username" {
|
|
description = "The Postgres username"
|
|
type = string
|
|
}
|
|
|
|
variable "gcp_project_name" {
|
|
description = "The name of the GCP project where the db and Cloud SQL Proxy will be created"
|
|
type = string
|
|
}
|
|
|
|
variable "gcp_region" {
|
|
description = "The GCP region where the db and Cloud SQL Proxy will be created"
|
|
type = string
|
|
}
|
|
|
|
variable "gcp_zone" {
|
|
description = "The GCP availability zone where the db and Cloud SQL Proxy will be created"
|
|
type = string
|
|
}
|