home-cloud/provider_hcloud.tf

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"
}