terraform-provider-opsgenie icon indicating copy to clipboard operation
terraform-provider-opsgenie copied to clipboard

[Feature Request] enhance error messages

Open Tony-Proum opened this issue 4 years ago • 2 comments

Terraform Version

Terraform v0.14.2

Terraform Configuration Files

provider "opsgenie" {
  api_key = "test"
}

Expected Behavior

Terraform plan should write a clear message that allows to quickly figure out what' s going wrong

Actual Behavior

we got a runtime error:

Error: Error occurred with Status code: 422, Message: Key format is not valid!, Took: 0.001000, RequestId: <any-id>

this message is a bit cumbersome and does not allows to understand what's wrong with our configuration, mainly when we have to deal with multiple providers that use some keys as well.

Tony-Proum avatar Jan 13 '21 15:01 Tony-Proum

Still an open issue:

❯ terraform --version
Terraform v1.1.3
on linux_amd64
+ provider registry.terraform.io/opsgenie/opsgenie v0.6.8

Sebbo94BY avatar Jan 27 '22 18:01 Sebbo94BY

This is beginning to affect our projects as well.

eternaltyro avatar Nov 26 '22 18:11 eternaltyro