-
Notifications
You must be signed in to change notification settings - Fork 137
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
opsgenie_integration_action does not set key despite field being set to "extra-properties" #322
Comments
Agree..
Absolutely agree. We are also a paying customer and deploy our infrastructure as code. This has been a real struggle with Opsgenie, and still is. Current issues are that integration actions and alert policies change every time you do a plan, which is a mess when you have jobs that run your IaaC. If you use IaaC Opsgenie is not the way to go. |
We ended up deleting our Terraform code and configure OpsGenie by hand now since that caused way less trouble than our IaaC approach. This is quite frustrating as the fact that OpsGenie offers a terraform provider for configuration was one of the main reasons causing us to choose OpsGenie in the first place. Lesson learned... |
Haha, yes.. Remember to check issues and PRs :D |
Alright, for everyone coming here and saying this is bugged... you are right. It's completely bugged. However, here is a fix or a workaround I should say. I debugged their code to the bone. I went through all 7 gates of hell to retrieve this information. The first thing you want to do, is to get rid of the The second thing you want to do, is to change your field type from Let's say your condition is this :
You want to have this :
And it will work. |
@Kerwood @upstream-dmahlberg I found the workaround if you guys are interested. |
This issue : sensu-plugins/sensu-plugins-opsgenie#51 is also relevant and the fact that the |
Holy sh..... I don't even want to imagine what kind of hoops you had to jump through to get to the bottom of this. I salute you, kind stranger. |
@upstream-dmahlberg I did walk on the surface of the sun. It wasn't that bad. They do have good integration test so it was easy to test things out. |
Hi @nvanheuverzwijn @upstream-dmahlberg, sorry about the experience you've had with the terraform provider. We're trying to fix all the issues actively, thank you for your contributions :) |
Hi @koushik-swaminathan , with all due respect - this post was created about 1,5 yrs ago. Altough I appreciate that someone is taking care of this, we seized using the terraform provider and have moved on a long time ago. |
@koushik-swaminathan can you merge the MR ? |
Terraform Version
Terraform v1.1.9
on linux_amd64
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
OpsGenie Integration should have a filter looking like this
![image](https://user-images.githubusercontent.com/85218982/183631199-5ed1cb48-b08c-4ab4-b413-d0c714de9fe8.png)
Actual Behavior
Opsgenie Integration has a filter looking like this:
![image](https://user-images.githubusercontent.com/85218982/183631336-86a7644e-4d50-4f0c-9637-943c8284da42.png)
Steps to Reproduce
See code above
Important Factoids
To put it bluntly, the whole provider is a complete mess. The documentation lacks proper real-world examples, and is full of bugs and inconsitencies. I dare you to write some TF code, run apply, then run plan / apply again - you WILL see several changes pending despite no code has been changed. Very disappointing from a paying customer's perspective.
The text was updated successfully, but these errors were encountered: