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

segfault when using opsgenie_escalation datasource

Open broestls opened this issue 2 years ago • 4 comments

Hi, I'm running into a segfault/crash/plugin did not respond error when executing a trivial code sample involving the opsgenie_escalation data source.

terraform version: 1.3.7 platform: darwin_arm64 (not sure if it matters, but I thought I'd mention) affected resources: data.opsgenie_escalation (haven't tested on resource yet)

Sample config

terraform {
  required_providers {
    opsgenie = {
      source  = "opsgenie/opsgenie"
      version = "0.6.20"
    }
  }
}

provider "opsgenie" {
  api_url = var.opsgenie_api_url
}

data "opsgenie_escalation" "test" {
  name = "Team2_escalation"
}

Terraform Version

Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.

Affected Resource(s)

Please list the resources as a list, for example:

  • opsgenie_escalation (datasource)

If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.

Terraform Configuration Files

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

Debug Output

debug gist: https://gist.github.com/broestls/d5718348869d433be89d6d8c94e29cfe

Panic Output

Honestly, may be the above gist as well.

Expected Behavior

Should have given me information about the named escalation object

Actual Behavior

plugin did not respond

Steps to Reproduce

  1. terraform plan

Important Factoids

Running against JSM-integrated version of opsgenie

References

None at this time

broestls avatar Feb 02 '23 22:02 broestls