-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Labels
enhancementEnhancementEnhancement
Description
Code of Conduct
This project has a Code of Conduct that all participants are expected to understand and follow:
- I have read and agree to the project's Code of Conduct
Description
The current implementation of vRA storage profiles in the Terraform provider does not support the storage_filter_type and tags_to_match fields that are available in the latest vRA IaaS API.
According to the API specification:
storage_filter_type: Defines filter type for adding storage objects (datastores) to the storage profile. Valid values are: INCLUDE_ALL, TAG_BASED, MANUAL. Defaults to INCLUDE_ALL.tags_to_match: A set of tag keys and optional values to be set on datastores to be included in this storage profile when storage_filter_type is TAG_BASED.
This enhancement would allow users to leverage storage filtering capabilities when creating storage profiles through Terraform.
Describe alternatives you've considered
Currently users must manually configure storage profile associations without the ability to filter by tags. The only workarounds are:
- Use the vRA UI to configure these settings after creation
- Use the vRA REST API directly
- Manually specify all datastores without filtering
References
- vRA IaaS API Swagger documentation shows these fields are supported in the StorageProfileVsphereSpecification
- Related code: https://github.com/vmware/terraform-provider-vra/blob/main/vra/resource_storage_profile_vsphere.go
Community Note
- 👍 Please vote on this issue if you would find this enhancement useful
- Please do not leave "+1" or other comments that do not add relevant new information or questions
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
willbarfield
Metadata
Metadata
Assignees
Labels
enhancementEnhancementEnhancement