From 58fe1a0ed69a53a73e8f88cdda318c1ebc2dd086 Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Tue, 17 Jan 2023 08:50:32 +0100 Subject: [PATCH] Terraform vsphere cleanup (#9672) * contrib/terraform/vsphere: mark vsphere_password as sensitive Signed-off-by: Mathieu Parent * contrib/terraform/vsphere: remove unused modules Signed-off-by: Mathieu Parent --- contrib/terraform/vsphere/variables.tf | 4 +++- contrib/terraform/vsphere/versions.tf | 6 ------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/contrib/terraform/vsphere/variables.tf b/contrib/terraform/vsphere/variables.tf index b7c18cd42..03f9007e1 100644 --- a/contrib/terraform/vsphere/variables.tf +++ b/contrib/terraform/vsphere/variables.tf @@ -23,7 +23,9 @@ variable "vsphere_datastore" {} variable "vsphere_user" {} -variable "vsphere_password" {} +variable "vsphere_password" { + sensitive = true +} variable "vsphere_server" {} diff --git a/contrib/terraform/vsphere/versions.tf b/contrib/terraform/vsphere/versions.tf index 2a2a7c6e0..8c622fdfc 100644 --- a/contrib/terraform/vsphere/versions.tf +++ b/contrib/terraform/vsphere/versions.tf @@ -4,12 +4,6 @@ terraform { source = "hashicorp/vsphere" version = ">= 1.24.3" } - null = { - source = "hashicorp/null" - } - template = { - source = "hashicorp/template" - } } required_version = ">= 0.13" }