Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPAM Autopilot - issue with generating key and signing #1281

Open
surendar-manoharan opened this issue May 10, 2024 · 0 comments
Open

IPAM Autopilot - issue with generating key and signing #1281

surendar-manoharan opened this issue May 10, 2024 · 0 comments

Comments

@surendar-manoharan
Copy link

I am getting below error running terraform (storage blocks)..Apparently the local provisioner with gpg should export the public key and generate shasums.sig files for signing the provider binaries but it couldn't locate the appropriate file in temp directory. Besides there is no resource block or definition that can create the shamsums.sig file in the temp directory. gpg export should also run in the appropriate path to export the public key.

│ Error: local-exec provisioner error

│ with null_resource.shasums_sig,
│ on storage.tf line 34, in resource "null_resource" "shasums_sig":
│ 34: provisioner "local-exec" {

│ Error running command 'gpg --export -a > ./public.key
│ rm ./.temp/shasums.sig
│ gpg --output ./.temp/shasums.sig --detach-sign ./.temp/shasums
│ ': exit status 2. Output: gpg: WARNING: nothing exported
│ rm: cannot remove './.temp/shasums.sig': No such file or directory
│ gpg: no default secret key: No secret key
│ gpg: signing failed: No secret key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant