Fix syntax wrt variables & provider
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-02-02 13:30:06 +01:00
parent 0ad2634953
commit dc66d7ce60
2 changed files with 19 additions and 28 deletions

View File

@ -1,10 +1,15 @@
terraform {
backend "pg" {}
required_providers {
vsphere = {
source = "hashicorp/vsphere"
version = "~> 1.24.3"
}
}
}
provider "vsphere" {
version = "1.24.1"
vsphere_server = var.vcenter_server
user = var.vsphere_username
password = var.vsphere_password

View File

@ -1,29 +1,15 @@
variable "vcenter_server" {
}
variable "vcenter_server" {}
variable "vsphere_username" {}
variable "vsphere_password" {}
variable "vsphere_username" {
}
variable "vsphere_datacenter" {}
variable "vsphere_host" {}
variable "vsphere_hostip" {}
variable "vsphere_password" {
}
variable "vsphere_vmdatastore" {}
variable "vsphere_cldatastore" {}
variable "vsphere_vmfolder" {}
variable "vsphere_network" {}
variable "vsphere_datacenter" {
}
variable "vsphere_host" {
}
variable "vsphere_hostip" {
}
variable "vsphere_datastore" {
}
variable "vsphere_folder" {
}
variable "vsphere_templatefolder" {
}
variable "vsphere_network" {
}
variable "repo_username" {}
variable "repo_password" {}