However, one thing I am uncertain about is: My GitHub repo has a maximum artifact retention period of 90 days. I can’t go higher than this.
When users download my provider, is it cached and retained at the Terraform Registry? Or are they always fetched from GitHub and I need to find a way to increase my archival retention settings there?
The Registry behaves as a mirror for these GitHub releases, so the release artifacts need to persist.
I don’t believe there is an issue here though since the ‘Artifact and log retention’ setting here relates to the artifacts and logs produced by GitHub Actions.
Interesting… I actually had the opposite opinion. I’m following the instructions for publishing the provider using GitHub Actions, I had assumed this would apply. Specifically the instructions start like this:
The terraform registry ingresses provider binaries from your Github repos releases and as far as I can tell, there’s no maximum retention for Github releases. The maximum artifact retention period setting that you’re referring to seems to be about Github Actions artifact retention and should not affect releases.