Skip to content

Latest commit

 

History

History
58 lines (51 loc) · 6.49 KB

TROUBLESHOOT.md

File metadata and controls

58 lines (51 loc) · 6.49 KB

Troubleshooting

Providers

Issues when referencing a provider

Error: failed to install provider

Description

If you have an error during terraform init, similar to:

│ Error: Failed to install provider
│
│ Error while installing example.org/paco/foo v1.3.7: provider binary not found: could not find executable file starting with
│ terraform-provider-foo
Possible resolution
  • Terraform has strict naming requirements
  • Please read through the official Terraform guide how to create your release manually.
Description

If you have an error during terraform init, similar to:

╷
│ Error: Failed to install provider
│
│ Error while installing example.org/XXX/XXX vX.X.X: error checking signature: openpgp: unsupported feature: public key algorithm 22
Possible resolution
  • Terraform has only support for RSA and DSA keys!
  • Follow the official Terraform guide to create your keys manually.
Description
╷
│ Error: Failed to install provider
│
│ Error while installing example.org/XXX/XXX vX.X.X: error decoding signing key: openpgp: invalid argument: no armored data found
╵
Possible resolution
  • Tapir has no valid armored public key that fits the signature for Terraform to validate the provider signature
  • Run gpg --list-keys and verify you picked the right one. Also ensure it's a RSA/DSA key.
  • --------------------------------------
      pub   rsa4096 2023-02-11 [SC]
      D17C807B4156558133A1FB843C7461473EB779BD
      uid        [ ultimativ ] Tapir Dev (The key is only used for testing purpose of Tapir) <tapir-dev@paco.vk>
      sub   rsa4096 2023-02-11 [E]
    
  • Export the armored public key using:
  • gpg --export --armor D17C807B4156558133A1FB843C7461473EB779BD | base64
  • Add the key to Tapirs config using environment variables. Mind that the environment variables are indexed. Eg. if you have only on key the configuration for the example above would be the following. Mind the two subsequent underscores after the index 0
REGISTRY_GPG_KEYS_0__ID=D17C807B4156558133A1FB843C7461473EB779BD
REGISTRY_GPG_KEYS_0__ASCII_ARMOR=LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptUUlOQkdQbjdIY0JFQURZSnpWaS9CSTZWRUdvdXpjUnd5ZUVucnZsNi82SUtEc3gzZTlTU240eDJrSkNsWEtYCnEyMmJrMFptSUpuRjkyRjZOUm54dTB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