Created
March 12, 2019 10:43
-
-
Save Dartblack4/97588beacbcc423143e10eeb93dbb05b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Определение переменной токена | |
variable "hcloud_token" {} | |
# Определение переменной имени | |
variable "name" { | |
default = "foo" | |
} | |
# Определение переменной исходного образа ОС для инстанса | |
variable "image" { | |
default = "debian-9" | |
} | |
# Определение переменной типа инстанса в зависимости от выбора тарифа | |
variable "server_type" { | |
default = "cx11" | |
} | |
# Определение региона в каком будет создаваться инстанс | |
variable "location" { | |
default = "nbg1" | |
} | |
# Определение ssh ключа который будет добавлен на инстанс при создании | |
variable "public_key" {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment