feat: add support for vSphere Zones#2625
Merged
tenthirtyam merged 3 commits intomainfrom Nov 18, 2025
Merged
Conversation
Signed-off-by: Stoyan Zhelyazkov <stoyan.zhelyazkov@broadcom.com>
Signed-off-by: Stoyan Zhelyazkov <stoyan.zhelyazkov@broadcom.com>
Signed-off-by: Stoyan Zhelyazkov <stoyan.zhelyazkov@broadcom.com>
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adding support for vSphere Zones.
The data source and resource being added in this PR cover the following APIs
https://developer.broadcom.com/xapis/vsphere-automation-api/latest/vcenter/vcenter-consumption-domains-zones/
https://developer.broadcom.com/xapis/vsphere-automation-api/latest/vcenter/vcenter-consumption-domains-zones-cluster-associations/
Type
fix: Bug Fixfeat: Feature or Enhancementdocs: Documentationrefactor: Refactoringchore: Build, Dependencies, Workflows, etc.other: Other (Please describe.)Breaking Changes?
Tests
Output:
📦 github.com/vmware/terraform-provider-vsphere/vsphere
✅ TestAccDataSourceVSphereZone_associations (44.77s)
✅ TestAccDataSourceVSphereZone_basic (6.7s)
✅ TestAccResourceVSphereZone_createAssociations (16.67s)
✅ TestAccResourceVSphereZone_createBasic (3.69s)
✅ TestAccResourceVSphereZone_updateAddAssociation (19.47s)
✅ TestAccResourceVSphereZone_updateAssociations (21.01s)
✅ TestAccResourceVSphereZone_updateBasic (10.98s)
✅ TestAccResourceVSphereZone_updateRemoveAssociation (20.34s)
and the same without
gotestfmtbut including timestampsDocumentation
Issue References
Resolves #2185
Release Note
Additional Information
vSphere Zones are intended to be used for Supervisor enablement. As of now
r/supervisoris not capable of working with vSphere Zones. We aim to remediate this problem and allow enablement on zones in v2.16.0.vSphere Zones are available on vCenter 8 and onwards.