DrFaust92 / terraform-provider-pingdom

Terraform provider to manage pingdom resources
https://registry.terraform.io/providers/DrFaust92/pingdom
MIT License
10 stars 8 forks source link

error using Integrations #16

Open tbpoetke opened 1 year ago

tbpoetke commented 1 year ago

Everytime I want to use integrations i got an error:

│ Error: Client not correctly configured to use this resource │ │ with pingdom_integration.slack, │ on main.tf line 160, in resource "pingdom_integration" "slack": │ 160: resource "pingdom_integration" "slack" { │ ╵ Releasing state lock. This may take a few moments...

For example if I want to create an integration with this code:

resource "pingdom_integration" "slack" {
  provider_name = "webhook"
  active        = true
  name          = "slack"
  url           = "https://hooks.slack.com/services/XXX"
}

same error message if I try to use the pingdom_integrations datasource .....

 data "pingdom_integrations" "slack" {
    names = ["slack"]
 }
jpddl commented 1 year ago

I believe the integrations call requires the Solarwinds credentials, and cannot be queried using the API token alone.