2021-02-02 12:06:52 +00:00
|
|
|
resource "vsphere_content_library" "library" {
|
|
|
|
name = "OVA appliances"
|
|
|
|
storage_backing = flatten([
|
|
|
|
data.vsphere_datastore.cldatastore.id
|
|
|
|
])
|
|
|
|
}
|
|
|
|
|
|
|
|
resource "vsphere_content_library_item" "Server2019" {
|
|
|
|
name = "Windows-Server-2019-LTSC"
|
|
|
|
library_id = vsphere_content_library.library.id
|
2021-02-02 13:03:16 +00:00
|
|
|
file_url = "https://${var.repo_username}:${var.repo_password}@sn.itch.fyi/Repository/rel/Windows-Server-2019-LTSC.ova"
|
2021-02-02 12:06:52 +00:00
|
|
|
}
|
|
|
|
resource "vsphere_content_library_item" "ADCS" {
|
|
|
|
name = "ADCS-appliance"
|
|
|
|
library_id = vsphere_content_library.library.id
|
2021-02-02 13:03:16 +00:00
|
|
|
file_url = "https://${var.repo_username}:${var.repo_password}@sn.itch.fyi/Repository/rel/ADCS-appliance.ova"
|
2021-02-02 12:06:52 +00:00
|
|
|
}
|
|
|
|
resource "vsphere_content_library_item" "ADDS" {
|
|
|
|
name = "ADDS-appliance"
|
|
|
|
library_id = vsphere_content_library.library.id
|
2021-02-02 13:03:16 +00:00
|
|
|
file_url = "https://${var.repo_username}:${var.repo_password}@sn.itch.fyi/Repository/rel/ADDS-appliance.ova"
|
2021-02-02 12:06:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
resource "vsphere_content_library_item" "Win10" {
|
|
|
|
name = "Windows 10"
|
|
|
|
library_id = vsphere_content_library.library.id
|
2021-02-02 13:03:16 +00:00
|
|
|
file_url = "https://${var.repo_username}:${var.repo_password}@sn.itch.fyi/Repository/rel/Windows10.ova"
|
2021-02-02 12:06:52 +00:00
|
|
|
}
|