opentofu / registry-alpha

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

Add terraform-provider-gitlab public signing key #133

Closed timofurrer closed 1 year ago

timofurrer commented 1 year ago

This is the public signing key for the GitLab Terraform provider:

Yantrio commented 1 year ago

Thanks for your contribution! <3

timofurrer commented 1 year ago

@Yantrio is there something missing that I'm still getting that the signature cannot be validated:

./tofu init

Initializing the backend...

Initializing provider plugins...
- Finding latest version of gitlabhq/gitlab...
- Installing gitlabhq/gitlab v16.4.1...
- Installed gitlabhq/gitlab v16.4.1. Signature validation was skipped due to the registry not containing GPG keys for this provider

OpenTofu has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that OpenTofu can guarantee to make the same selections by default when
you run "tofu init" in the future.

OpenTofu has been successfully initialized!

You may now begin working with OpenTofu. Try running "tofu plan" to see
any changes that are required for your infrastructure. All OpenTofu commands
should now work.

If you ever set or change modules or backend configuration for OpenTofu,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
Yantrio commented 1 year ago

Hi @timofurrer small oversight on my part here. We match keys based on the org owner.

In this case the org owner is gitlabhq and not gitlab. I'll put in a pull request to rename and then I'll deploy this straight away for you

timofurrer commented 1 year ago

Ah, that makes sense, thanks!

Yantrio commented 1 year ago

Hi @timofurrer this is now resolved in #143 and deployed to the registry 🎉

Thanks for raising this. Please try again.

For reference. Here it is working on my system now

image

If you hit any other issues feel free to reach out or raise an issue in this repo! thanks <3