vmware / terraform-provider-vcf

Terraform Provider for VMware Cloud Foundation
https://registry.terraform.io/providers/vmware/vcf/
Mozilla Public License 2.0
23 stars 10 forks source link

feat: Support for vSAN Stretched Clusters #154

Closed spacegospod closed 7 months ago

spacegospod commented 7 months ago

Summary of Pull Request

Adding a new capability to the cluster resource that enables vSAN to be configured in stretched mode.

The new capability is controlled via a new input property called "stretch_configuration". Inside one can configure both the witness host and the additional hosts that will be commissioned into the cluster.

Removing the new property from a cluster's configuration signals that the cluster should go back into single-site mode (unstretched)

It is not possible to create a stretched cluster via the SDDC manager and this operation is explicitly forbidden in the provider. Users will be advised to first create their cluster and apply the advanced vSAN configuration in a subsequent update.

Type of Pull Request

Related to Existing Issues

Issue Number: N/A

Test and Documentation Coverage

For bug fixes or features:

Breaking Changes?

spacegospod commented 7 months ago

@dimitarproynov I renamed "stretch_configuration" to "vsan_stretch_configuration" Which means I have to ask you to stamp this PR one more time

github-actions[bot] commented 6 months ago

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.