31 lines
770 B
HCL
31 lines
770 B
HCL
variable "name" {
|
|
description = "Short host key (e.g. \"gcp-uat\"), used to name the created resources."
|
|
type = string
|
|
}
|
|
|
|
variable "project" {
|
|
description = "GCP project ID to create the instance in."
|
|
type = string
|
|
}
|
|
|
|
variable "zone" {
|
|
description = "GCP zone, e.g. \"us-west1-a\"."
|
|
type = string
|
|
}
|
|
|
|
variable "machine_type" {
|
|
description = "GCE machine type."
|
|
type = string
|
|
default = "e2-medium"
|
|
}
|
|
|
|
variable "ssh_user" {
|
|
description = "Login user provisioned via instance metadata (must be able to sudo)."
|
|
type = string
|
|
default = "deploy"
|
|
}
|
|
|
|
variable "ssh_public_key_path" {
|
|
description = "Path to the PUBLIC key installed into the instance's ssh-keys metadata for ssh_user."
|
|
type = string
|
|
}
|