Skip to content

Terraform module which manages vApp ressources on VMWare Cloud Director.

Notifications You must be signed in to change notification settings

noris-network/terraform-vcd-vapp

Repository files navigation

terraform-vcd-vapp

Terraform module which manages vApp ressources on VMWare Cloud Director.

This creates empty vApps.

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_vapp.vapp resource

Inputs

Name Description Type Default Required
name A unique name for the vApp. string n/a yes
vdc_org_name The name of the organization to use. string n/a yes
description A description for the vApp, up to 256 characters. string null no
guest_properties Key value map of vApp guest properties. map(any) null no
lease A block to define port, port range and traffic type. Multiple can be used. See service_port and example for usage details.
object({
runtime_lease_in_sec = number # How long any of the VMs in the vApp can run before the vApp is automatically powered off or suspended. 0 means never expires (or maximum allowed by Org). Regular values accepted from 3600+.
storage_lease_in_sec = number # How long the vApp is available before being automatically deleted or marked as expired. 0 means never expires (or maximum allowed by Org). Regular values accepted from 3600+.
})
null no
metadata_entry A set of metadata entries to assign. list(map(string)) [] no
power_on A boolean value stating if this vApp should be powered on. Works only on update when vApp already has VMs. bool false no
vdc_name The name of VDC to use. string null no

Outputs

Name Description
id The ID of the vApp.
name The name of the vApp.

Examples

module "vapp" {
  source       = "git::https://github.com/noris-network/terraform-vcd-vapp?ref=1.0.0"
  vdc_org_name = "myORG"
  vdc_name     = "myDC01"
  name         = "webserver"
}

About

Terraform module which manages vApp ressources on VMWare Cloud Director.

Topics

Resources

Stars

Watchers

Forks

Languages