mirror of
https://github.com/apricote/home-cloud.git
synced 2026-01-13 21:11:02 +00:00
13 lines
264 B
Terraform
13 lines
264 B
Terraform
|
|
# Set the variable value in *.tfvars file
|
||
|
|
# or using -var="hcloud_token=..." CLI option
|
||
|
|
variable "hcloud_token" {}
|
||
|
|
|
||
|
|
variable "hcloud_location" {}
|
||
|
|
|
||
|
|
# Configure the Hetzner Cloud Provider
|
||
|
|
provider "hcloud" {
|
||
|
|
version = "~> 1.7.0"
|
||
|
|
|
||
|
|
token = "${var.hcloud_token}"
|
||
|
|
}
|