-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Golang stacktrace when running the provider, the plugin has crashed #127
Comments
Hi @DzeCin! I can't reproduce the issue on Terraform 1.2.9, 1.3.9, and 1.5.3, there is no 1.3.4 on https://developer.hashicorp.com/terraform/downloads to try that version as well.
This is the API body for the watch (GET call), generated by this HCL:
The error from the stack trace refers to line 380, where we set "watch_resource" set: |
Hi @danielmkn , I updated the terraform version to 1.5.3 and tried with you snippet and I still got the same error. In fact, the error appeared when I added the "filter" block. It works well without it. |
Weird, what version of Golang do you have? |
I run the plan in a pipeline, I am using the official terraform:1.5.3 image |
Ok I found the problem: if you first define the filters manually in the artifactory UI, the terraform plan will crash. |
Thanks for checking. Looks like an API might return that value since the watch already exists. We will verify that. |
@DzeCin I'm able to reproduce it. It's an import issue when the watch was created in the UI. Looks like Xray bug to me, because you can create a watch with |
GH-127, added missing filter type `path-regex`
@DzeCin, it's fixed in v1.14.2, thanks for reporting! |
Describe the bug
Xray provider 1.14.0 throws an error when using "filter" block in "watch_resource" block for the "xray_watch" resource.
This error is raised:
Requirements for and issue
Expected behavior
I expect no errors from this.
Additional context
No additional context
The text was updated successfully, but these errors were encountered: