Skip to content

Instantly share code, notes, and snippets.

@Dartblack4
Last active May 6, 2019 13:05
Show Gist options
  • Save Dartblack4/a9078c7e4e5bdb7ae12ba991cbd49529 to your computer and use it in GitHub Desktop.
Save Dartblack4/a9078c7e4e5bdb7ae12ba991cbd49529 to your computer and use it in GitHub Desktop.
# Token Variable Definition
variable "hcloud_token" {}
# Name variable definition
variable "name" {
default = "foo"
}
# Defining a variable source OS image for an instance
variable "image" {
default = "debian-9"
}
# Definition of an instance type variable depending on the choice of tariff
variable "server_type" {
default = "cx11"
}
# Definition of the region in which the instance will be created
variable "location" {
default = "nbg1"
}
# Determining the ssh key that will be added to the instance when creating
variable "public_key" {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment