Prepare repository for publishing to the Terraform Registry #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR makes the changes I believe to be necessary to perform deployments to build releases that are compatible with the Terraform Registry.
I've followed the steps myself already on my forked version of this repository to verify the steps should be correct. The resulting provider can be found at https://registry.terraform.io/providers/lesteenman/qbee-lesteenman/latest. I've tried my best to make it clear this is not the official version of this provider, and I will attempt to add a link to the official provider once it's available in its description to make it even more clear.
After merging this PR, the following steps are required to be taken manually.
Set up Github repository
Follow the steps in https://developer.hashicorp.com/terraform/registry/providers/publishing#github-actions-preferred . The PR already includes steps 3 (goreleaser configuration) and 4 (github workflow file). The other steps are required to make signed releases to Github.
The steps involve:
Publish to the Registry
Follow the steps at https://developer.hashicorp.com/terraform/registry/providers/publishing#publishing-to-the-registry
These steps involve:
These steps have taken me minutes to do for my own fork, assuming you already have GPG installed.