mirror of
https://github.com/apricote/home-cloud.git
synced 2026-01-13 21:11:02 +00:00
12 lines
260 B
HCL
Executable file
12 lines
260 B
HCL
Executable file
# Set the variable value in *.tfvars file
|
|
# or using -var="hcloud_token=..." CLI option
|
|
variable "hcloud_token" {}
|
|
|
|
# Configure the Hetzner Cloud Provider
|
|
provider "hcloud" {
|
|
token = var.hcloud_token
|
|
}
|
|
|
|
data "hcloud_ssh_key" "default" {
|
|
name = "default"
|
|
}
|