opentofu / registry-alpha

Home of the official OpenTofu provider and module registry
Apache License 2.0
64 stars 13 forks source link

Support both `X.X.X` and `vX.X.X` tags for modules #123

Closed RLRabinowitz closed 1 year ago

RLRabinowitz commented 1 year ago

Fixes https://github.com/opentofu/registry/issues/121

Validate that tag vX.X.X exists before returning the github redirect URL. If it doesn't, then assume the tag is in format X.X.X This part could benefit later on from caching in DDB, to avoid unnecessary API calls to GH