OctopusDeployLabs / terraform-provider-octopusdeploy

Terraform Provider for Octopus Deploy :octopus:
https://registry.terraform.io/providers/OctopusDeployLabs/octopusdeploy
Mozilla Public License 2.0
81 stars 67 forks source link

Tidy schema helper and add tests #759

Closed benPearce1 closed 1 month ago

benPearce1 commented 1 month ago

This PR does the following: Removes the util/schema.go file and moves all schema functionality to the schemas package Introduces an interface for all schema defintions: EntitySchema Implements that schema on all resource/datasource schemas Adds a test in the ensure that all attributes are coming from the appropriate source schema package e.g all attributes and nested attributes for a datasource come from github.com/hashicorp/terraform-plugin-framework/datasource/schema and vice-versa for resources