nrkno / terraform-registry

A private Terraform registry with modular store backends.
Other
88 stars 5 forks source link

Update cache using Github webhooks #71

Open umglurf opened 1 year ago

umglurf commented 1 year ago

As either a supplement to the regular cache refresh or a replacement, it would improve the registry by listening to Github webhooks and refresh when releases has been done.

stigok commented 1 year ago

Useful resources

stigok commented 1 year ago

This needs to be thought through better for cases where we are running multiple replicas behind a load balancer, as is the case when we run this in Kubernetes. Only one of the replicas will receive the event, and this goes into the same bucket of problems related to leader election and replication across replicas.