FEATURES
- New Data Source:
vcd_org_group
allows to fetch an Organization Group to use it with other resources (#798) - Add
catalog_version
,number_of_vapp_templates
,number_of_media
,is_shared
,is_published
,publish_subscription_type
computed fields to catalog resource and datasource (#800) - Update
vcd_catalog
datasource so now it can take org from provider level or datasource level like modern resources/datasources (#800) - New Resource:
vcd_nsxt_distributed_firewall
manages Distributed Firewall Rules in VDC Groups
(#810) - New Data Source:
vcd_nsxt_distributed_firewall
provides lookup functionality for Distributed
Firewall rules in VDC Groups (#810) - New Data Source:
vcd_nsxt_network_context_profile
allows user to lookup Network Context
Profile ID for usage invcd_nsxt_distributed_firewall
(#810)
IMPROVEMENTS
resource/vcd_catalog
add support formetadata
so this field can be set when creating/updating catalogs. (#780)datasource/vcd_catalog
add support formetadata
so this field can be retrieved when reading from catalogs. (#780)data/vcd_storage_profile
add IOPS settings propertiesiops_limiting_enabled
,maximum_disk_iops
,default_disk_iops
,disk_iops_per_gb_max
,iops_limit
and other data attributeslimit
,units
,used_storage
,default
,enabled
,iops_allocated
to the state (#782)resource/vcd_nsxt_edgegateway
anddatasource/vcd_nsxt_edgegateway
support VDC Groups via new
fieldowner_id
replacingvdc
(#793)- Update codebase to be compatible with changes in go-vcloud-director due to bump to VCD API V35.0 (#795)
vcd_org
resource adds support formetadata
so this field can be set when creating/updating organizations. (#797)vcd_org
data source adds support formetadata
so this field can be retrieved when reading from organizations. (#797)vcd_independent_disk
resource adds support formetadata
so this field can be set when creating/updating independent disks. (#797)vcd_independent_disk
data source adds support formetadata
so this field can be retrieved when reading from independent disks. (#797)vcd_org_user
resource and data source have nowis_external
attribute to support the importing of LDAP users into the Organization (#798)vcd_org_user
resource does not have a default value fordeployed_vm_quota
andstored_vm_quota
. Local users will have unlimited quota by default, imported from LDAP will have no quota (#798)vcd_org_user
resource and data source have nowgroup_names
attribute to list group names if the user comes from an LDAP group (#798)vcd_org_group
resource and data source have nowuser_names
attribute to list user names if the user was imported from LDAP (#798)resource/vcd_network_routed_v2
anddatasource/vcd_network_routed_v2
support VDC Groups by
inheriting parent VDC or VDC Group from Edge Gateway (#801)resource/vcd_network_isolated_v2
anddatasource/vcd_network_isolated_v2
support VDC Groups via
new fieldowner_id
replacingvdc
(#801)resource/vcd_nsxt_network_imported
anddatasource/vcd_nsxt_network_imported
support VDC Groups
via new fieldowner_id
replacingvdc
(#801)- Add support for
can_publish_external_catalogs
andcan_subscribe_external_catalogs
indatasource_vcd_org
andresource_vcd_org
(#803) resource/vcd_network_direct
add support formetadata
so this field can be set when creating/updating direct networks. (#804)datasource/vcd_network_direct
add support formetadata
so this field can be retrieved when reading from direct networks. (#804)resource/vcd_network_isolated
add support formetadata
so this field can be set when creating/updating isolated networks. (#804)datasource/vcd_network_isolated
add support formetadata
so this field can be retrieved when reading from isolated networks. (#804)resource/vcd_network_routed
add support formetadata
so this field can be set when creating/updating routed networks. (#804)datasource/vcd_network_routed
add support formetadata
so this field can be retrieved when reading from routed networks. (#804)resource/vcd_nsxt_ip_set
anddatasource/vcd_nsxt_ip_set
support VDC Groups by inheriting parent VDC
or VDC Group from Edge Gateway (#809)- Data source
vcd_storage_profile
supportsmetadata
so this field can be populated when reading VDC storage profiles. (#811) resource/vcd_nsxt_app_port_profile
anddatasource/vcd_nsxt_app_port_profile
add support
for VDC Groups with new fieldcontext_id
(#812)resource/vcd_nsxt_security_group
anddatasource/vcd_nsxt_security_group
support VDC Groups by inheriting parent VDC
or VDC Group from Edge Gateway (#814)resource/vcd_network_isolated_v2
add support formetadata
so this field can be set when creating/updating isolated NSX-T networks. (#816)datasource/vcd_network_isolated_v2
add support formetadata
so this field can be retrieved when reading from isolated NSX-T networks. (#816)resource/vcd_network_routed_v2
add support formetadata
so this field can be set when creating/updating routed NSX-T networks. (#816)datasource/vcd_network_routed_v2
add support formetadata
so this field can be retrieved when reading from routed NSX-T networks. (#816)vcd_catalog_item
allows usingovf_url
to upload vApp template from URL (#770)vcd_catalog_item
update allows changingname
anddescription
(#770)vcd_catalog
allows to publish a catalog externally to make its vApp templates and media files available for subscription by organizations outside the Cloud Director installation (#772], [#773)vcd_vapp_vm
,vcd_vm
allows configuring advanced compute settings (shares and reservations) for VM (#779)vcd_independent_disk
allows creating additionally shared disks types by configuringsharing_type
(VCD 10.3+). Also, add update support. Add new disk typeNVME
and new attributesencrypted
anduuid
. Import now allows listing all independent disks in VDC (#789, #810)
BUG FIXES
- Fixes Issue #754 where VDC creation with storage profile
enabled=false
wasn't working (#781) - Fix Issue #611 when read of
vcd_vapp_vm
andvcd_vm
resource failed when VM isn't found. Now allows Terraform to recreate resource when it isn't found. (#783) - Fix Issue #759 where enable_ip_masquerade handling in vcd_vapp_nat_rules resource wasn't correct (#784)
- Fix bug in
datasource/vcd_nsxt_app_port_profile
where a lookup of a TENANT scope profile could
fail finding exact Application Port Profile in case Org has multiple VDCs (#812)
NOTES
- Default values for
deployed_vm_quota
andstored_vm_quota
fororg_user
have changed from 10 to 0 (unlimited) (#798) - Internal functions
lockParentEdgeGtw
,unLockParentEdgeGtw
,lockEdgeGateway
,
unlockEdgeGateway
were converted to use just their ID for lock key instead of full path
org:vdc:edge_id
. This is done because paths for VDC and VDC Groups can differ, but UUID is
unique so it makes it simpler to manage (#801) - Additional locking mechanisms
lockIfOwnerIsVdcGroup
,unLockIfOwnerIsVdcGroup
,lockById
,
unlockById
(#801) - Bump
staticheck
tool to2022.1
to support Go 1.18 and fix newly detected errors (#813) - Improve docs for
vcd_nsxt_network_dhcp
VDC Group support (#818) - Improves VDC Group guide documentation (#818)