vatesfr / terraform-provider-xenorchestra

Xen Orchestra provider for Terraform
MIT License
149 stars 33 forks source link

Use `tfplugindocs` to generate the provider documentation #258

Closed ddelnano closed 10 months ago

ddelnano commented 10 months ago

This PR updates the provider to use tfplugindocs for generating the project's documentation and addresses the vast #256.

This fixes errors found in the docs and upgrades the examples to use the modern HCL syntax. All of the resources and data sources have been migrated to the generated versions with the exception of the xenorchestra_vm resource and xenorchestra_vms data source. These entities contain large nested objects and until the provider is upgraded to use the terraform-plugin-framework the nested objects will have their description omitted (due to https://github.com/hashicorp/terraform-plugin-docs/issues/64#issuecomment-1569246696). That work will be tracked in #256.

Test plan