mirror of
https://github.com/ryboe/private-ip-cloud-sql-db.git
synced 2025-12-19 18:14:59 -05:00
27 lines
654 B
HCL
27 lines
654 B
HCL
// dbproxy module
|
|
|
|
variable "db_instance_name" {
|
|
description = "The name of the Cloud SQL db, e.g. my-project:us-centra1:my-sql-db"
|
|
type = string
|
|
}
|
|
|
|
variable "machine_type" {
|
|
description = "The type of VM you want, e.g. f1-micro, c2-standard-4"
|
|
type = string
|
|
}
|
|
|
|
variable "region" {
|
|
description = "The region that the proxy instance will run in (e.g. us-central1)"
|
|
type = string
|
|
}
|
|
|
|
variable "vpc_name" {
|
|
description = "The name of the VPC that the proxy instance will run in"
|
|
type = string
|
|
}
|
|
|
|
variable "zone" {
|
|
description = "The zone where the VM will be created, e.g. us-centra1-a"
|
|
type = string
|
|
}
|