vmware / terraform-provider-vra

Terraform Provider for VMware Aria Automation
https://registry.terraform.io/providers/vmware/vra/
Mozilla Public License 2.0
101 stars 89 forks source link

Remove deprecated API Usage (Catalog Entitlements) #498

Closed the-vas closed 3 months ago

the-vas commented 1 year ago

Code of Conduct

This project has a Code of Conduct that all participants are expected to understand and follow:

Description

Please Update the API Usage for Catalog Entitlements.

Describe alternatives you've considered

Currently a deprecated API Path is used for Catalog Entitlements. With vRA 8.8 Entitlements should be created via Content Sharing Policy (/policy/api/policies). The Problem we are currently facing with the usage of the deprecated API is, that the defined state is not fully applied to the system leading to a configuration drift and manual clean up.

References

Code: https://github.com/vmware/vra-sdk-go/blob/46d819a2bf81fd75b3d97342accc879939ae3050/pkg/client/catalog_entitlements/catalog_entitlements_client.go#L55C24-L55C55

VMWare Ticket Reference: SR 23449444007

Community Note

frodenas commented 3 months ago

The old vra_catalog_item_entitlement and vra_catalog_source_entitlement data source and resource have been deprecated in favor of a new vra_content_sharing_policy data source and resource.