Skip to content

IPAM Autopilot - issue with generating key and signing #1281

@surendar-manoharan

Description

@surendar-manoharan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions