Terraform VMware Cloud Director provider
go-vcloud-director
to v2.24.0 (SDK this provider uses for low level access to the VCD) (#1247)vcd_cse_kubernetes_cluster
to create and manage Kubernetes clusters in a VCD with Container Service Extension 4.2.1, 4.2.0, 4.1.1 or 4.1.0 installed and running (#1195, #1218, #1222)vcd_cse_kubernetes_cluster
to read Kubernetes clusters from a VCD with Container Service Extension 4.2.1, 4.2.0, 4.1.1 or 4.1.0 installed and running (#1195, #1218, #1222)vcd_version
to get the VCD version and perform additional checks with version constraints (#1195, #1218)vcd_provider_vdc
adds ability of creating a provider VDC without network pool or NSX-T manager (issue #1186) (#1220)vcd_network_routed_v2
via field route_advertisement_enabled
(#1203)vcd_vapp_vm
and vcd_vm
add field consolidate_disks_on_create
that helps to change template
disk sizes using override_template_disk
in fast provisioned VDCs (#1206)vcd_vapp_vm
and vcd_vm
add support for VM Copy operation by using copy_from_vm_id
field
(#1210, #1218, #1219)vcd_vapp_vm
/vcd_vm
expose computed field vapp_id
(#1215)vcd_catalog_vapp_template
supports creating templates from existing vApps and
standalone VMs using new capture_vapp
configuration block (#1215)vcd_catalog_vapp_template
exposes attribute catalog_item_id
for related Catalog Item
ID (#1215, #1219)vcd_cse_kubernetes_cluster
deprecates the Container Service Extension cluster management guide,
so users should not use vcd_rde
resources to create a Kubernetes cluster anymore (#1195)go-vcloud-director
to v2.23.0 (SDK this provider uses for low level access
to the VCD) (#1225)vcd_network_pool
to create and manage network pools (#1115)vcd_nsxt_segment_ip_discovery_profile
to read NSX-T IP Discovery Segment Profiles (#1120)vcd_nsxt_segment_mac_discovery_profile
to read NSX-T MAC Discovery Segment Profiles (#1120)vcd_nsxt_segment_spoof_guard_profile
to read NSX-T Spoof Guard Profiles (#1120)vcd_nsxt_segment_qos_profile
to read NSX-T QoS Profiles (#1120)vcd_nsxt_segment_security_profile
to read NSX-T Segment Security Profiles (#1120)vcd_nsxt_segment_profile_template
to manage NSX-T Segment Profile Templates (#1120)vcd_nsxt_segment_profile_template
to read NSX-T Segment Profile Templates (#1120)vcd_nsxt_global_default_segment_profile_template
to manage NSX-T Global Default Segment Profile Templates (#1120)vcd_nsxt_global_default_segment_profile_template
to read NSX-T Global Default Segment Profile Templates (#1120)vcd_org_vdc_nsxt_network_profile
to manage default Segment Profile Templates for NSX-T VDCs (#1120)vcd_org_vdc_nsxt_network_profile
to read default Segment Profile Templates for NSX-T VDCs (#1120)vcd_nsxt_network_segment_profile
to manage individual Segment Profiles or Segment Profile Templates for NSX-T Org VDC Networks (#1120)vcd_nsxt_network_segment_profile
to read individual Segment Profiles or Segment Profile Templates for NSX-T Org VDC Networks (#1120)vcd_nsxt_edgegateway_l2_vpn_tunnel
to manage Edge Gateway L2 VPN Tunnel sessions (#1061)vcd_nsxt_edgegateway_l2_vpn_tunnel
to read Edge Gateway L2 VPN Tunnel sessions (#1061)vcd_nsxt_edgegateway_dns
to manage Edge Gateway DNS forwarder configuration (#1154)vcd_nsxt_edgegateway_dns
to read Edge Gateway DNS forwarder configuration (#1154)Importing resources
on how to import resources with new experimental Terraform import blocks (#1104)Importing catalog contents
showing how to import shared catalogs (#1104)Importing cloned vApps
showing how to import vApps and VMs from cloned vApps (#1104)vcd_rde_behavior_invocation
to invoke a Behavior of a given RDE (#1117, #1136)vcd_vm_vgpu_policy
to manage VM vGPU compute policy configuration (#1167)vcd_vm_vgpu_policy
to read VM vGPU compute policies (#1167)metadata_entry
attribute to vcd_rde
resource and data source to manage metadata entries of type
String
, Number
and Bool
in Runtime Defined Entities (#1018, #1164)vcd_catalog_access_control
adds property read_only_shared_with_all_orgs
to share the catalog as read-only with all organizations (#1020)vcd_org
add properties number_of_vdcs
, number_of_catalogs
, list_of_vdcs
, list_of_catalogs
(#1020)vcd_vapp_network
and vcd_vapp_org_network
will additionally check if vApp is in
RESOLVED
(in addition to already checked POWERED_OFF
) state before attempting a reboot when
reboot_vapp_on_removal
flag is set to true
(#1092)vcd_vdc_group
supports force deletion using new parameter force_delete
(#1071)name_regex
and import_file_name
to vcd_resource_list
to facilitate creation of import blocks (#1104)delete_force
and delete_recursive
in vcd_org
, vcd_org_vdc
, and vcd_catalog
are now optional, to facilitate import operations (#1104)ova_path
and ovf_url
in vcd_catalog_item
and vcd_vapp_template
are now optional, to facilitate import operations (#1104)ova_path
in vcd_catalog_media
is now optional, to facilitate import operations (#1104)ssl_enabled
to resource and data source vcd_nsxt_alb_pool
to set SSL support on demand (#1108)firmware
and boot_options
to vcd_vm
and vcd_vapp_vm
, allowing to specify boot options of a VM (VCD 10.4.1+) (#1109)vcd_nsxt_edgegateway
support attachment of NSX-T Segment backed
External Networks via external_network
block (#1111, #1172)vcd_resource_list
can now list network pools, vCenters, NSX-T transfer zones, distributed switches, and importable port groups (#1115)vcd_network_pool
includes all properties of the corresponding resource (#1115)rde_type_id
from resource vcd_rde
does not force a deletion when updated, to allow easier RDE Type version upgrades (#1117)vcd_rde_type
supports Behavior hooks with the new hook
blocks, that allow to automatically invoke
Behaviors on certain RDE lifecycle events (#1122)vcd_rde_type
supports reading Behavior hooks from VCD and store their information in the new hook
blocks (#1122)upload_any_file
to resource vcd_catalog_media
to allow uploading any file as catalog media item (#1123)download_to_file
to data source vcd_catalog_media
to allow downloading a catalog media item into a file (#1124)vcd_provider_vdc
supports metadata with metadata_entry
blocks (#1126)vcd_catalog_vapp_template
add property lease
with field storage_lease_in_sec
to handle
the VApp Template lease (#1130)custom_user_ou
to vcd_org_ldap
to specify custom attributes when ldap_mode = "SYSTEM"
(#1142)vcd_vapp_vm
and vcd_vm
when they are created by a VM from a vApp Template in VCD 10.5.1+, with the new inherited_metadata
computed map. Example of metadata entries of this kind: vm.origin.id
, vm.origin.name
, vm.origin.type
(#1146, #1173)vcd_vapp
when it is created by a vApp Template or another vApp in VCD 10.5.1+, with the new inherited_metadata
computed map. Example of metadata entries of this kind: vapp.origin.id
, vapp.origin.name
, vapp.origin.type
(#1146, #1173)value
to vcd_ip_space_ip_allocation
to specify IP or Prefix value on VCD
10.4.2+ (#1147)vcd_independent_disk
to the resources retrieved by vcd_resource_list
(#1155)vcd_ip_space
support NAT and Firewall creation configuration using
fields default_firewall_rule_creation_enabled
, default_no_snat_rule_creation_enabled
,
default_snat_rule_creation_enabled
(#1156)vcd_vcenter
fails when name contains spaces (#1115)vcd_rde_type_behavior_acl
resources when the Access Level is the last one
in the Behavior (#1117)vcd_rde_type_behavior_acl
to avoid race conditions when creating, updating or deleting more than one
Access Level (#1117)vcd_resource_list
: it was incorrectly listing also vApp templates (#1119)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)vcd_resource_list
when users fill the "parent"
field instead of "org"
(#1140)vcd_resource_list
when field "org"
from the provider block was not used (#1140)ldap_mode
(#1142)ignore_metadata_changes
provider configuration block when conflict_action = warn
, that caused
an operation to fail immediately instead of continuing without an error when a conflict was found (#1164, #1173)vcd_nsxt_edgegateway_bgp_ip_prefix_list
in registry
documentation (#1169)vcd_org_vdc
deprecates edge_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)TestAccVcdVAppVmCustomizationSettings
and
TestAccVcdStandaloneVmCustomizationSettings
to use valid guest customization settings (#1113)TestAccVcdIpv6Support
to avoid subnet clashes (#1133)terraform-plugin-sdk
to v2.29.0
(#1148)1.20
because such version is required by terraform-plugin-sdk
v2.29.0
(#1148)provider_scoped
and tenant_scoped
attributes from vcd_ui_plugin
resource (#1180)vcd_nsxt_edgegateway_dhcp_forwarding
to manage NSX-T Edge Gateway DHCP Forwarding configuration (#1056)vcd_nsxt_edgegateway_dhcp_forwarding
to read NSX-T Edge Gateway DHCP Forwarding configuration (#1056)vcd_ui_plugin
to programmatically install and manage UI Plugins (#1059)vcd_ui_plugin
to fetch existing UI Plugins (#1059)vcd_ip_space
to manage IP Spaces in VCD 10.4.1+ (#1061)vcd_ip_space
to read IP Spaces in VCD 10.4.1+ (#1061)vcd_ip_space_uplink
to manage IP Space Uplinks for External Networks (Provider
gateways) in VCD 10.4.1+ (#1062)vcd_ip_space_uplink
to read IP Space Uplinks for External Networks
(Provider gateways) in VCD 10.4.1+ (#1062)vcd_ip_space_ip_allocation
to manage IP Space IP Allocations in VCD 10.4.1+
(#1062)vcd_ip_space_ip_allocation
to read IP Space IP Allocations in VCD 10.4.1+
(#1062)vcd_ip_space_custom_quota
to manage Custom IP Space Quotas for individual
Organizations in VCD 10.4.1+ (#1062)vcd_ip_space_custom_quota
to read Custom IP Space Quotas for individual
Organizations in VCD 10.4.1+ (#1062)vcd_org_saml
to manage an organization SAML configuration (#1064)vcd_org_saml
to read an organization SAML configuration (#1064)vcd_org_saml_metadata
to read an organization SAML service provider metadata (#1064)vcd_api_token
to manage API tokens (#1070)vcd_service_account
to manage Service Accounts (#1070)vcd_service_account
to read Service Accounts (#1070)vcd_nsxt_edgegateway_dhcpv6
to manage NSX-T Edge Gateway DHCPv6 configuration
(#1071,#1083)vcd_nsxt_edgegateway_dhcpv6
to read NSX-T Edge Gateway DHCPv6 configuration
(#1071,#1083)vcd_provider_vdc
to manage provider VDCs (#1073)vcd_resource_pool
to read vCenter Resource Pools (#1073)vcd_network_pool
to read Network Pools (#1073)vcd_rde_interface_behavior
to manage RDE Interface Behaviors, which can be invoked by RDEs and
overridden by RDE Types (#1074)vcd_rde_interface_behavior
to read RDE Interface Behaviors, so they can be used
in RDE Type Behavior overrides (#1074)vcd_rde_type_behavior
to manage Behaviors in RDE Types, which can override those defined
in RDE Interfaces (#1074)vcd_rde_type_behavior
to read RDE Type Behaviors (#1074)vcd_rde_type_behavior_acl
to manage the access to Behaviors in RDE Types and RDE Interfaces (#1074)vcd_rde_type_behavior_acl
to read Access Levels from Behaviors of RDE Types and RDE Interfaces (#1074)vcd_nsxt_edgegateway_static_route
to manage NSX-T Edge Gateway Static Routes
on VCD 10.4.0+ (#1075)vcd_nsxt_edgegateway_static_route
to read NSX-T Edge Gateway Static Routes
on VCD 10.4.0+ (#1075)vcd_nsxt_distributed_firewall_rule
to manage NSX-T Distributed Firewall one by
one. Rules will not be created in parallel because the API provides no direct endpoint to create
a single rule and this functionality uses a custom-made function that abstracts the "update all"
endpoint (#1076)vcd_nsxt_distributed_firewall_rule
to read NSX-T Distributed Firewall one
by one (#1076)vcd_cloned_vapp
to create a vApp from either a vApp template or another vApp (#1081)(Experimental features and improvements may change in future releases, until declared stable.)
ignore_metadata_changes
argument to the Provider configuration to be able to specify metadata entries that should not
be managed by Terraform when using metadata_entry
configuration blocks (#1057, #1089)vcd_external_network_v2
resource and data source support IP Spaces on VCD 10.4.1+ by adding
use_ip_spaces
and dedicated_org_id
fields (#1062)vcd_nsxt_edgegateway
resource supports IP Spaces by not requiring subnet
specification
(#1062)vcd_nsxt_alb_virtual_service
support IPv6 on VCD 10.4.0+ via new field
ipv6_virtual_ip_address
(#1071)vcd_network_routed_v2
support Dual-Stack mode using
dual_stack_enabled
and secondary_gateway
, secondary_prefix_length
,
secondary_static_ip_pool
fields (#1071)vcd_network_isolated_v2
support Dual-Stack mode using
dual_stack_enabled
and secondary_gateway
, secondary_prefix_length
,
secondary_static_ip_pool
fields (#1071)vcd_nsxt_network_imported
support Dual-Stack mode using
dual_stack_enabled
and secondary_gateway
, secondary_prefix_length
,
secondary_static_ip_pool
fields (#1071)vcd_nsxt_network_dhcp_binding
support dhcp_v6_config
config (#1071)vcd_vdc_group
adds new field remove_default_firewall_rule
to remove default
Distributed Firewall Rule after creation (#1076)description
of vcd_vm_placement_policy
is now Computed, as latest VCD versions set a default description
automatically if it is not set (#1082)SYSTEM
scope data source vcd_nsxt_app_port_profile
when multiple NSX-T managers are configured (#1065)security_profile_customization
field during vcd_nsxt_ipsec_vpn_tunnel
update (#1072)vcd_catalog
creation to fail if it is created with deprecated metadata
argument in VCD 10.5 (#1085)takeBoolPointer
, takeIntPointer
, takeInt64Pointer
with generic addrOf
(#1055)terraform-plugin-sdk
to v2.27.0 (#1079)vcd_nsxt_edgegateway_bgp_configuration
will send existing GracefulRestart
to avoid
API validation errors in VCD 10.5.0+ (#1083)go-vcloud-director
, the SDK this provider uses for low level access to the VCD, released with version v2.21.0vcd_rde_interface
to manage Runtime Defined Entity Interfaces
which are required for using Runtime Defined Entity (RDE) types (#965)vcd_rde_interface
to fetch existing Runtime Defined Entity Interfaces (#965)vcd_rde_type
to manage Runtime Defined Entity Types
which are required for using Runtime Defined Entities (RDEs) (#973)vcd_rde_type
to fetch existing Runtime Defined Entity Types (#973)vcd_rde
to manage Runtime Defined Entities (#977)vcd_rde
to fetch existing Runtime Defined Entities (#977)vcd_nsxv_distributed_firewall
to create and manage NSX-V distributed firewall (#988)vcd_nsxv_distributed_firewall
to fetch existing NSX-V distributed firewall (#988)vcd_nsxv_application_finder
to search applications and application groups to use with a NSX-V distributed firewall (#988)vcd_nsxv_application
to fetch existing application to use with a NSX-V distributed firewall (#988)vcd_nsxv_application_group
to fetch existing application_group to use with a NSX-V distributed firewall (#988)vcd_nsxt_network_dhcp_binding
to manage NSX-T DHCP Bindings (#1039)vcd_nsxt_network_dhcp_binding
to read NSX-T DHCP Bindings (#1039)vcd_nsxt_edgegateway_rate_limiting
to manage NSX-T Edge Gateway Rate Limiting (#1042)vcd_nsxt_edgegateway_rate_limiting
to read NSX-T Edge Gateway Rate Limiting (#1042)vcd_nsxt_edgegateway_qos_profile
to read QoS profiles available for
vcd_nsxt_edgegateway_rate_limiting
resource (#1042)vcd_external_network_v2
allows setting DNS fields dns1
, dns2
and dns_suffix
for NSX-T
backed entities so that it can be inherited by direct Org VDC networks (#984)vcd_org_vdc
includes a property enable_nsxv_distributed_firewall
to enable or disable a NSX-V distributed firewall (#988)vcd_nsxt_edgegateway
resource and data source got automatic IP allocation support using new
configuration fields subnet_with_total_ip_count
, subnet_with_ip_count
and total_allocated_ip_count
fields (#991)vcd_nsxt_edgegateway
resource and data source expose used_ip_count
and unused_ip_count
attributes (#991, #1047)vcd_nsxt_alb_settings
resource and data source adds two new fields is_transparent_mode_enabled
and ipv6_service_network_specification
(#996)vcd_vapp_network
and vcd_vapp_org_network
add convenience flag
reboot_vapp_on_removal
. When enabled, it will power off parent vApp (and power back on after
if it was before) during vApp network removal. This improves workflows with VCD 10.4.1+ which
returns an error when removing vApp networks from powered on vApps (#1004)vcd_vapp_vm
and vcd_vm
resources support security tag management via new field security_tags
(#1006, #1046)vcd_nsxt_ipsec_vpn_tunnel
adds support for custom remote_id
field and certificate
based auth via fields authentication_mode
, certificate_id
, ca_certificate_id
(#1010)vcd_org_group
adds OAUTH
as an option to argument provider_type
(#1013)vcd_nsxt_alb_virtual_service
add support for Transparent mode in VCD
10.4.1+ via field is_transparent_mode_enabled
(#1024)vcd_nsxt_alb_pool
add support for Pool Group Membership via field
member_group_id
(#1024)vcd_nsxt_network_imported
support Distributed Virtual Port Group (DVPG)
backed Org VDC network (#1043)prefix_length
field to vcd_vapp_network
as creating IPv6 vApp networks was not supported due to the lack of a suitable subnet representation (Issue #999) (#1007, #1031)vcd_vapp_network
netmask
field, as it prevents using IPv6 networks. Users of already defined resources need to add a netmask = "255.255.255.0"
when using IPv4 (#1007)netmask
in favor of prefix_length
for vcd_vapp_network
(#1007)TestAccVcdNsxtEdgeBgpConfigIntegrationVdc
and
TestAccVcdNsxtEdgeBgpConfigIntegrationVdcGroup
(#958)TestAccVcdCatalogRename
, which checks that renaming a catalog works correctly (#992)TestAccVcdIndependentDiskBasic
, as it was sometimes failing due to a bug in VCD. Created a new one TestAccVcdIndependentDiskBasicWithUpdates
which will be run only on new releases of VCD (>=v10.4.1) (#1014)TestAccVcdNsxtDynamicSecurityGroupVdcGroupCriteriaWithVms
from 15s to 25s to let VMs get created (#1014)TestAccVcdVsphereSubscriber
and TestAccVcdSubscribedCatalog
if VCD version is older than v10.4.0 as there was a bug with catalog sharing rights that caused the tests to fail (#1014)CODING_GUIDELINES.md
with documentation notes (#1015)terraform-plugin-sdk
to v2.26.1 (#1002, #1023)golang.org/x/net
to v0.7.0 to address vulnerability reports (#1002)staticcheck
to 2023.1.3 (#1034)v3.9.0-beta.2
has only Terraform registry documentation improvements over v3.9.0-beta.1
vcd_rde_interface
to manage Runtime Defined Entity Interfaces
which are required for using Runtime Defined Entity (RDE) Types (#965)vcd_rde_interface
to fetch existing Runtime Defined Entity Interfaces (#965)vcd_rde_type
to manage Runtime Defined Entity Types
which are required for using Runtime Defined Entities (RDEs) (#973)vcd_rde_type
to fetch existing Runtime Defined Entity Types (#973)vcd_rde
to manage Runtime Defined Entities (#977)vcd_rde
to fetch existing Runtime Defined Entities (#977)vcd_nsxv_distributed_firewall
to create and manage NSX-V distributed firewall (#988)vcd_nsxv_distributed_firewall
to fetch existing NSX-V distributed firewall (#988)vcd_nsxv_application_finder
to search applications and application groups to use with a NSX-V distributed firewall (#988)vcd_nsxv_application
to fetch existing application to use with a NSX-V distributed firewall (#988)vcd_nsxv_application_group
to fetch existing application_group to use with a NSX-V distributed firewall (#988)vcd_external_network_v2
allows setting DNS fields dns1
, dns2
and dns_suffix
for NSX-T
backed entities so that it can be inherited by direct Org VDC networks (#984]vcd_org_vdc
includes a property enable_nsxv_distributed_firewall
to enable or disable a NSX-V distributed firewall [#988)vcd_nsxt_edgegateway
resource and data source got automatic IP allocation support using new
configuration fields subnet_with_total_ip_count
, subnet_with_ip_count
and total_allocated_ip_count
fields (#991)vcd_nsxt_edgegateway
resource and data source expose used_ip_count
and unused_ip_count
attributes (#991)vcd_nsxt_alb_settings
resource and data source adds two new fields is_transparent_mode_enabled
and ipv6_service_network_specification
(#996)vcd_vapp_network
and vcd_vapp_org_network
add convenience flag
reboot_vapp_on_removal
. When enabled, it will power off parent vApp (and power back on after
if it was before) during vApp network removal. This improves workflows with VCD 10.4.1+ which
returns an error when removing vApp networks from powered on vApps (#1004)vcd_org_group
adds OAUTH
as an option to argument provider_type
(#1013)prefix_length
field to vcd_vapp_network
as creating IPv6 vApp networks was not supported due to the lack of a suitable subnet representation (Issue #999) (#1007)vcd_vapp_network
netmask
field, as it prevents using IPV6 networks. Users of already defined resources need to add a netmask = "255.255.255.0"
when using Ipv4 (#1007)netmask
in vcd_vapp_network
(#1007)TestAccVcdCatalogRename
, which checks that renaming a catalog works correctly (#992)terraform-plugin-sdk
to v2.25.0 (#1002)golang.org/x/net
to v0.7.0 to address vulnerability reports (#1002)TestAccVcdIndependentDiskBasic
, as it was sometimes failing due to a bug in VCD. Created a new one TestAccVcdIndependentDiskBasicWithUpdates
which will be run only on new releases of VCD (>=v10.4.1) (#1014)TestAccVcdNsxtDynamicSecurityGroupVdcGroupCriteriaWithVms
from 15s to 25s to let VMs get created (#1014)TestAccVcdVsphereSubscriber
and TestAccVcdSubscribedCatalog
if VCD version is older than v10.4.0 as there was a bug with catalog sharing rights that caused the tests to fail (#1014]CODING_GUIDELINES.md
with documentation notes [#1015)catalog_id
to resource and data source vcd_catalog_media
to allow handling similarly to vcd_catalog_vapp_template
(#972)vcd_catalog
, vcd_catalog_media
, vcd_catalog_vapp_template
, and vcd_catalog_item
to access their entities without the need to use a full Org object, thus allowing the access to shared catalogs from other organizations (Issue #960) (#972)group_id
in vcd_catalog_access_control
,
vcd_org_vdc_access_control
and vcd_vapp_access_control
resources (#963)vcd_subscribed_catalog
creation, to allow subscribing to non-VCD entities, such as vSphere shared library (#972)org_network_name
field in vcd_vapp_network
resource (#975)catalog
in favor of catalog_id
in vcd_catalog_media
(#972)TestAccVcdNsxtDynamicSecurityGroupVdcGroupCriteriaWithVm
that sometimes fails due to a bad filter.
It now uses a shorter name for the Dynamic Security Groups to try to not break the resulting filter chain (#980)vdc_id
to data source vcd_vm_placement_policy
to allow tenant users to fetch VM Placement Policies from
the ones assigned to VDCs (#948)vcd_catalog
and vcd_subscribed_catalog
introduce new computed field is_local
to specify
whether the catalog originated from the current org (#949)org
field in vcd_catalog
to accept sharing Org name for shared catalogs and improve error messages (#949)vcd_catalog_vapp_template
to manage the upload and usage of vApp Templates (#899)vcd_catalog_vapp_template
to fetch existing vApp Templates (#899)vcd_vm_placement_policy
that allows creating VM Placement Policies (#904, #911)vcd_vm_placement_policy
that allows fetching existing VM Placement Policies (#904, #911)vcd_provider_vdc
that allows fetching existing Provider VDCs (#904)vcd_vm_group
that allows fetching existing VM Groups, to be able to create VM Placement Policies (#904)vcd_org_ldap
that allows configuring LDAP settings for an organization (#909)vcd_org_ldap
that allows exploring LDAP settings for an organization (#909)vcd_catalog_access_control
that allows sharing a catalog with users, groups, or Orgs (#915)vcd_subscribed_catalog
that allows subscribing to a published catalog (#916)vcd_subscribed_catalog
that allows reading a subscribed catalog (#916)vcd_task
that allows reading a VCD task (#916)metadata_entry
to the following data sources:
vcd_catalog
, vcd_catalog_media
, vcd_independent_disk
, vcd_network_direct
, vcd_network_isolated
,
vcd_network_isolated_v2
, vcd_network_routed
, vcd_network_routed_v2
, vcd_org
, vcd_org_vdc
, vcd_provider_vdc
,
vcd_storage_profile
, vcd_vapp
, vcd_vapp_vm
. This new attribute replaces metadata
to add support of metadata visibility (user access levels), all the available types and domains for every metadata
entry (#917)metadata_entry
to the following resources:
vcd_catalog
, vcd_catalog_media
, vcd_independent_disk
, vcd_network_direct
, vcd_network_isolated
,
vcd_network_isolated_v2
, vcd_network_routed
, vcd_network_routed_v2
, vcd_org
, vcd_org_vdc
, vcd_vapp
,
vcd_vapp_vm
. This new attribute replaces metadata
to add support of metadata visibility (user access levels),
all the available types and domains for every metadata entry (#917)placement_policy_id
attribute to vcd_vapp_vm
and vcd_vm
resource and data source,
to support the usage of VM Placement Policies in VMs (#922)vcd_vapp_vm
and vcd_vm
have new computed fields status
and
status_text
(#901)vm_placement_policy_ids
attribute to vcd_org_vdc
resource and data source to assign existing
VM Placement Policies to VDCs (#904, #911)default_compute_policy_id
attribute to vcd_org_vdc
resource and data source to specify a default
VM Sizing Policy, VM Placement Policy or vGPU Policy for the VDC (#904, #911)href
, vapp_template_list
, media_item_list
, and publishing_url
to vcd_catalog
resource and data source to show published items (#916)subscribed_catalog
to examples (#916)vcd_org_vdc
introduce new field edge_cluster_id
to specify NSX-T
Edge Cluster for VDC (#921)vcd_edgegateway_settings
vcd_vapp_network
vcd_vm_internal_disk
vcd_nsxv_dhcp_relay
vcd_vapp_static_routing
vcd_vapp_nat_rules
vcd_vapp_firewall_rules
vcd_vapp_access_control
vcd_nsxt_alb_edgegateway_service_engine_group
vcd_org_vdc
vcd_org_user
vcd_external_network
vcd_nsxt_network_dhcp
support Isolated networks, different DHCP modes
('EDGE', 'NETWORK', 'RELAY') and lease time (#929)vapp_template_id
, boot_image_id
to the resources vcd_vapp_vm
and vcd_vm
to be able
to use unique URNs to reference vApp Templates and Media items through data sources, to build strong dependencies
in Terraform configuration (#931)vcd_nsxt_edge_cluster
supports NSX-T Edge Cluster filtering by vdc_id
, vdc_group_id
,
and provider_vdc_id
(#921)resource/vcd_nsxt_alb_edgegateway_service_engine_group
field reserved_virtual_services
accepts
"0" as value (#923)resource/vcd_vapp
that would prevent to Power off vApp when previous state was
power_on=true
(#932)vcd_external_network
in favor of vcd_external_network_v2
(#903)default_vm_sizing_policy_id
field in vcd_org_vdc
resource and data source. This field is misleading as it
can contain not only VM Sizing Policies but also VM Placement Policies or vGPU Policies.
Its replacement is the default_compute_policy_id
attribute (#904)metadata
in favor of metadata_entry
in the following data sources:
vcd_catalog
, vcd_catalog_media
, vcd_catalog_vapp_template
, vcd_independent_disk
, vcd_network_direct
,
vcd_network_isolated
, vcd_network_isolated_v2
, vcd_network_routed
, vcd_network_routed_v2
, vcd_org
,
vcd_org_vdc
, vcd_provider_vdc
, vcd_storage_profile
, vcd_vapp
, vcd_vapp_vm
(#917)metadata
in favor of metadata_entry
in the following resources:
vcd_catalog
, vcd_catalog_media
, vcd_catalog_vapp_template
, vcd_independent_disk
, vcd_network_direct
,
vcd_network_isolated
, vcd_network_isolated_v2
, vcd_network_routed
, vcd_network_routed_v2
, vcd_org
,
vcd_org_vdc
, vcd_vapp
, vcd_vapp_vm
(#917)catalog_item_metadata
in favor of metadata_entry
in the vcd_catalog_item
resource
and data source. (#917)template_name
in favor of vapp_template_id
in vcd_vapp_vm
and vcd_vm
to be able to use unique URNs instead
of catalog dependent names (#931)boot_image
in favor of boot_image_id
in vcd_vapp_vm
and vcd_vm
to be able to use URNs instead
of catalog dependent names (#931)catalog_name
in favor of vapp_template_id
or boot_image_id
, which don't require a catalog name anymore (#931)vcd_nsxt_edge_cluster
deprecates vdc
field in favor of three new fields to define
NSX-T Edge Cluster lookup scope - vdc_id
, vdc_group_id
, and provider_vdc_id
(#921)vcd_vapp_vm
built from vApp templatevcd_vm
built from vApp templatevcd_vapp_vm
built without vApp template (empty VM)vcd_vm
built without vApp template (empty VM)go.mod
as the minimum required version. (#902, #916)make fmt
) (#902)staticcheck
switched version naming from 2021.1.2
to v0.3.3
in downloads section. This PR
also updates the code to fetch correct staticcheck (#902)io/ioutil
is deprecated as of Go 1.16. staticcheck
started complaining about usage of
deprecated packages. As a result this PR switches packages to either io
or os
(still the same
functions are used) (#902)gosec
on every push and pull request (#928)vcd_security_tag
that allows creating security tags (#845)vcd_org_vdc_access_control
to manage VDC access control (#850)vcd_nsxt_route_advertisement
that allows NSX-T Edge Gateway to advertise subnets to Tier-0 Gateway (#858, #888)vcd_nsxt_route_advertisement
that reads the NSX-T Edge Gateway routes that are being advertised (#858, #888)vcd_nsxt_edgegateway_bgp_configuration
for NSX-T Edge Gateway BGP
Configuration (#798, #887)vcd_nsxt_edgegateway_bgp_configuration
for reading NSX-T Edge Gateway BGP
Configuration (#798, #887)vcd_nsxt_dynamic_security_group
to manage dynamic security groups (#877)vcd_nsxt_dynamic_security_group
to lookup existing dynamic security groups
(#877)vcd_nsxt_edgegateway_bgp_ip_prefix_list
allows users to configure NSX-T Edge Gateway BGP IP Prefix Lists (#879, #887, #888)vcd_nsxt_edgegateway_bgp_ip_prefix_list
allows users to read NSX-T Edge Gateway BGP IP Prefix Lists (#879, #887, #888)vcd_nsxt_edgegateway_bgp_neighbor
allows users to configure NSX-T Edge Gateway BGP Neighbors (#879, #887, #888)vcd_nsxt_edgegateway_bgp_neighbor
allows users to read NSX-T Edge Gateway BGP Neighbors (#879, #887, #888)resource/vcd_nsxt_network_dhcp
and datasource/vcd_nsxt_firewall
now support dns_servers
(#830)resource/vcd_nsxt_firewall
and datasource/vcd_nsxt_firewall
(#841, #888)resource/vcd_nsxt_nat_rule
and datasource/vcd_nsxt_nat_rule
(#841, #888)resource/vcd_nsxt_ipsec_vpn_tunnel
and datasource/vcd_nsxt_ipsec_vpn_tunnel
(#841, #888)resource/vcd_nsxt_alb_settings
and datasource/vcd_nsxt_alb_settings
(#841)resource/vcd_nsxt_alb_edgegateway_service_engine_group
and datasource/vcd_nsxt_alb_edgegateway_service_engine_group
(#841, #854)resource/vcd_nsxt_alb_virtual_service
and datasource/vcd_nsxt_alb_virtual_service
(#841)resource/vcd_nsxt_alb_pool
and datasource/vcd_nsxt_alb_pool
(#841)resource/vcd_vm_sizing_policy
: remove (deprecate) unneeded org
property (#843)datasource/vcd_vm_sizing_policy
: remove (deprecate) unneeded org
property (#843)resource/vcd_catalog_item
and datasource/vcd_catalog_item
now support metadata for the CatalogItem entity with catalog_item_metadata
attribute (#851)metadata
attribute on every compatible resource and data source is now more performant when adding and updating metadata (#853)license_type
attribute on vcd_nsxt_alb_controller optional as it is not used from VCD v10.4 onwards (#878)supported_feature_set
to vcd_nsxt_alb_service_engine_group resource and data source to be compatible with VCD v10.4, which replaces the vcd_nsxt_alb_controller license_type
(#878)supported_feature_set
to vcd_nsxt_alb_settings resource and data source to be compatible with VCD v10.4, which replaces the vcd_nsxt_alb_controller license_type
(#878)resource/vcd_vapp_vm
to fix broken attribute rendering (#828)vcd_vapp_network
and vcd_vapp_org_network
(#838)org
and vdc
fields during import of vcd_independent_disk
(#838)None
mode in independent disk sharing_type
(#849)vcd_vm_internal_disk
now uses default IOPS value from storage profile when custom IOPS value isn't provided (#863)vcd_inserted_media
locking mechanism to avoid race condition with vcd_vm_internal_disk
(#870, #888)vcd_vapp_vm
to fail on creation if attribute sizing_policy_id
is set and corresponds to a
Sizing Policy with CPU or memory defined, template_name
is used and power_on
is true
(#883)vdc
field in NSX-T Edge Gateway child entities. This field is no longer precise as
with introduction of VDC Group support an Edge Gateway can be bound either to a VDC, either to a
VDC Group. Parent VDC or VDC Group is now inherited from edge_gateway_id
field. Impacted
resources and data sources are: vcd_nsxt_firewall
, vcd_nsxt_nat_rule
,
vcd_nsxt_ipsec_vpn_tunnel
, ,vcd_nsxt_alb_settings
,
vcd_nsxt_alb_edgegateway_service_engine_group
, vcd_nsxt_alb_virtual_service
,
vcd_nsxt_alb_pool
(#841)resource/vcd_nsxt_network_dhcp
and datasource/vcd_nsxt_network_dhcp
deprecate vdc
field to
make consumption more friendly with VDC Groups (#846)gofmt -s -w .
to cleanup code (#833)role
data source and resource documentation for rights
attribute to reflect its Set nature (#834)rights_bundle
data source and resource documentation for rights
and tenants
attribute to reflect its Set nature (#834)