Skip to content

Commit

Permalink
refactor(fix): move vars to correct file
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrennand committed Sep 9, 2022
1 parent cb2471d commit 26c957d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 28 deletions.
29 changes: 29 additions & 0 deletions mc-hetzner.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,35 @@ terraform {
}
}

variable "hcloud_token" {
type = string
sensitive = true
}

variable "server_name" {
type = string
default = "mc-hetzner"
description = "Name of the server."
}

variable "server_image" {
type = string
default = "ubuntu-22.04"
description = "Image for the server."
}

variable "server_type" {
type = string
default = "cx21"
description = "The type of server to deploy."
}

variable "server_location" {
type = string
default = "nbg1"
description = "The location to deploy the server."
}

provider "hcloud" {
token = var.hcloud_token
}
Expand Down
28 changes: 0 additions & 28 deletions mc-hetzner.tfvars

This file was deleted.

0 comments on commit 26c957d

Please sign in to comment.