Skip to content

Commit

Permalink
added provider requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
zachreborn committed Nov 8, 2023
1 parent cab32cc commit ad764c9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/vsphere/datacenter/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
terraform {
required_version = ">= 1.0.0"
required_providers {
aws = {
source = "hashicorp/vsphere"
version = ">= 2.5.0"
}
}
}

resource "vsphere_datacenter" "this" {
folder = var.folder
name = var.name
Expand Down
11 changes: 11 additions & 0 deletions modules/vsphere/folder/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
terraform {
required_version = ">= 1.0.0"
required_providers {
aws = {
source = "hashicorp/vsphere"
version = ">= 2.5.0"
}
}
}


resource "vsphere_folder" "this" {
custom_attributes = var.custom_attributes
datacenter_id = var.datacenter_id
Expand Down

0 comments on commit ad764c9

Please sign in to comment.