pagerduty
The pagerduty
connection can be used to access PagerDuty resources.
connection "pagerduty" "my_pagerduty" { token = "u+_szhLR4FakeTokenGZSA"}
Arguments
Name | Type | Required? | Description |
---|---|---|---|
token | String | Optional | API token |
All arguments are optional, and a pagerduty
connection with no arguments will behave the same as the default connection.
Default Connection
The pagerduty
connection type includes an implicit, default connection (connection.pagerduty.default
) that will be configured to set the token
to the PAGERDUTY_TOKEN
environment variable.
connection "pagerduty" "default" { token = env("PAGERDUTY_TOKEN")}