Skip to content

Commit

Permalink
ensure all resources utilize the vars.esxi_datastore var
Browse files Browse the repository at this point in the history
  • Loading branch information
tbennett6421 committed Dec 19, 2020
1 parent 1a4509c commit f206996
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ESXi/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ resource "esxi_guest" "logger" {

resource "esxi_guest" "dc" {
guest_name = "dc"
disk_store = "datastore2"
disk_store = var.esxi_datastore
guestos = "windows9srv-64"

boot_disk_type = "thin"
Expand Down Expand Up @@ -97,7 +97,7 @@ resource "esxi_guest" "dc" {

resource "esxi_guest" "wef" {
guest_name = "wef"
disk_store = "datastore2"
disk_store = var.esxi_datastore
guestos = "windows9srv-64"

boot_disk_type = "thin"
Expand Down Expand Up @@ -126,7 +126,7 @@ resource "esxi_guest" "wef" {

resource "esxi_guest" "win10" {
guest_name = "win10"
disk_store = "datastore2"
disk_store = var.esxi_datastore
guestos = "windows9-64"

boot_disk_type = "thin"
Expand Down

0 comments on commit f206996

Please sign in to comment.