diff --git a/Makefile b/Makefile index bcdade5..53345b9 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ GOLANGCI_LINT := golangci-lint run --disable-all \ -E staticcheck \ -E typecheck \ -E unused -VERSION := 0.6.0 +VERSION := 0.6.1 .PHONY: test build help: diff --git a/docs/data-sources/betteruptime_monitor.md b/docs/data-sources/betteruptime_monitor.md index 68c8ec0..1e66837 100644 --- a/docs/data-sources/betteruptime_monitor.md +++ b/docs/data-sources/betteruptime_monitor.md @@ -64,8 +64,11 @@ Monitor lookup. `imap` We will check for an IMAP server at the host specified in the url parameter (port is required, and can be 143, 993, or both). + + `playwright` We will run the scenario defined by playwright_script, identified in the UI by scenario_name - **paused** (Boolean) Set to true to pause monitoring - we won't notify you about downtime. Set to false to resume monitoring. - **paused_at** (String) The time when this monitor was paused. +- **playwright_script** (String) For Playwright monitors, the JavaScript source code of the scenario. - **policy_id** (String) Set the escalation policy for the monitor. - **port** (String) Required if monitor_type is set to tcp, udp, smtp, pop, or imap. tcp and udp monitors accept any ports, while smtp, pop, and imap accept only the specified ports corresponding with their servers (e.g. "25,465,587" for smtp). - **pronounceable_name** (String) Pronounceable name of the monitor. We will use this when we call you. Try to make it tongue-friendly, please? @@ -77,6 +80,7 @@ Monitor lookup. - **request_headers** (List of Map of String) An array of request headers, consisting of name and value pairs - **request_timeout** (Number) How long to wait before timing out the request? In seconds. - **required_keyword** (String) Required if monitor_type is set to keyword or udp. We will create a new incident if this keyword is missing on your page. +- **scenario_name** (String) For Playwright monitors, the scenario name identifying the monitor in the UI. - **sms** (Boolean) Should we send an SMS to the on-call person? - **ssl_expiration** (Number) How many days before the SSL certificate expires do you want to be alerted? Valid values are 1, 2, 3, 7, 14, 30, and 60. - **status** (String) The status of this website check. diff --git a/docs/data-sources/betteruptime_policy.md b/docs/data-sources/betteruptime_policy.md index eba7cf0..047c811 100644 --- a/docs/data-sources/betteruptime_policy.md +++ b/docs/data-sources/betteruptime_policy.md @@ -48,6 +48,7 @@ Read-Only: Read-Only: - **id** (Number) +- **team_id** (Number) - **type** (String) diff --git a/docs/resources/betteruptime_aws_cloudwatch_integration.md b/docs/resources/betteruptime_aws_cloudwatch_integration.md index 92df34b..e2eea49 100644 --- a/docs/resources/betteruptime_aws_cloudwatch_integration.md +++ b/docs/resources/betteruptime_aws_cloudwatch_integration.md @@ -17,19 +17,19 @@ https://betterstack.com/docs/uptime/api/aws-cloudwatch-integrations/ ### Optional -- **call** (Boolean) Should we call the on-call person? -- **email** (Boolean) Should we send an email to the on-call person? -- **name** (String) The name of this AWS CloudWatch integration. -- **paused** (Boolean) Set to true to pause monitoring - we won't notify you about downtime. Set to false to resume monitoring. +- **call** (Boolean) Do we call the on-call person? +- **email** (Boolean) Do we send an email to the on-call person? +- **id** (String) The ID of the AWS CloudWatch Integration. +- **name** (String) The name of the AWS CloudWatch Integration. +- **paused** (Boolean) Is the AWS CloudWatch integration paused. - **policy_id** (Number) ID of the escalation policy associated with the AWS CloudWatch integration. -- **push** (Boolean) Should we send a push notification to the on-call person? -- **recovery_period** (Number) How long the integration must be up to automatically mark an incident as resolved after being down. -- **sms** (Boolean) Should we send an SMS to the on-call person? -- **team_wait** (Number) How long to wait before escalating the incident alert to the team. Leave blank to disable escalating to the entire team. +- **push** (Boolean) Do we send a push notification to the on-call person? +- **recovery_period** (Number) How long the alert must be up to automatically mark an incident as resolved. In seconds. +- **sms** (Boolean) Do we send an SMS to the on-call person? +- **team_wait** (Number) How long we wait before escalating the incident alert to the team. In seconds. ### Read-Only -- **id** (String) The ID of this AWS CloudWatch integration. -- **webhook_url** (String) The URL to which to point the AWS CloudWatch webhook to. +- **webhook_url** (String) The webhook URL for the AWS CloudWatch integration. diff --git a/docs/resources/betteruptime_azure_integration.md b/docs/resources/betteruptime_azure_integration.md index 1013625..d7ce02c 100644 --- a/docs/resources/betteruptime_azure_integration.md +++ b/docs/resources/betteruptime_azure_integration.md @@ -17,17 +17,19 @@ https://betterstack.com/docs/uptime/api/azure-integrations/ ### Optional -- **call** (Boolean) Should we call the on-call person? -- **email** (Boolean) Should we send an email to the on-call person? -- **name** (String) The name of this Azure integration. -- **paused** (Boolean) Set to true to pause monitoring - we won't notify you about downtime. Set to false to resume monitoring. +- **call** (Boolean) Do we call the on-call person? +- **email** (Boolean) Do we send an email to the on-call person? +- **id** (String) The ID of the Azure Integration. +- **name** (String) The name of the Azure Integration. +- **paused** (Boolean) Is the Azure integration paused. - **policy_id** (Number) ID of the escalation policy associated with the Azure integration. -- **push** (Boolean) Should we send a push notification to the on-call person? -- **recovery_period** (Number) How long the integration must be up to automatically mark an incident as resolved after being down. -- **sms** (Boolean) Should we send an SMS to the on-call person? -- **team_wait** (Number) How long to wait before escalating the incident alert to the team. Leave blank to disable escalating to the entire team. +- **push** (Boolean) Do we send a push notification to the on-call person? +- **recovery_period** (Number) How long the alert must be up to automatically mark an incident as resolved. In seconds. +- **sms** (Boolean) Do we send an SMS to the on-call person? +- **team_wait** (Number) How long we wait before escalating the incident alert to the team. In seconds. ### Read-Only -- **id** (String) The ID of this Azure integration. -- **webhook_url** (String) The URL to which to point the Azure webhook to. +- **webhook_url** (String) The webhook URL for the Azure integration. + + diff --git a/docs/resources/betteruptime_datadog_integration.md b/docs/resources/betteruptime_datadog_integration.md index ec27c54..dcda72a 100644 --- a/docs/resources/betteruptime_datadog_integration.md +++ b/docs/resources/betteruptime_datadog_integration.md @@ -17,20 +17,20 @@ https://betterstack.com/docs/uptime/api/datadog-integrations/ ### Optional -- **call** (Boolean) Should we call the on-call person? -- **email** (Boolean) Should we send an email to the on-call person? -- **name** (String) The name of this Datadog integration. -- **paused** (Boolean) Set to true to pause monitoring - we won't notify you about downtime. Set to false to resume monitoring. +- **alerting_rule** (String) Should we alert only on alarms, or on both alarms and warnings. Possible values: alert, alert_and_warn. +- **call** (Boolean) Do we call the on-call person? +- **email** (Boolean) Do we send an email to the on-call person? +- **id** (String) The ID of the Datadog Integration. +- **name** (String) The name of the Datadog Integration. +- **paused** (Boolean) Is the Datadog integration paused. - **policy_id** (Number) ID of the escalation policy associated with the Datadog integration. -- **push** (Boolean) Should we send a push notification to the on-call person? -- **recovery_period** (Number) How long the integration must be up to automatically mark an incident as resolved after being down. -- **sms** (Boolean) Should we send an SMS to the on-call person? -- **team_wait** (Number) How long to wait before escalating the incident alert to the team. Leave blank to disable escalating to the entire team. -- **alerting_rule** (String) Should we alert only on alarms, or on both alarms and warnings. Possible values: `alert`, `alert_and_warn`. +- **push** (Boolean) Do we send a push notification to the on-call person? +- **recovery_period** (Number) How long the alert must be up to automatically mark an incident as resolved. In seconds. +- **sms** (Boolean) Do we send an SMS to the on-call person? +- **team_wait** (Number) How long we wait before escalating the incident alert to the team. In seconds. ### Read-Only -- **id** (String) The ID of this Datadog integration. -- **webhook_url** (String) The URL to which to point the Datadog webhook to. +- **webhook_url** (String) The webhook URL for the Datadog integration. diff --git a/docs/resources/betteruptime_email_integration.md b/docs/resources/betteruptime_email_integration.md index ab0c842..f51af51 100644 --- a/docs/resources/betteruptime_email_integration.md +++ b/docs/resources/betteruptime_email_integration.md @@ -33,7 +33,7 @@ https://betterstack.com/docs/uptime/api/email-integrations/ - **other_resolved_fields** (Block List) An array of additional fields, which will be extracted when resolving an incident. (see [below for nested schema](#nestedblock--other_resolved_fields)) - **other_started_fields** (Block List) An array of additional fields, which will be extracted when starting an incident. (see [below for nested schema](#nestedblock--other_started_fields)) - **paused** (Boolean) Set to true to pause monitoring - we won't notify you about downtime. Set to false to resume monitoring. -- **policy_id** (Number) ID of the escalation policy associated with the email integration. +- **policy_id** (String) ID of the escalation policy associated with the email integration. - **push** (Boolean) Should we send a push notification to the on-call person? - **recovery_period** (Number) How long the integration must be up to automatically mark an incident as resolved after being down. - **resolved_alert_id_field** (Block Set) When resolving an incident, how to extract an alert id, a unique alert identifier which will be used to acknowledge and resolve incidents. (see [below for nested schema](#nestedblock--resolved_alert_id_field)) diff --git a/docs/resources/betteruptime_google_monitoring_integration.md b/docs/resources/betteruptime_google_monitoring_integration.md index 425ab83..66267b3 100644 --- a/docs/resources/betteruptime_google_monitoring_integration.md +++ b/docs/resources/betteruptime_google_monitoring_integration.md @@ -17,19 +17,19 @@ https://betterstack.com/docs/uptime/api/google-monitoring-integrations/ ### Optional -- **call** (Boolean) Should we call the on-call person? -- **email** (Boolean) Should we send an email to the on-call person? -- **name** (String) The name of this Google Monitoring integration. -- **paused** (Boolean) Set to true to pause monitoring - we won't notify you about downtime. Set to false to resume monitoring. +- **call** (Boolean) Do we call the on-call person? +- **email** (Boolean) Do we send an email to the on-call person? +- **id** (String) The ID of the Google Monitoring Integration. +- **name** (String) The name of the Google Monitoring Integration. +- **paused** (Boolean) Is the Google Monitoring integration paused. - **policy_id** (Number) ID of the escalation policy associated with the Google Monitoring integration. -- **push** (Boolean) Should we send a push notification to the on-call person? -- **recovery_period** (Number) How long the integration must be up to automatically mark an incident as resolved after being down. -- **sms** (Boolean) Should we send an SMS to the on-call person? -- **team_wait** (Number) How long to wait before escalating the incident alert to the team. Leave blank to disable escalating to the entire team. +- **push** (Boolean) Do we send a push notification to the on-call person? +- **recovery_period** (Number) How long the alert must be up to automatically mark an incident as resolved. In seconds. +- **sms** (Boolean) Do we send an SMS to the on-call person? +- **team_wait** (Number) How long we wait before escalating the incident alert to the team. In seconds. ### Read-Only -- **id** (String) The ID of this Google Monitoring integration. -- **webhook_url** (String) The URL to which to point the Google Monitoring webhook to. +- **webhook_url** (String) The webhook URL for the Google Monitoring integration. diff --git a/docs/resources/betteruptime_grafana_integration.md b/docs/resources/betteruptime_grafana_integration.md index 05c7d22..a4a72b5 100644 --- a/docs/resources/betteruptime_grafana_integration.md +++ b/docs/resources/betteruptime_grafana_integration.md @@ -17,19 +17,19 @@ https://betterstack.com/docs/uptime/api/grafana-integrations/ ### Optional -- **call** (Boolean) Should we call the on-call person? -- **email** (Boolean) Should we send an email to the on-call person? -- **name** (String) The name of this Grafana integration. -- **paused** (Boolean) Set to true to pause monitoring - we won't notify you about downtime. Set to false to resume monitoring. +- **call** (Boolean) Do we call the on-call person? +- **email** (Boolean) Do we send an email to the on-call person? +- **id** (String) The ID of the Grafana Integration. +- **name** (String) The name of the Grafana Integration. +- **paused** (Boolean) Is the Grafana integration paused. - **policy_id** (Number) ID of the escalation policy associated with the Grafana integration. -- **push** (Boolean) Should we send a push notification to the on-call person? -- **recovery_period** (Number) How long the integration must be up to automatically mark an incident as resolved after being down. -- **sms** (Boolean) Should we send an SMS to the on-call person? -- **team_wait** (Number) How long to wait before escalating the incident alert to the team. Leave blank to disable escalating to the entire team. +- **push** (Boolean) Do we send a push notification to the on-call person? +- **recovery_period** (Number) How long the alert must be up to automatically mark an incident as resolved. In seconds. +- **sms** (Boolean) Do we send an SMS to the on-call person? +- **team_wait** (Number) How long we wait before escalating the incident alert to the team. In seconds. ### Read-Only -- **id** (String) The ID of this Grafana integration. -- **webhook_url** (String) The URL to which to point the Grafana webhook to. +- **webhook_url** (String) The webhook URL for the Grafana integration. diff --git a/docs/resources/betteruptime_metadata.md b/docs/resources/betteruptime_metadata.md index d69766c..9254a50 100644 --- a/docs/resources/betteruptime_metadata.md +++ b/docs/resources/betteruptime_metadata.md @@ -17,15 +17,15 @@ https://betterstack.com/docs/uptime/api/metadata/ ### Required -- **Owner type** (String) Valid values: `Monitor`, `Heartbeat`, `Incident`, `WebhookIntegration`, `EmailIntegration`, `IncomingWebhook` -- **Owner ID** (String) The ID of the resource owning this metadata. -- **Key** (String) The key of this metadata. -- **Value** (String) The value of this metadata. +- **key** (String) The key of this Metadata. +- **owner_id** (Number) The ID of the owner of this Metadata. +- **owner_type** (String) The type of the owner of this Metadata. Valid values: `Monitor`, `Heartbeat`, `Incident`, `WebhookIntegration`, `EmailIntegration`, `IncomingWebhook` +- **value** (String) The value of this Metadata. ### Read-Only -- **created_at** (String) The time when this monitor was created. -- **id** (String) The ID of this Monitor. -- **updated_at** (String) The time when this monitor was updated. +- **created_at** (String) The time when this metadata was created. +- **id** (String) The ID of this Metadata. +- **updated_at** (String) The time when this metadata was updated. diff --git a/docs/resources/betteruptime_monitor.md b/docs/resources/betteruptime_monitor.md index 0122016..67c80ec 100644 --- a/docs/resources/betteruptime_monitor.md +++ b/docs/resources/betteruptime_monitor.md @@ -43,6 +43,8 @@ https://betterstack.com/docs/uptime/api/monitors/ `imap` We will check for an IMAP server at the host specified in the url parameter (port is required, and can be 143, 993, or both). + + `playwright` We will run the scenario defined by playwright_script, identified in the UI by scenario_name - **url** (String) URL of your website or the host you want to ping (see monitor_type below). ### Optional @@ -62,6 +64,7 @@ https://betterstack.com/docs/uptime/api/monitors/ - **maintenance_to** (String) End of the maintenance window each day. Example: "03:00:00" - **monitor_group_id** (Number) Set this attribute if you want to add this monitor to a monitor group. - **paused** (Boolean) Set to true to pause monitoring - we won't notify you about downtime. Set to false to resume monitoring. +- **playwright_script** (String) For Playwright monitors, the JavaScript source code of the scenario. - **policy_id** (String) Set the escalation policy for the monitor. - **port** (String) Required if monitor_type is set to tcp, udp, smtp, pop, or imap. tcp and udp monitors accept any ports, while smtp, pop, and imap accept only the specified ports corresponding with their servers (e.g. "25,465,587" for smtp). - **pronounceable_name** (String) Pronounceable name of the monitor. We will use this when we call you. Try to make it tongue-friendly, please? @@ -73,6 +76,7 @@ https://betterstack.com/docs/uptime/api/monitors/ - **request_headers** (List of Map of String) An array of request headers, consisting of name and value pairs - **request_timeout** (Number) How long to wait before timing out the request? In seconds. - **required_keyword** (String) Required if monitor_type is set to keyword or udp. We will create a new incident if this keyword is missing on your page. +- **scenario_name** (String) For Playwright monitors, the scenario name identifying the monitor in the UI. - **sms** (Boolean) Should we send an SMS to the on-call person? - **ssl_expiration** (Number) How many days before the SSL certificate expires do you want to be alerted? Valid values are 1, 2, 3, 7, 14, 30, and 60. - **team_wait** (Number) How long to wait before escalating the incident alert to the team. Leave blank to disable escalating to the entire team. In seconds. diff --git a/docs/resources/betteruptime_new_relic_integration.md b/docs/resources/betteruptime_new_relic_integration.md index 2a7c507..5c7e53c 100644 --- a/docs/resources/betteruptime_new_relic_integration.md +++ b/docs/resources/betteruptime_new_relic_integration.md @@ -17,20 +17,20 @@ https://betterstack.com/docs/uptime/api/new-relic-integrations/ ### Optional -- **call** (Boolean) Should we call the on-call person? -- **email** (Boolean) Should we send an email to the on-call person? -- **name** (String) The name of this New Relic integration. -- **paused** (Boolean) Set to true to pause monitoring - we won't notify you about downtime. Set to false to resume monitoring. -- **policy_id** (Number) ID of the escalation policy associated with the New Relic integration. -- **push** (Boolean) Should we send a push notification to the on-call person? -- **recovery_period** (Number) How long the integration must be up to automatically mark an incident as resolved after being down. -- **sms** (Boolean) Should we send an SMS to the on-call person? -- **team_wait** (Number) How long to wait before escalating the incident alert to the team. Leave blank to disable escalating to the entire team. -- **alerting_rule** (String) Should we alert only on alarms, or on both alarms and warnings. Possible values: `alert`, `alert_and_warn`. +- **alerting_rule** (String) Should we alert only on alarms, or on both alarms and warnings. Possible values: alert, alert_and_warn. +- **call** (Boolean) Do we call the on-call person? +- **email** (Boolean) Do we send an email to the on-call person? +- **id** (String) The ID of the AWS CloudWatch Integration. +- **name** (String) The name of the AWS CloudWatch Integration. +- **paused** (Boolean) Is the AWS CloudWatch integration paused. +- **policy_id** (Number) ID of the escalation policy associated with the AWS CloudWatch integration. +- **push** (Boolean) Do we send a push notification to the on-call person? +- **recovery_period** (Number) How long the alert must be up to automatically mark an incident as resolved. In seconds. +- **sms** (Boolean) Do we send an SMS to the on-call person? +- **team_wait** (Number) How long we wait before escalating the incident alert to the team. In seconds. ### Read-Only -- **id** (String) The ID of this New Relic integration. -- **webhook_url** (String) The URL to which to point the New Relic webhook to. +- **webhook_url** (String) The webhook URL for the AWS CloudWatch integration. diff --git a/docs/resources/betteruptime_pagerduty_integration.md b/docs/resources/betteruptime_pagerduty_integration.md index 7398d90..e27b45a 100644 --- a/docs/resources/betteruptime_pagerduty_integration.md +++ b/docs/resources/betteruptime_pagerduty_integration.md @@ -15,12 +15,16 @@ https://betterstack.com/docs/uptime/api/pagerduty-integrations/ ## Schema +### Required + +- **key** (String) The PagerDuty routing key. + ### Optional -- **name** (String) The name of this PagerDuty integration. -- **key** (String) The routing key for this PagerDuty integration. +- **name** (String) The name of the PagerDuty Integration. ### Read-Only -- **id** (String) The ID of this PagerDuty integration. +- **id** (String) The ID of the PagerDuty Integration. + diff --git a/docs/resources/betteruptime_policy.md b/docs/resources/betteruptime_policy.md index 9512ae7..9f8816c 100644 --- a/docs/resources/betteruptime_policy.md +++ b/docs/resources/betteruptime_policy.md @@ -57,6 +57,7 @@ Required: Optional: -- **id** (Number) The ID of the resource to notify during an incident. Required for user, webhook, slack_integration, microsoft_teams_integration and zapier_webhook member types. This is e.g. the ID of the user to notify when member type is user. Can be used for entire_team member type to specify the ID of the team to notify (current team if not provided). +- **id** (Number) The ID of the resource to notify during an incident. Required for user, webhook, slack_integration, microsoft_teams_integration and zapier_webhook member types. This is e.g. the ID of the user to notify when member type is user. +- **team_id** (Number, Deprecated) The ID of the team to notify when member team is entire_team. When left empty, the default team for the incident is used. diff --git a/docs/resources/betteruptime_prometheus_integration.md b/docs/resources/betteruptime_prometheus_integration.md index 3e1d089..07b85a6 100644 --- a/docs/resources/betteruptime_prometheus_integration.md +++ b/docs/resources/betteruptime_prometheus_integration.md @@ -17,19 +17,19 @@ https://betterstack.com/docs/uptime/api/prometheus-integrations/ ### Optional -- **call** (Boolean) Should we call the on-call person? -- **email** (Boolean) Should we send an email to the on-call person? -- **name** (String) The name of this Prometheus integration. -- **paused** (Boolean) Set to true to pause monitoring - we won't notify you about downtime. Set to false to resume monitoring. -- **policy_id** (Number) ID of the escalation policy associated with the Prometheus integration. -- **push** (Boolean) Should we send a push notification to the on-call person? -- **recovery_period** (Number) How long the integration must be up to automatically mark an incident as resolved after being down. -- **sms** (Boolean) Should we send an SMS to the on-call person? -- **team_wait** (Number) How long to wait before escalating the incident alert to the team. Leave blank to disable escalating to the entire team. +- **call** (Boolean) Do we call the on-call person? +- **email** (Boolean) Do we send an email to the on-call person? +- **id** (String) The ID of the AWS CloudWatch Integration. +- **name** (String) The name of the AWS CloudWatch Integration. +- **paused** (Boolean) Is the AWS CloudWatch integration paused. +- **policy_id** (Number) ID of the escalation policy associated with the AWS CloudWatch integration. +- **push** (Boolean) Do we send a push notification to the on-call person? +- **recovery_period** (Number) How long the alert must be up to automatically mark an incident as resolved. In seconds. +- **sms** (Boolean) Do we send an SMS to the on-call person? +- **team_wait** (Number) How long we wait before escalating the incident alert to the team. In seconds. ### Read-Only -- **id** (String) The ID of this Prometheus integration. -- **webhook_url** (String) The URL to which to point the Prometheus webhook to. +- **webhook_url** (String) The webhook URL for the AWS CloudWatch integration. diff --git a/docs/resources/betteruptime_splunk_oncall_integration.md b/docs/resources/betteruptime_splunk_oncall_integration.md new file mode 100644 index 0000000..94e8f5b --- /dev/null +++ b/docs/resources/betteruptime_splunk_oncall_integration.md @@ -0,0 +1,30 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "betteruptime_splunk_oncall_integration Resource - terraform-provider-better-uptime" +subcategory: "" +description: |- + https://betterstack.com/docs/uptime/api/splunk-on-call-integrations/ +--- + +# betteruptime_splunk_oncall_integration (Resource) + +https://betterstack.com/docs/uptime/api/splunk-on-call-integrations/ + + + + +## Schema + +### Required + +- **url** (String) The Splunk On-Call URL to post webhooks to. + +### Optional + +- **name** (String) The name of the Splunk On-Call Integration. + +### Read-Only + +- **id** (String) The ID of the Splunk On-Call Integration. + + diff --git a/docs/resources/resource_splunk_on_call_integration.md b/docs/resources/resource_splunk_on_call_integration.md deleted file mode 100644 index af6e6e5..0000000 --- a/docs/resources/resource_splunk_on_call_integration.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -# generated by https://github.com/hashicorp/terraform-plugin-docs -page_title: "resource_splunk_on_call_integration Resource - terraform-provider-better-uptime" -subcategory: "" -description: |- - https://betterstack.com/docs/uptime/api/splunk-on-call-integrations/ ---- - -# resource_splunk_on_call_integration (Resource) - -https://betterstack.com/docs/uptime/api/splunk-on-call-integrations/ - - - - -## Schema - -### Optional -- **name** (String) The name of this Splunk On-Call integration. -- **urk** (String) The URL for this Splunk On-Call integration. - - -### Read-Only - -- **id** (String) The ID of this Splunk On-Call integration. - diff --git a/internal/provider/resource_heartbeat.go b/internal/provider/resource_heartbeat.go index 3189651..56ac6a1 100644 --- a/internal/provider/resource_heartbeat.go +++ b/internal/provider/resource_heartbeat.go @@ -119,7 +119,7 @@ func newHeartbeatResource() *schema.Resource { Importer: &schema.ResourceImporter{ StateContext: schema.ImportStatePassthroughContext, }, - Description: "https://betterstack.com/docs/uptime/api/hearbeats/", + Description: "https://betterstack.com/docs/uptime/api/heartbeats/", Schema: heartbeatSchema, } } diff --git a/internal/provider/resource_status_page_resource.go b/internal/provider/resource_status_page_resource.go index 3d9e531..9b8f40e 100644 --- a/internal/provider/resource_status_page_resource.go +++ b/internal/provider/resource_status_page_resource.go @@ -127,7 +127,7 @@ func newStatusPageResourceResource() *schema.Resource { return []*schema.ResourceData{d}, nil }, }, - Description: "https://betterstack.com/docs/uptime/api/status-page-resources", + Description: "https://betterstack.com/docs/uptime/api/status-page-resources/", Schema: statusPageResourceSchema, } } diff --git a/internal/provider/resource_status_page_section.go b/internal/provider/resource_status_page_section.go index 8bb09df..8683735 100644 --- a/internal/provider/resource_status_page_section.go +++ b/internal/provider/resource_status_page_section.go @@ -58,7 +58,7 @@ func newStatusPageSectionResource() *schema.Resource { return []*schema.ResourceData{d}, nil }, }, - Description: "https://betterstack.com/docs/uptime/api/status-page-sections", + Description: "https://betterstack.com/docs/uptime/api/status-page-sections/", Schema: statusPageSectionSchema, } }