I published version v1.1.0 of my Terraform provider on GitHub. Later, I discovered that the documentation directory name was misspelled, causing the Terraform Registry to not display the documentation. After fixing the code, I deleted that version on GitHub and re-created the release with the same name v1.1.0. However, the Terraform Registry hasn’t updated. Additionally, the SHA-256 sum is different from the previous one, which has rendered my v1.1.0 completely obsolete. Has anyone encountered this situation, and how did you handle it? I don’t want to change the version number.
As a general rule, software distributed through third party channels can’t really be unreleased, or rereleased, because there are usually systems in place specifically to prevent changes after it’s been seen.
I’m not sure how the registry release process works, but if you want to change anything about the provider, it would be better to publish a patch release containing the changes. If there is a problem with having the v1.1.0 version published, then the registry might have a way to retract that from the index if you contact support.