Terraform VMware Cloud Director Provider v3.13.0

0
15060
Terraform VMware Cloud Director Provider v3.13.0


Terraform Cloud Director Provider v3.13.0 is out there now, including assist for Cloud Director 10.6 with many new options and enhancements.

Extending VCD Functionality with Solution Add-Ons

Solution Add-Ons prolong Cloud Director providing with value-added functionalities. One can handle the sources and life cycle of options which can be custom-built to increase the performance of VMware Cloud Director.

A Solution Add-On is the illustration of an answer that’s {custom} constructed for Cloud Director within the extensibility ecosystem. It encapsulates UI and API Cloud Director extensions along with their backend providers and lifecycle administration. Solution Add-Ons are distributed as .iso recordsdata and might include quite a few parts: UI plugins, vApps, customers, roles, runtime outlined entities, and extra.

Terraform VCD Provider 3.13 provides assist for Solution Add-Ons with the next new sources and information sources:

On prime of that, there are two new sources (with their information sources, as regular) for Data Solution configuration and publishing to tenants:

VMware Cloud Director extension for Data Solutions is a Solution Add-On for Cloud Director, which allows multi-tenancy clients to ship a portfolio of on-demand caching, messaging and database software program. Service suppliers can supply their tenants an built-in answer, which permits them to function and handle data-as-a-service throughout personal clouds and sovereign clouds.

There is a new information web page. For these preferring hands-on expertise, there are additionally HCL examples.

Solution Add-On Configuration Example (Data Solution Extension)

The beneath code covers finish to finish setup of a Data Solution Extension in a inexperienced area – it covers configuration of Solution Landing Zone, after which creation, instantiation and publishing of a Solution Add-On.

Note: For brevity – these examples lack some referenced useful resource/information supply definitions. A whole set of HCL scripts could be seen within the HCL examples and higher defined within the Data Solution Guide Page.

Dynamic Schema Validation for Solution Add-On Instantiation

Each Solution Add-On incorporates its personal inputs that have to be validated and useful resource vcd_solution_add_on_instance has a mechanism for dynamic enter validation within the information.

Configuring and Publishing Data Solutions

Once the DSE Solution Add-On is instantiated and printed, a supplier can leverage DSE particular sources to carry out registry configuration particulars and publish Data Solution to tenants.

Auto-Scaling Support for Container Service Extension Kubernetes Cluster

The Kubernetes Autoscaler can routinely alter the dimensions of employee swimming pools in CSE. Terraform VCD Provider 3.13 permits to configure the auto-scaling capabilities for each employee pool by specifying the minimal and most nodes. This can be utilized as an alternative of the prevailing machine_count argument:

When autoscaler_max_replicas and autoscaler_min_replicas are set in any employee pool, the Kubernetes Autoscaler is routinely deployed to the cluster, with a purpose to handle the employee swimming pools which can be configured this manner. More particulars in regards to the Autoscaler could be learn in the official FAQ doc.

OpenID Connect Support

OpenID Connect is an authentication layer on prime of the OAuth 2.0 protocol, which permits purchasers to obtain details about authenticated classes and end-users. You can now configure organizations in VMware Cloud Director with Terraform VCD Provider 3.13 to make use of this identification supplier answer by utilizing the vcd_org_oidc useful resource:

In the instance above, a well known endpoint is used to retrieve all of the wanted configuration parameters. When utilizing this type of endpoint, one can even override any of the obtained values, if wanted:

This useful resource can be utilized both by suppliers, to configure OIDC for the System group, or by tenants, to configure OIDC for every tenant.

VDC Template Support

Providers can now create and handle VDC Templates with the vcd_org_vdc_template useful resource. A VDC template specifies a configuration for a corporation VDC and, optionally, an Edge Gateway and group VDC community.

The configuration of a VDC Template is similar to how configuring a VDC seems to be like:

Once the VDC Template is created, it may be instantiated by any supplier, or by any tenant person with the required rights, and if it was set within the readably_by_org_ids argument. In order to try this, one can leverage the vcd_org_vdc_template_instance useful resource:

Users can management what to do when the vcd_org_vdc_template_instance useful resource is eliminated, with the delete_instantiated_vdc_on_removal flag and auxiliary flags delete_force and delete_recursive. If they don’t need the useful resource to delete the VDC when it’s faraway from HCL configuration, delete_instantiated_vdc_on_removal=false will keep away from exactly that. This is beneficial when the instantiated VDC is imported as a subsequent step, and fully managed by a vcd_org_vdc useful resource, as a result of customers can then discard the vcd_org_vdc_template_instance code block with none aspect impact.

VCD and Organization Association (Multi-Site)

An affiliation between VCDs is achieved by the collaboration between the directors of the 2 websites (or the coordinated motion of an administrator that personal each VCDs). The information supply vcd_multisite_site_data permits the administrator to gather the affiliation information wanted to arrange the operation. On the opposite aspect, the administrator of the receiving VCD will use the useful resource vcd_multisite_site_association to set the connection. When either side have carried out each operations, the affiliation is finished.

Similar operations (utilizing the information supply vcd_multisite_org_data and useful resource vcd_multisite_org_association are carried out to create an affiliation between organizations. There are 5 information sources and a pair of sources to carry out the assorted duties. Since it might be complicated to grasp what to make use of and when, we have now additionally launched a common function Site and Org affiliation information.

Here’s an instance:

The administrator of website 1 collects the information as follows, saving it to file site1.xml

The administrator of site2 will then create the affiliation:

After that, the 2 directors swap roles and run the identical operations in reverse order (site2 information assortment and site1 affiliation).

There are two full examples about website affiliation and organization affiliation within the repository.

List of New Resources and Data Sources

2 new information pages:

11 new sources:

13 new information sources:

There are extra options and enhancements, which you’ll be able to see within the project’s changelog. And, as at all times, we’re awaiting your suggestions and options in GitHub Issues and #vcd-terraform-dev Slack channel (https://the-code-community.slack.com).

Last however not least, there’s a new model v2.25.0 of Go SDK for VMware Cloud Director.

LEAVE A REPLY

Please enter your comment!
Please enter your name here