scalr_endpoint
Data Source scalr_endpoint
scalr_endpoint
This resource is deprecated and will be removed in the next major version.
Retrieves the details of a webhook endpoint.
Example Usage
data "scalr_endpoint" "example" {
id = "ep-xxxxxxxxxxx"
}
data "scalr_endpoint" "example" {
name = "endpoint_name"
}
data "scalr_endpoint" "example" {
name = "endpoint_name"
}
Argument Reference
id
- (Optional) The endpoint ID, in the formatenv-<RANDOM STRING>
.name
- (Optional) Name of the endpoint.account_id
- (Optional) ID of the account, in the formatacc-<RANDOM STRING>
Arguments id
and name
are both optional, specify at least one of them to obtain scalr_endpoint
.
Attribute Reference
All arguments plus:
secret_key
- Secret key to sign the webhook payload.url
- Endpoint URL.max_attempts
- Max delivery attempts of the payload.environment_id
- ID of the environment, in the formatenv-<RANDOM STRING>
.timeout
- Endpoint timeout (in seconds).
Updated 5 months ago