FEATURES
- Add support for VMware Cloud Director 10.5.1
- Add support for Container Service Extension 4.1 by updating both the installation and the cluster management
guides (#1063, #1139) - New Resource:
vcd_network_pool
to create and manage network pools (#1115) - New Data Source:
vcd_nsxt_segment_ip_discovery_profile
to read NSX-T IP Discovery Segment Profiles (#1120) - New Data Source:
vcd_nsxt_segment_mac_discovery_profile
to read NSX-T MAC Discovery Segment Profiles (#1120) - New Data Source:
vcd_nsxt_segment_spoof_guard_profile
to read NSX-T Spoof Guard Profiles (#1120) - New Data Source:
vcd_nsxt_segment_qos_profile
to read NSX-T QoS Profiles (#1120) - New Data Source:
vcd_nsxt_segment_security_profile
to read NSX-T Segment Security Profiles (#1120) - New Resource:
vcd_nsxt_segment_profile_template
to manage NSX-T Segment Profile Templates (#1120) - New Data Source:
vcd_nsxt_segment_profile_template
to read NSX-T Segment Profile Templates (#1120) - New Resource:
vcd_nsxt_global_default_segment_profile_template
to manage NSX-T Global Default Segment Profile Templates (#1120) - New Data Source:
vcd_nsxt_global_default_segment_profile_template
to read NSX-T Global Default Segment Profile Templates (#1120) - New Resource:
vcd_org_vdc_nsxt_network_profile
to manage default Segment Profile Templates for NSX-T VDCs (#1120) - New Data Source:
vcd_org_vdc_nsxt_network_profile
to read default Segment Profile Templates for NSX-T VDCs (#1120) - New Resource:
vcd_nsxt_network_segment_profile
to manage individual Segment Profiles or Segment Profile Templates for NSX-T Org VDC Networks (#1120) - New Data Source:
vcd_nsxt_network_segment_profile
to read individual Segment Profiles or Segment Profile Templates for NSX-T Org VDC Networks (#1120) - New Resource:
vcd_nsxt_edgegateway_l2_vpn_tunnel
to manage Edge Gateway L2 VPN Tunnel sessions (#1061) - New Data Source:
vcd_nsxt_edgegateway_l2_vpn_tunnel
to read Edge Gateway L2 VPN Tunnel sessions (#1061) - New Resource:
vcd_nsxt_edgegateway_dns
to manage Edge Gateway DNS forwarder configuration (#1154) - New Data Source:
vcd_nsxt_edgegateway_dns
to read Edge Gateway DNS forwarder configuration (#1154)
EXPERIMENTAL FEATURES
- New guide
Importing resources
on how to import resources with new experimental Terraform import blocks (#1104) - New example
Importing catalog contents
showing how to import shared catalogs (#1104) - New example
Importing cloned vApps
showing how to import vApps and VMs from cloned vApps (#1104) - New Data Source:
vcd_rde_behavior_invocation
to invoke a Behavior of a given RDE (#1117, #1136) - New Resource:
vcd_vm_vgpu_policy
to manage VM vGPU compute policy configuration (#1167) - New Data Source:
vcd_vm_vgpu_policy
to read VM vGPU compute policies (#1167)
IMPROVEMENTS
- Add
metadata_entry
attribute tovcd_rde
resource and data source to manage metadata entries of type
String
,Number
andBool
in Runtime Defined Entities (#1018, #1164) - Resource
vcd_catalog_access_control
adds propertyread_only_shared_with_all_orgs
to share the catalog as read-only with all organizations (#1020) - Resource and data source
vcd_org
add propertiesnumber_of_vdcs
,number_of_catalogs
,list_of_vdcs
,list_of_catalogs
(#1020) - Resources
vcd_vapp_network
andvcd_vapp_org_network
will additionally check if vApp is in
RESOLVED
(in addition to already checkedPOWERED_OFF
) state before attempting a reboot when
reboot_vapp_on_removal
flag is set totrue
(#1092) - Resource
vcd_vdc_group
supports force deletion using new parameterforce_delete
(#1071) - Add fields
name_regex
andimport_file_name
tovcd_resource_list
to facilitate creation of import blocks (#1104) - Properties
delete_force
anddelete_recursive
invcd_org
,vcd_org_vdc
, andvcd_catalog
are now optional, to facilitate import operations (#1104) - Properties
ova_path
andovf_url
invcd_catalog_item
andvcd_vapp_template
are now optional, to facilitate import operations (#1104) - Property
ova_path
invcd_catalog_media
is now optional, to facilitate import operations (#1104) - Add field
ssl_enabled
to resource and data sourcevcd_nsxt_alb_pool
to set SSL support on demand (#1108) - Introduce new attributes
firmware
andboot_options
tovcd_vm
andvcd_vapp_vm
, allowing to specify boot options of a VM (VCD 10.4.1+) (#1109) - Resource and data source
vcd_nsxt_edgegateway
support attachment of NSX-T Segment backed
External Networks viaexternal_network
block (#1111, #1172) - Data source
vcd_resource_list
can now list network pools, vCenters, NSX-T transfer zones, distributed switches, and importable port groups (#1115) - Data source
vcd_network_pool
includes all properties of the corresponding resource (#1115) - Field
rde_type_id
from resourcevcd_rde
does not force a deletion when updated, to allow easier RDE Type version upgrades (#1117) - Resource
vcd_rde_type
supports Behavior hooks with the newhook
blocks, that allow to automatically invoke
Behaviors on certain RDE lifecycle events (#1122) - Data source
vcd_rde_type
supports reading Behavior hooks from VCD and store their information in the newhook
blocks (#1122) - Add property
upload_any_file
to resourcevcd_catalog_media
to allow uploading any file as catalog media item (#1123) - Add property
download_to_file
to data sourcevcd_catalog_media
to allow downloading a catalog media item into a file (#1124) - Resource
vcd_provider_vdc
supports metadata withmetadata_entry
blocks (#1126) - Resource and data source
vcd_catalog_vapp_template
add propertylease
with fieldstorage_lease_in_sec
to handle
the VApp Template lease (#1130) - Add property
custom_user_ou
tovcd_org_ldap
to specify custom attributes whenldap_mode = "SYSTEM"
(#1142) - Add support to the metadata that gets automatically created on
vcd_vapp_vm
andvcd_vm
when they are created by a VM from a vApp Template in VCD 10.5.1+, with the newinherited_metadata
computed map. Example of metadata entries of this kind:vm.origin.id
,vm.origin.name
,vm.origin.type
(#1146, #1173) - Add support to the metadata that gets automatically created on
vcd_vapp
when it is created by a vApp Template or another vApp in VCD 10.5.1+, with the newinherited_metadata
computed map. Example of metadata entries of this kind:vapp.origin.id
,vapp.origin.name
,vapp.origin.type
(#1146, #1173) - Add missing property
value
tovcd_ip_space_ip_allocation
to specify IP or Prefix value on VCD
10.4.2+ (#1147) - Add
vcd_independent_disk
to the resources retrieved byvcd_resource_list
(#1155) - Resource and data source
vcd_ip_space
support NAT and Firewall creation configuration using
fieldsdefault_firewall_rule_creation_enabled
,default_no_snat_rule_creation_enabled
,
default_snat_rule_creation_enabled
(#1156)
BUG FIXES
- Minimize risk of latency-induced test failures in TestAccVcdSubscribedCatalog (#1101)
- Fix Issue #1112: Data source
vcd_vcenter
fails when name contains spaces (#1115) - Fix a bug that made impossible to delete
vcd_rde_type_behavior_acl
resources when the Access Level is the last one
in the Behavior (#1117) - Fix the resource
vcd_rde_type_behavior_acl
to avoid race conditions when creating, updating or deleting more than one
Access Level (#1117) - Fix media item detection in
vcd_resource_list
: it was incorrectly listing also vApp templates (#1119) - Fix Issue #1127 (Incorrect behavior of vcd_resource_list, which can retrieve Edge Gateways belonging to a VDC, but not belonging to a VDC Group) (#1129)
- Fix test TestAccVcdRightsContainers and expand it to test most available items (#1135)
- Fix a bug in
vcd_rde
that caused a RDE created in a certain Organization to be unreachable by a user
belonging to a different Organization despite having the required rights (#1139, #1164) - Fix organization retrieval in
vcd_resource_list
when users fill the"parent"
field instead of"org"
(#1140) - Fix organization retrieval in
vcd_resource_list
when field"org"
from the provider block was not used (#1140) - Fix Issue 1134 : Can't use SYSTEM
ldap_mode
(#1142) - Fix a bug in
ignore_metadata_changes
provider configuration block whenconflict_action = warn
, that caused
an operation to fail immediately instead of continuing without an error when a conflict was found (#1164, #1173) - Fix usage example for datasource
vcd_nsxt_edgegateway_bgp_ip_prefix_list
in registry
documentation (#1169)
DEPRECATIONS
- Resource
vcd_org_vdc
deprecatesedge_cluster_id
in favor of new resource
vcd_org_vdc_nsxt_network_profile
that can configure NSX-T Edge Clusters and default Segment
Profile Templates for NSX-T VDCs (#1120)
NOTES
- Drop support for VCD 10.3.x (#1108)
- Add ability to split the test suite across several VCDs (#1110)
- Patch tests
TestAccVcdVAppVmCustomizationSettings
and
TestAccVcdStandaloneVmCustomizationSettings
to use valid guest customization settings (#1113) - Improve
TestAccVcdIpv6Support
to avoid subnet clashes (#1133) - Bump
terraform-plugin-sdk
tov2.29.0
(#1148) - Bump minimum Go requirement to
1.20
because such version is required byterraform-plugin-sdk
v2.29.0
(#1148) - Improve documentation of the
provider_scoped
andtenant_scoped
attributes fromvcd_ui_plugin
resource (#1180) - go-vcloud-director, the SDK this provider uses for low level access to the VCD, released with version v2.22.0