Resource
dcloud_status_page_subscriber
A subscriber to a status page's incidents: a webhook (your own https endpoint), or an email address, which is sent a confirmation link and gets nothing until it is clicked.
Example Usage
resource "dcloud_status_page_subscriber" "chatops" {
status_page_id = dcloud_status_page.acme.id
kind = "webhook"
target = "https://hooks.acme.example/status"
}Schema
Required
kind(String) email: sent a confirmation link and told nothing else until it is opened; webhook: confirmed at once One of:email,webhook. Changing it replaces the resource.status_page_id(String) The id of the parent resource ({id}in the path). Changing it replaces the resource.target(String) An email address (up to 254 characters, stored lower-case), or an https URL on a public address (up to 2048). 409 when it is already subscribed Changing it replaces the resource.
Read-Only
confirmed(Boolean) Whether the subscriber is confirmed (a webhook always is).id(String) The resource's id.
Import
Import is supported using the following syntax:
The terraform import command can be used, for example:
terraform import dcloud_status_page_subscriber.chatops <status-page-id>/<subscriber-id>Generated from the provider's schema.
Related