Sample terraform files.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

project.tf 300B

1234567891011121314
  1. variable "hcloud_token" {
  2. type = "string"
  3. default = "arObmfdkjldfksjfKJHKLSJDHFLKJHSDKFJHfjdhsfjkdhfLJKHKJHDLf453444"
  4. }
  5. provider "hcloud" {
  6. token = "${var.hcloud_token}"
  7. }
  8. resource "hcloud_ssh_key" "masterkey" {
  9. name = "Master Key"
  10. public_key = "${file("secrets/master.key.pub")}"
  11. }