fix: remove deployment specific default vars
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2022-09-09 11:24:43 +02:00
parent 22510d37e3
commit 04cbeb6e87
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 3 additions and 18 deletions

View File

@ -49,9 +49,9 @@ resource "hcloud_server" "server" {
depends_on = [hcloud_ssh_key.key]
name = each.value.name
server_type = try(each.value.type, var.server_type)
image = try(each.value.image, var.server_image)
datacenter = try(each.value.datacenter, var.server_datacenter)
server_type = each.value.type
image = each.value.image
datacenter = each.value.datacenter
ssh_keys = var.server_keys
backups = try(each.value.backups, true)
keep_disk = try(each.value.keep_disk, false)

View File

@ -49,18 +49,3 @@ variable "ssh_keys" {
variable "server_dns_zone" {
type = string
}
variable "server_type" {
type = string
default = "cx11"
}
variable "server_image" {
type = string
default = "rocky-9"
}
variable "server_datacenter" {
type = string
default = "fsn1-dc14"
}