terraform-provider-opsgenie
terraform-provider-opsgenie copied to clipboard
[Feature Request] enhance error messages
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.
Still an open issue:
❯ terraform --version
Terraform v1.1.3
on linux_amd64
+ provider registry.terraform.io/opsgenie/opsgenie v0.6.8
This is beginning to affect our projects as well.