Fix syntax wrt variables & provider
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
0ad2634953
commit
dc66d7ce60
@ -1,10 +1,15 @@
|
|||||||
terraform {
|
terraform {
|
||||||
backend "pg" {}
|
backend "pg" {}
|
||||||
|
|
||||||
|
required_providers {
|
||||||
|
vsphere = {
|
||||||
|
source = "hashicorp/vsphere"
|
||||||
|
version = "~> 1.24.3"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
provider "vsphere" {
|
provider "vsphere" {
|
||||||
version = "1.24.1"
|
|
||||||
|
|
||||||
vsphere_server = var.vcenter_server
|
vsphere_server = var.vcenter_server
|
||||||
user = var.vsphere_username
|
user = var.vsphere_username
|
||||||
password = var.vsphere_password
|
password = var.vsphere_password
|
||||||
|
@ -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 "repo_username" {}
|
||||||
}
|
variable "repo_password" {}
|
||||||
|
|
||||||
variable "vsphere_host" {
|
|
||||||
}
|
|
||||||
|
|
||||||
variable "vsphere_hostip" {
|
|
||||||
}
|
|
||||||
|
|
||||||
variable "vsphere_datastore" {
|
|
||||||
}
|
|
||||||
|
|
||||||
variable "vsphere_folder" {
|
|
||||||
}
|
|
||||||
|
|
||||||
variable "vsphere_templatefolder" {
|
|
||||||
}
|
|
||||||
|
|
||||||
variable "vsphere_network" {
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user