VMware Cloud Community
davidr78
Enthusiast
Enthusiast

Terraform - vcloud director org - policy leases

Hi there,

I'm using terraform to create a vcloud org - vdc - org network and vapps in my lab.

I've noticed a few settings missing however and was wondering if it's still possible to apply them somehow.

For example, when creating a new org there are no arguments supporting the configuration of Org policy leases, such as maximum runtime lease, maximum storage lease.

This is the example from the terraform docs which is located at - vCloudDirector: vcd_org - Terraform by HashiCorp

provider "vcd" {
  user   = "${var.admin_user}"
  password = "${var.admin_password}"
  org   = "System"
  url   = "https://AcmeVcd/api"
}

resource "vcd_org" "my-org" {
  name   = "my-org"
  full_name   = "My organization"
  description   = "The pride of my work"
  is_enabled   = "true"
  delete_recursive = "true"
  delete_force   = "true"
}

pastedImage_1.png

If anyone can point me in the right direction that will be much appreciated Smiley Happy

Tags (2)
0 Kudos
1 Reply
davidr78
Enthusiast
Enthusiast

0 Kudos