Terraform Provider Vcd Versions Save

Terraform VMware Cloud Director provider

v3.6.0

2 years ago

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 in vcd_nsxt_distributed_firewall (#810)

IMPROVEMENTS

  • resource/vcd_catalog add support for metadata so this field can be set when creating/updating catalogs. (#780)
  • datasource/vcd_catalog add support for metadata so this field can be retrieved when reading from catalogs. (#780)
  • data/vcd_storage_profile add IOPS settings properties iops_limiting_enabled, maximum_disk_iops, default_disk_iops, disk_iops_per_gb_max, iops_limit and other data attributes limit, units, used_storage, default, enabled, iops_allocated to the state (#782)
  • resource/vcd_nsxt_edgegateway and datasource/vcd_nsxt_edgegateway support VDC Groups via new field owner_id replacing vdc (#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 for metadata so this field can be set when creating/updating organizations. (#797)
  • vcd_org data source adds support for metadata so this field can be retrieved when reading from organizations. (#797)
  • vcd_independent_disk resource adds support for metadata so this field can be set when creating/updating independent disks. (#797)
  • vcd_independent_disk data source adds support for metadata so this field can be retrieved when reading from independent disks. (#797)
  • vcd_org_user resource and data source have now is_external attribute to support the importing of LDAP users into the Organization (#798)
  • vcd_org_user resource does not have a default value for deployed_vm_quota and stored_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 now group_names attribute to list group names if the user comes from an LDAP group (#798)
  • vcd_org_group resource and data source have now user_names attribute to list user names if the user was imported from LDAP (#798)
  • resource/vcd_network_routed_v2 and datasource/vcd_network_routed_v2 support VDC Groups by inheriting parent VDC or VDC Group from Edge Gateway (#801)
  • resource/vcd_network_isolated_v2 and datasource/vcd_network_isolated_v2 support VDC Groups via new field owner_id replacing vdc (#801)
  • resource/vcd_nsxt_network_imported and datasource/vcd_nsxt_network_imported support VDC Groups via new field owner_id replacing vdc (#801)
  • Add support for can_publish_external_catalogs and can_subscribe_external_catalogs in datasource_vcd_org and resource_vcd_org (#803)
  • resource/vcd_network_direct add support for metadata so this field can be set when creating/updating direct networks. (#804)
  • datasource/vcd_network_direct add support for metadata so this field can be retrieved when reading from direct networks. (#804)
  • resource/vcd_network_isolated add support for metadata so this field can be set when creating/updating isolated networks. (#804)
  • datasource/vcd_network_isolated add support for metadata so this field can be retrieved when reading from isolated networks. (#804)
  • resource/vcd_network_routed add support for metadata so this field can be set when creating/updating routed networks. (#804)
  • datasource/vcd_network_routed add support for metadata so this field can be retrieved when reading from routed networks. (#804)
  • resource/vcd_nsxt_ip_set and datasource/vcd_nsxt_ip_set support VDC Groups by inheriting parent VDC or VDC Group from Edge Gateway (#809)
  • Data source vcd_storage_profile supports metadata so this field can be populated when reading VDC storage profiles. (#811)
  • resource/vcd_nsxt_app_port_profile and datasource/vcd_nsxt_app_port_profile add support for VDC Groups with new field context_id (#812)
  • resource/vcd_nsxt_security_group and datasource/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 for metadata so this field can be set when creating/updating isolated NSX-T networks. (#816)
  • datasource/vcd_network_isolated_v2 add support for metadata so this field can be retrieved when reading from isolated NSX-T networks. (#816)
  • resource/vcd_network_routed_v2 add support for metadata so this field can be set when creating/updating routed NSX-T networks. (#816)
  • datasource/vcd_network_routed_v2 add support for metadata so this field can be retrieved when reading from routed NSX-T networks. (#816)
  • vcd_catalog_item allows using ovf_url to upload vApp template from URL (#770)
  • vcd_catalog_item update allows changing name and description (#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 configuring sharing_type (VCD 10.3+). Also, add update support. Add new disk type NVME and new attributes encrypted and uuid. 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 and vcd_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 and stored_vm_quota for org_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 to 2022.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)

v3.5.1

2 years ago

BUG FIXES

Fix Issue #769 "Plugin did not respond: terraform-provider-vcd may crash with Terraform 1.1+ on some OSes".

The consequences of this fix are that some messages that were directed at the standard output (such as progress percentage during uploads or suggestions when using outdated resources) are now written to the regular log file (go-vcloud-director.log) using the special tag [SCREEN] for easy filtering. #771

v3.5.0

2 years ago

FEATURES

  • New Resource: vcd_nsxt_alb_settings for managing NSX-T ALB on NSX-T Edge Gateways (#726)
  • New Data source: vcd_nsxt_alb_settings for reading NSX-T ALB on NSX-T Edge Gateways (#726)
  • New Resource: vcd_library_certificate for managing certificates in library (provider configuration) (#733)
  • New Data source: vcd_library_certificate for reading certificates in library (#733)
  • New Resource: vcd_nsxt_alb_edgegateway_service_engine_group for managing NSX-T ALB Service Engine Groups assignments to Edge Gateways (#738, #764)
  • New Data source: vcd_nsxt_alb_edgegateway_service_engine_group for reading NSX-T ALB Service Engine Groups assignments to Edge Gateways (#738, #764)
  • New Resource: vcd_vdc_group for managing VDC Groups (#752)
  • New Data source: vcd_vdc_group for reading VDC Groups (#752)
  • New Resource: vcd_nsxt_alb_pool for NSX-T Load Balancer pools (#756)
  • New Data source: vcd_nsxt_alb_pool for reading NSX-T Load Balancer pools (#756)
  • New Resource: vcd_nsxt_alb_virtual_service for managing NSX-T ALB Virtual Service on NSX-T Edge Gateways (#757, #764)
  • New Data source: vcd_nsxt_alb_virtual_service for reading NSX-T ALB Virtual Service on NSX-T Edge Gateways (#757, #764)

IMPROVEMENTS

  • Remove Coverity warnings from code (#734)
  • resource/vcd_vapp_vm, resource/vcd_vm_internal_disk add support for disk controller type nvme (#680,#739)
  • Add property api_token to provider, supporting API token authentication (#742)
  • Bump Terraform SDK to 2.10.0 (#751)
  • resource/vcd_vapp add support for lease settings management. [#762)
  • datasource/vcd_vapp add support for lease settings visualization. (#762)

BUG FIXES

  • Fix bootable media connection in vcd_vm by sending media reference in CreateVM (#714)
  • Fix broken documentation links (#721)
  • Fix bug where using vcd_vm_internal_disk could remove description field in vcd_vapp_vm and vcd_vm (#758)
  • Skip tests for resources not available in 10.1 (#761)
  • Fix wrong references in TestAccVcdVAppVmMultiNIC (#761)

NOTES

  • Add Guest Customization docs with examples to "guides" section (#729)
  • Improve HCL samples in documentation to only contain single newline spaces and adjust automated check to catch it (#747)
  • Add support for Terraform 1.1 CLI by upgrading Terraform Plugin SDK from v2.7.0 to v2.10.0 (there was a crash with older SDK version) (#751)

v3.4.0

2 years ago

FEATURES

  • New Resource: vcd_nsxt_alb_controller for managing NSX-T ALB Controllers (provider configuration) (#709)
  • New Data source: vcd_nsxt_alb_controller for reading NSX-T ALB Controllers (provider configuration) (#709,#718)
  • New Resource: vcd_nsxt_alb_cloud for managing NSX-T ALB Clouds (provider configuration) (#709)
  • New Data source: vcd_nsxt_alb_cloud for reading NSX-T ALB Clouds (provider configuration) (#709,#718)
  • New Data source: vcd_nsxt_alb_importable_cloud for reading NSX-T ALB Importable Clouds (provider configuration) (#709,#718)
  • New Resource: vcd_nsxt_alb_service_engine_group for managing NSX-T ALB Service Engine Groups (provider configuration) (#709)
  • New Data source: vcd_nsxt_alb_service_engine_group for reading NSX-T ALB Service Engine Groups (provider configuration) (#709,#718)

IMPROVEMENTS

  • Resource and Data source vcd_external_network_v2 support NSX-T Segment backed network (#711)
  • vcd_org_vdc: it is now possible adding and removing storage profiles (#698)
  • data/vcd_nsxt_edge_cluster add documentation for missing fields (#700)
  • Bump Terraform SDK to 2.7.0 (#701)
  • Formatted HCL docs using terraform fmt (#705)
  • Updated attribute syntax to use first class expressions (#705)
  • Align build tags to match go fmt with Go 1.17 (#707)
  • Improve test-tags.sh script to handle new build tag format (#707)
  • Prevent invalid space in the base64 encoded authentication string in the token scripts specific for Linux (#708)

BUG FIXES

  • Fix Issue #696: Catalog deletion failure returns as success (#698)
  • Fix Issue #648 vcd_org_vdc: adding a storage profile requires the vdc to be replaced (#698)
  • Primary NIC removal for vcd_vapp_vm and vcd_vapp is done in cold fashion (#716)
  • Change broken docs reference links with final docs format

NOTES

  • Drop support for VCD 10.0 (#704)

v3.3.1

2 years ago

BUG FIXES

  • (Issue #689) resource/vcd_vm and resource/vcd_vapp_vm cannot find templates in shared catalogs from other Orgs (#691)

v3.3.0

2 years ago

FEATURES

  • New Resource: vcd_nsxt_security_group for NSX-T Edge Gateways (#663)
  • New Data source: vcd_nsxt_security_group for NSX-T Edge Gateways (#663)
  • New Resource: vcd_nsxt_app_port_profile for NSX-T Application Port Profile management (#673)
  • New Data source: vcd_nsxt_app_port_profile for NSX-T Application Port Profile management (#673)
  • New Resource: vcd_nsxt_firewall for NSX-T Edge Gateways (#663)
  • New Data Source: vcd_nsxt_firewall for NSX-T Edge Gateways (#663)
  • New Resource: vcd_nsxt_nat_rule for NSX-T Edge Gateways (#676)
  • New Data source: vcd_nsxt_nat_rule for NSX-T Edge Gateways (#676)
  • New Resource: vcd_role for provider and tenant role management (#677)
  • New Resource: vcd_global_role for provider role management (#677)
  • New Resource: vcd_rights_bundle for provider role management (#677)
  • New Data source: vcd_right for provider and tenant role management (#677)
  • New Data source: vcd_role for provider and tenant role management (#677)
  • New Data source: vcd_global_role for provider role management (#677)
  • New Data source: vcd_rights_bundle for provider role management (#677)
  • New Resource: vcd_nsxt_ipsec_vpn_tunnel for NSX-T IPsec VPN Tunnel management (#678)
  • New Data source: vcd_nsxt_ipsec_vpn_tunnel for NSX-T IPsec VPN Tunnel management (#678)

IMPROVEMENTS

  • Fix a few typos and add example in Routed Network V2 docs (#663)
  • Add compatibility with Terraform 0.15.0 for TestAccVcdNsxtStandaloneVmTemplate and TestAccVcdStandaloneVmTemplate (#663)
  • Tests: add optional test config variable Misc.LdapContainer to override default LDAP container location. (can be used to overcome Docker registry throttling issues for pulling testing LDAP container) (#673)
  • datasource/vcd_resource_list adds vcd_right, vcd_role, vcd_global_role, vcd_rights_bundle to the supported resource types (#677)
  • Replace vdc.ComposeRawVApp with vdc.CreateRawVApp (#681)
  • Change "vCloud Director" or "vCloudDirector" to "VMware Cloud Director" in all docs. (#682)
  • Update org_user docs to include creation of system users. (#682)

BUG FIXES

  • resource/vcd_edgegateway not retrieved when there are more than 25 items (#660)
  • (Issue #633) vApp description was ignored in creation and update. (#664)
  • (Issue #634) Setting CPU count to less than what the template has throws error. (#673)
  • Tests: LDAP related tests had incorrect port mapping after image update (#673)
  • resource/vcd_org_vdc complained about storage profile name update from empty to specified on some VCD versions (#676)

NOTES

  • Bump terraform-plugin-sdk to 2.4.4 (#657)
  • Add VCDClient.GetNsxtEdgeGateway, VCDClient.GetNsxtEdgeGatewayById, and GetNsxtEdgeGatewayFromResourceById convenience functions (#663)
  • Add importStateIdNsxtEdgeGatewayObject function for import testing of NSX-T Edge Gateway child objects (#663)

v3.2.0

3 years ago

FEATURES

  • New Resource: vcd_network_routed_v2 for NSX-T and NSX-V routed networks (#628)
  • New Data source: vcd_network_routed_v2 for NSX-T and NSX-V routed networks (#628)
  • New Resource: vcd_network_isolated_v2 for NSX-T and NSX-V isolated networks (#636)
  • New Data source: vcd_network_isolated_v2 for NSX-T and NSX-V isolated networks (#636)
  • New Resource: vcd_vm - Standalone VM (#638)
  • New Data source: vcd_vm - Standalone VM (#638)
  • New Resource: vcd_nsxt_network_imported for NSX-T imported networks (#645)
  • New Data source: vcd_nsxt_network_imported for NSX-T imported networks (#645)
  • New Resource: vcd_nsxt_network_dhcp for NSX-T routed network DHCP configuration (#650)
  • New Data source: vcd_nsxt_network_dhcp for NSX-T routed network DHCP configuration (#650)

IMPROVEMENTS

  • make install will use lightweight tags for build version injection (#628)
  • datasource/vcd_resource_list adds vcd_vm to the supported resource types (#638)
  • datasource/vcd_resource_list adds vcd_network_routed_v2 to the supported resource types (#628)
  • datasource/vcd_resource_list adds vcd_network_isolated_v2 to the supported resource types (#636)
  • datasource/vcd_resource_list adds vcd_nsxt_network_imported to the supported resource types (#645)
  • vcd_edgegateway resource and datasource throws error (on create, import and datasource read) and refers to vcd_nsxt_edgegateway for NSX-T backed VDC (#650)
  • vcd_network_isolatedand vcd_network_routed throw warnings on create and errors on import by referring to vcd_network_isolated_v2and vcd_network_routed_v2 for NSX VDCs (#650)
  • vcd_vapp_network throws error when org_network_name is specified for NSX-T VDC (because NSX-T networks cannot be attached to vApp networks) (#650)

NOTES

  • Internal functions lockParentEdgeGtw and unLockParentEdgeGtw will handle Edge Gateway locks when name or id reference is used (#628)

v3.1.0

3 years ago

FEATURES

  • New Resource: vcd_nsxt_edgegateway - NSX-T edge gateway (#600, #608)
  • New Data source: vcd_nsxt_edgegateway - NSX-T edge gateway (#600)
  • New Data source: vcd_nsxt_edge_cluster - allows to lookup ID and other details of NSX-T Edge Cluster (#600)
  • New Data source: vcd_resource_list info about VCD entities (#594)
  • New Data source: vcd_resource_schema definition of VCD resources schema (#594)
  • New Data Source: vcd_storage_profile for storage profile lookup (#602)

IMPROVEMENTS

  • resource/vcd_vapp_vm adds support to update storage_profile (#580)
  • resource/vcd_org_vdc adds support to update storage_profile (#583)
  • resource/vcd_org_vdc new computed field storage_used_in_mb (#583)
  • resource/vcd_catalog allows to set and update storage_profile_id (#602)
  • resource/vcd_catalog adds support to update description (#602)
  • datasource/vcd_catalog exports storage_profile_id (#602)
  • Provider: add support for bearer tokens in addition to authorization tokens (#590)
  • Provider: automatically use /cloudapi/1.0.0/sessions/provider when /api/sessions is disabled (#590)

BUG FIXES

  • resource/vcd_external_network_v2 may fail when creating NSX-V network backed by standard vSwitch port group (#600)

NOTES

  • Bump terraform-plugin-sdk to v2.2.0 (#576, #594)

v3.0.0

3 years ago

FEATURES

  • New Resource: vcd_vapp_access_control Access control for vApps #543
  • New Data Source: vcd_org_user Org User #543
  • New Resource: vcd_vm_sizing_policy VDC VM sizing policy #553
  • New Data Source: vcd_vm_sizing_policy VDC VM sizing policy #553
  • New Resource: vcd_edgegateway_settings Changes LB and FW global settings for Edge Gateway #557
  • New Resource: vcd_external_network_v2 with NSX-T support #560
  • New Data Source: vcd_external_network_v2 with NSX-T support #560
  • New Data Source: vcd_vcenter useful for vcd_external_network_v2 resource when used with NSX-V #560
  • New Data Source: vcd_portgroup useful for vcd_external_network_v2 resource when used with NSX-V #560
  • New Data Source: vcd_nsxt_manager useful for vcd_external_network_v2 resource when used with NSX-T #560
  • New Data Source: vcd_nsxt_tier0_router useful for vcd_external_network_v2 resource when used with NSX-T #560

IMPROVEMENTS

  • Added command make tagverify to check testing tags isolation. It also runs when calling make test #532
  • Added directory .changes and script ./scripts/make-changelog.sh to handle CHANGELOG entries #534
  • resource/vcd_vapp_vm allows toggle network connection with network.connected #535
  • resource/vcd_vapp_vm allows toggle memory and vCPU hot add with cpu_hot_add_enabled and memory_hot_add_enabled #536
  • resource/vcd_vapp_vm allows change network parameters without VM power off #536
  • Repository has a new home! Moved from https://github.com/terraform-providers/terraform-provider-vcd to https://github.com/vmware/terraform-provider-vcd #542
  • Added support for NSX-T Org VDC #550
  • resource/vcd_org_vdc new fields for assigning VM sizing policies vm_sizing_policy_ids and default_vm_sizing_policy_id #553
  • resource/vcd_vapp_vm new field sizing_policy_id uses VM sizing policy #553

BUG FIXES

  • resource/vcd_vapp_vm removed default value for cpus and cpu_cores #553
  • resource/vcd_vapp_vm fix ignoring is_primary=false #556

NOTES

  • Added support for VCD 10.2 #544
  • Dropped support for VCD 9.5 #544
  • resource/vcd_nsxv_firewall_rule virtual_machine_ids renamed to vm_ids #558
  • resource/vcd_vm_affinity_rule virtual_machine_ids renamed to vm_ids #558
  • Provider will send HTTP User-Agent while performing API calls #566
  • Added conditional skips for some checks in test TestAccVcdVAppVmDhcpWait

REMOVALS

  • Fixed vcd_independent_disk.size issue, new field size_in_mb replaces the size #588
  • Removed deprecated resource vcd_network #543
  • Removed deprecated resources vcd_dnat, vcd_snat, and vcd_firewall_rules #557
  • Removed deprecated attributes ip, network_name, vapp_network_name, network_href, mac, initscript from vcd_vapp_vm #563
  • Removed deprecated attributes external_networks, default_gateway_network, advaced from vcd_edgegateway #588
  • Removed vcd_independent_disk.size in favor of vcd_independent_disk.size_in_mb #588
  • Removed deprecated attributes template_name, catalog_name, network_name, memory, cpus, ip, storage_profile, initscript, ovf, accept_all_eulas from vcd_vapp #588