- Notifications
You must be signed in to change notification settings - Fork925
Open
Description
Description
Currently, when a new version ofterraform-provider-coder is released, theprovisioner/terraform/testdata
directory in the coder repository needs to be updated manually by running thegenerate.sh
script. However, there is no enforcement or automated check to ensure this happens, especially in cases like adding optional parameters to the terraform schema, so these test data files can remain outdated for several releases (example PR:#18044)
We already have a Dependabot action that updates theterraform-provider-coder
version (example) This issue proposes enhancing that workflow to:
- Automatically run the
generate.sh
script after theterraform-provider-coder
version is updated. - Run the
provisioner/terraform
test suite to verify the generated test data. - If any tests fail, notify the team so they can manually update the tests accordingly.
This will help keep the test data in sync with provider updates and reduce manual maintenance, improving overall test reliability.
Metadata
Metadata
Assignees
Labels
No labels