Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 2.57 KB

README.md

File metadata and controls

62 lines (47 loc) · 2.57 KB

terraform-vcd-catalog-item

Terraform module which manages catalog_item ressources (upload .ova files) in a catalog on VMWare Cloud Director.

Requirements

Name Version
terraform >= 1.1.9
vcd >= 3.9.0

Providers

Name Version
vcd 3.9.0

Modules

No modules.

Resources

Name Type
vcd_catalog_item.catalog_item resource
vcd_catalog.catalog data source

Inputs

Name Description Type Default Required
catalog_name The name of the catalog where to upload OVA file. string n/a yes
name Item name in the catalog. string n/a yes
vdc_org_name The name of the organization to use. string n/a yes
description Description of the item. string null no
metadata_entry A set of metadata entries to assign. list(map(string)) [] no
ova_path Absolute or relative path to file to upload. string null no
ovf_url URL to OVF file. Only OVF (not OVA) files are supported by VCD uploading by URL. string null no
upload_piece_size Size in MB for splitting upload size. number 10 no

Outputs

Name Description
id The ID of the uploaded .ova file.

Examples

module "ova_file" {
  source               = "git::https://github.com/noris-network/terraform-vcd-catalog-item?ref=1.0.0"
  vdc_org_name         = "myORG"
  name                 = "debian12.ova"
  description          = "My debian12.ova file"
  catalog_name         = "myCatalog"
  ova_path             = "./catalog/debian12.ova"
  upload_piece_size    = 100
}