Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

public_key not set on webhook resources #20

Open
gonzalob opened this issue May 24, 2022 · 0 comments
Open

public_key not set on webhook resources #20

gonzalob opened this issue May 24, 2022 · 0 comments

Comments

@gonzalob
Copy link

I created a webhook resource specifying signed = true, and expected the public key to be accessible for referencing later (as detailed in https://registry.terraform.io/providers/Trois-Six/sendgrid/latest/docs/resources/event_webhook#attributes-reference

This doesn't seem to be working. Running this terraform definition:

provider sendgrid {
  api_key = "<REDACTED>"
}

resource "sendgrid_event_webhook" "blacklist" {
  enabled = true
  url = "<REDACTED>"
  group_resubscribe = false
  group_unsubscribe = false
  unsubscribe = false
  click = false
  open = false
  spam_report = true
  processed = true
  delivered = true
  deferred = true
  dropped = true
  bounce = true
  signed = true
}

output "mail_sender_public_key" {
    value = sendgrid_event_webhook.blacklist.public_key
}

yields this output:

Outputs:

mail_sender_public_key = ""

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

No branches or pull requests

1 participant