Open Source Provider Binary Expiration

I’m working on a new open source Terraform provider. I have published the provider as instructed, and things are working fine.

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?

Thanks! :grin:

Hey @germ

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.

Thanks for the response!

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:

Or maybe I’m missing something?

Hi @germ,

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.

@stephybun, @rain.kwan,

Okay, sounds like I should be good then. Thank you so much for your comments, I really appreciate them! Have a good day!