terraform-aws-gitlab-runner icon indicating copy to clipboard operation
terraform-aws-gitlab-runner copied to clipboard

Releases not present in the Terraform registry

Open tibuntu opened this issue 1 year ago • 14 comments
trafficstars

Describe the bug

The recently released version 7.5.0 was not yet published in the Terraform registry.

AFAIR this has already happened with a previous version

To Reproduce

Steps to reproduce the behavior:

  1. Visit https://registry.terraform.io/modules/cattle-ops/gitlab-runner/aws/latest
  2. Latest available version is 7.4.0

Expected behavior

Version 7.5.0 is available in the registry

tibuntu avatar Apr 16 '24 06:04 tibuntu

@npalm Can you please resync the Terraform registry? No idea what's going wrong here. Webhook looks good. I don't see any errors.

Maybe the secret in the webhook is wrong? But in this case we should see errors, I guess.

kayman-mk avatar Apr 16 '24 21:04 kayman-mk

On it, but there are no secrets. Publishing a module is just a one time action and next hashicopr should keep it working

npalm avatar Apr 16 '24 21:04 npalm

solved, re-synced

npalm avatar Apr 16 '24 21:04 npalm

Can confirm, thanks for taking care!

tibuntu avatar Apr 17 '24 12:04 tibuntu

Would be great to understand why this is no happening several times

npalm avatar Apr 19 '24 14:04 npalm

Hi. This seems to be happening again for 7.6.0. It was released yesterday, but in Terraform Registry appears up to 7.5.0. Unfortunately, I don't have more information on why this could happen.

Could you, @npalm, please look again? Thank you.

gmeligio avatar May 02 '24 20:05 gmeligio

By the way, I checked both the old module link and the new module link, and they are both up to 7.5.0

I read the Registry FAQ but found nothing relevant.

If it happens often, asking Hashicorp could help identify the issue. https://developer.hashicorp.com/terraform/registry#getting-help

gmeligio avatar May 02 '24 21:05 gmeligio

To add more context, this kind of out-of-sync issue has happened at least once, even to the AWS provider. They said they solved it by talking internally to the Registry Team. So it seems emailing Hashicorp could be a potential option for further investigation. https://github.com/hashicorp/terraform-provider-aws/issues/33588

gmeligio avatar May 02 '24 21:05 gmeligio

I have manually synced the module. Still no clue why it stopped working.

npalm avatar May 03 '24 06:05 npalm

Hi @npalm

Not sure this fixed the problem with 7.6.0, the registry remains on 7.5.0 being the latest.

image

│ There is no available version of module
│ "registry.terraform.io/npalm/gitlab-runner/aws" (main.tf:51) which matches
│ the given version constraint. The newest available version is 7.5.0.

Unibozu avatar May 09 '24 07:05 Unibozu

@Unibozu, you can find it in the new module link: https://registry.terraform.io/modules/cattle-ops/gitlab-runner/aws/latest

I guess the old one is updated periodically, but it seems better to use the new one with the same name as the GitHub organization.

gmeligio avatar May 09 '24 09:05 gmeligio

@npalm Can we tear down the old npalm/... Terraform module?

kayman-mk avatar May 09 '24 10:05 kayman-mk

I have deleted the module npalm/. and triggered another resync. Let's see if it is working. In case we keep the problems. I will re-create the cattle-ops one.

npalm avatar May 09 '24 15:05 npalm

7.6.1 published without problems.

kayman-mk avatar May 10 '24 18:05 kayman-mk

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.

github-actions[bot] avatar Jul 10 '24 02:07 github-actions[bot]