mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-26 06:37:21 +10:00
55 lines
1.4 KiB
HCL
55 lines
1.4 KiB
HCL
variable "DESKTOP_ENVIRONMENT_USER" {
|
|
description = "The DESKTOP_ENVIRONMENT_USER environment variable."
|
|
}
|
|
|
|
variable "DESKTOP_ENVIRONMENT_REGISTRY" {
|
|
description = "The DESKTOP_ENVIRONMENT_REGISTRY environment variable."
|
|
}
|
|
|
|
variable "DESKTOP_ENVIRONMENT_REPOSITORY" {
|
|
description = "The DESKTOP_ENVIRONMENT_REPOSITORY environment variable."
|
|
}
|
|
|
|
variable "gcp_project" {
|
|
description = "The project to create the machine in."
|
|
default = "stemnapp"
|
|
}
|
|
|
|
variable "gcp_credentials_path" {
|
|
description = "The path to the file containing credentials for accessing gcp."
|
|
default = "/stemn/credentials/development-environment.json"
|
|
}
|
|
|
|
variable "machine_region" {
|
|
description = "The zone to create the machine in."
|
|
default = "australia-southeast1"
|
|
}
|
|
|
|
variable "machine_type" {
|
|
description = "The machine type."
|
|
default = "custom-6-30720"
|
|
}
|
|
|
|
variable "owner_host" {
|
|
description = "The hostname of the machine that created the instance."
|
|
default = "owner-host"
|
|
}
|
|
|
|
variable "owner_name" {
|
|
description = "The username of the user that created the instance."
|
|
default = "owner-name"
|
|
}
|
|
|
|
variable "tls_cert_path" {
|
|
description = "Path to file containing public TLS certificate."
|
|
default = "~/.ssl/server.cert"
|
|
}
|
|
|
|
variable "tls_key_path" {
|
|
description = "Path to file containing TLS private signing key."
|
|
default = "~/.ssl/server.pem"
|
|
}
|
|
|
|
output "ip" {
|
|
value = "${google_compute_instance.development-environment.network_interface.0.access_config.0.nat_ip}"
|
|
}
|