Skip to content

Commit

Permalink
fix(status page): add IncomingWebhook as a resource_type (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfullset committed Apr 8, 2024
1 parent 02a3d62 commit 40a2424
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/betteruptime_status_page_resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ https://betterstack.com/docs/uptime/api/status-page-resources/

- **public_name** (String) The resource name displayed publicly on your status page.
- **resource_id** (Number) The ID of the resource you are adding.
- **resource_type** (String) The type of the resource you are adding. Available values: Monitor, Heartbeat, WebhookIntegration, EmailIntegration.
- **resource_type** (String) The type of the resource you are adding. Available values: Monitor, Heartbeat, WebhookIntegration, EmailIntegration, IncomingWebhook.
- **status_page_id** (String) The ID of the Status Page.

### Optional
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_status_page_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var statusPageResourceSchema = map[string]*schema.Schema{
Required: true,
},
"resource_type": {
Description: "The type of the resource you are adding. Available values: Monitor, Heartbeat, WebhookIntegration, EmailIntegration.",
Description: "The type of the resource you are adding. Available values: Monitor, Heartbeat, WebhookIntegration, EmailIntegration, IncomingWebhook.",
Type: schema.TypeString,
Required: true,
// TODO: ValidateDiagFunc: validation.StringInSlice
Expand Down

0 comments on commit 40a2424

Please sign in to comment.