provider/pagerduty: Validate credentials (#12854)

* Validate credentials

* Add ability to skip validation

* Update provider documentation

* invalidCredentials -> invalidCreds

* Include original error message

* Update description for skip_credentials_validation

* Add config test

* set skip_credentials_validation default to false
This commit is contained in:
Alexander
2017-03-19 18:37:46 +01:00
committed by Paul Stack
parent 4759b51132
commit ca517543f2
5 changed files with 72 additions and 1 deletions

View File

@@ -39,3 +39,4 @@ resource "pagerduty_user" "earline" {
The following arguments are supported:
* `token` - (Required) The v2 authorization token. See [API Documentation](https://v2.developer.pagerduty.com/docs/authentication) for more information.
* `skip_credentials_validation` - (Optional) Skip validation of the token against the PagerDuty API.