Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 1.25 KB

File metadata and controls

81 lines (60 loc) · 1.25 KB

vsphere_vapp_container

back

Index

Terraform

terraform {
  required_providers {
    vsphere = ">= 1.25.0"
  }
}

top

Example Usage

module "vsphere_vapp_container" {
  source = "./modules/vsphere/d/vsphere_vapp_container"

  # datacenter_id - (required) is a type of string
  datacenter_id = null
  # name - (required) is a type of string
  name = null
}

top

Variables

variable "datacenter_id" {
  description = "(required) - The Managed Object ID of the datacenter."
  type        = string
}

variable "name" {
  description = "(required) - The name of the vApp container."
  type        = string
}

top

Datasource

data "vsphere_vapp_container" "this" {
  # datacenter_id - (required) is a type of string
  datacenter_id = var.datacenter_id
  # name - (required) is a type of string
  name = var.name
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = data.vsphere_vapp_container.this.id
}

output "this" {
  value = vsphere_vapp_container.this
}

top