feat: create resource and data source for host configuration profiles#2588
Merged
tenthirtyam merged 13 commits intomainfrom Aug 20, 2025
Merged
feat: create resource and data source for host configuration profiles#2588tenthirtyam merged 13 commits intomainfrom
tenthirtyam merged 13 commits intomainfrom
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>
Signed-off-by: Stoyan Zhelyazkov <stoyan.zhelyazkov@broadcom.com>
Signed-off-by: Stoyan Zhelyazkov <stoyan.zhelyazkov@broadcom.com>
3dc325a to
bcd2f8a
Compare
Signed-off-by: Stoyan Zhelyazkov <stoyan.zhelyazkov@broadcom.com>
bcd2f8a to
dc58780
Compare
tenthirtyam
reviewed
Aug 20, 2025
tenthirtyam
reviewed
Aug 20, 2025
tenthirtyam
reviewed
Aug 20, 2025
tenthirtyam
reviewed
Aug 20, 2025
tenthirtyam
reviewed
Aug 20, 2025
tenthirtyam
reviewed
Aug 20, 2025
tenthirtyam
requested changes
Aug 20, 2025
Contributor
tenthirtyam
left a comment
There was a problem hiding this comment.
Added some minor comments anf suggestions, but otherwise 🚀 .
Co-authored-by: Ryan Johnson <ryan.johnson@broadcom.com>
Co-authored-by: Ryan Johnson <ryan.johnson@broadcom.com>
Co-authored-by: Ryan Johnson <ryan.johnson@broadcom.com>
Co-authored-by: Ryan Johnson <ryan.johnson@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 the capability to manage host configuration profiles.
Overview
The purpose of this new functionality is to allow for easy management of configuration profiles and ease their propagation across clusters.
First of all it is much easier to propagate the configuration of one cluster to another via Terraform without having to even download the configuration file on a local filesystem.
Second, modifications to a configuration are not incorporated into the new resources. As an alternative an administrator can easily access the current configuration and its schema, make any number of modifications in a text editor of their choice, and simply re-apply them to the cluster.
d/vsphere_configuration_profileThis data source accepts a
cluster_id(identifier of compute cluster) and reads its configuration profile if one is applied or fails otherwise.The resulting configuration is available under the
configurationattribute.r/vsphere_configuration_profileThis resource can enable management via configuration profiles on a cluster and can apply a configuration on all hosts or a subset of hosts (if explicitly specified).
The source of the configuration can either be a reference host that is part of the same cluster or a plain JSON configuration that is read from a file or from another cluster.
Type
fix: Bug Fixfeat: Feature or Enhancementdocs: Documentationrefactor: Refactoringchore: Build, Dependencies, Workflows, etc.other: Other (Please describe.)Breaking Changes?
Tests
Documentation
Release Note