home-cloud/provider_hcloud.tf

13 lines
260 B
Terraform
Raw Permalink Normal View History

2019-01-30 19:49:47 +01:00
# Set the variable value in *.tfvars file
# or using -var="hcloud_token=..." CLI option
variable "hcloud_token" {}
# Configure the Hetzner Cloud Provider
2022-03-30 19:46:33 +02:00
provider "hcloud" {
2020-04-04 23:23:13 +02:00
token = var.hcloud_token
2019-01-30 19:49:47 +01:00
}
2022-03-30 19:46:33 +02:00
data "hcloud_ssh_key" "default" {
name = "default"
}