From 3337a6a4f529082e9fe711aea2e3e9a84db0e919 Mon Sep 17 00:00:00 2001 From: phaer Date: Sat, 5 Mar 2022 14:50:54 +0100 Subject: [PATCH] remove unecessary hcloud_token var in host module --- agents.tf | 2 -- control_planes.tf | 2 -- modules/host/variables.tf | 6 ------ 3 files changed, 10 deletions(-) diff --git a/agents.tf b/agents.tf index 4232b41..43453b4 100644 --- a/agents.tf +++ b/agents.tf @@ -24,8 +24,6 @@ module "agents" { "engine" = "k3s" } - hcloud_token = var.hcloud_token - depends_on = [ hcloud_network_subnet.subnet ] diff --git a/control_planes.tf b/control_planes.tf index ab68b8d..3ed4825 100644 --- a/control_planes.tf +++ b/control_planes.tf @@ -24,8 +24,6 @@ module "control_planes" { "engine" = "k3s" } - hcloud_token = var.hcloud_token - depends_on = [ hcloud_network_subnet.subnet ] diff --git a/modules/host/variables.tf b/modules/host/variables.tf index 01abaa6..a8a454e 100644 --- a/modules/host/variables.tf +++ b/modules/host/variables.tf @@ -1,9 +1,3 @@ -variable "hcloud_token" { - description = "Hetzner Cloud API Token" - type = string - sensitive = true -} - variable "name" { description = "Host name" type = string