Skip to content

Commit

Permalink
[PLTD-992] Improving AWS EventBridge webhook documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
stsatlantis committed Nov 29, 2024
1 parent a10e7da commit 3ff9fa7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions coralogix/resource_coralogix_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -715,9 +715,11 @@ func (r *WebhookResource) Schema(_ context.Context, _ resource.SchemaRequest, re
Required: true,
MarkdownDescription: "Corresponds to the event bus, which will receive notifications. The policy attached must contain permission to publish.",
},
"detail": schema.StringAttribute{
Optional: true,
},
"detail": schema.StringAttribute{
Required: true,
Default: stringdefault.StaticString(customDefaultPayload),
MarkdownDescription: "Event bridge message. JSON string. More details about the token [\"here\"](https://coralogix.com/docs/user-guides/alerting/outbound-webhooks/generic-outbound-webhooks-alert-webhooks/#placeholders)",
},
"detail_type": schema.StringAttribute{
Required: true,
MarkdownDescription: "Free text to be included in the event.",
Expand Down

0 comments on commit 3ff9fa7

Please sign in to comment.