python_price_for_terraform_.../variables.tf

12 lines
756 B
Terraform
Raw Normal View History

2022-10-26 17:55:09 +00:00
variable "hcloud_token" {default = "your bearer token here"}
variable "hcloud_endpoint" {default = "https://api.hetzner.cloud/v1"}
# curl -H "Authorization: Bearer <your bearer token here>" -X GET https://api.hetzner.cloud/v1/images
variable "image" {default = "ubuntu-20.04"}
# curl -H "Authorization: Bearer <your bearer token here>" https://api.hetzner.cloud/v1/servers
variable "server_type" {default = "cpx11"}
# curl -H "Authorization: Bearer <your bearer token here>" -X GET https://api.hetzner.cloud/v1/datacenters
# variable "datacenter" {default = "hel1-dc2"} # location and datacenter are mutually exclusive
variable "location" {default = "hel1"}
variable "volume_size_GB" {default = "50"}
variable "ssh_pub_key" {default = "~/.ssh/id_rsa.pub"}