opsgenie / terraform-provider-opsgenie

Terraform OpsGenie provider
https://registry.terraform.io/providers/opsgenie/opsgenie/latest/docs
Mozilla Public License 2.0
100 stars 135 forks source link

opsgenie_api_integration for type OEC does not set sendViaOEC parameter causing OEC to fail #433

Closed ketbla closed 3 months ago

ketbla commented 4 months ago

Hello,

Description

When creating OEC integration via terraform using opsgenie_api_integration it does not set sendViaOEC to true and causes OEC integration to fail. When creating integration through UI - parameter is set and it's working.

This parameter is not configurable via terraform, so needs to be in defaults.

Steps to Reproduce Create OEC integration via Terraform Run OEC Error logged as "message":"ChannelDoesNotExistException: OEC channel does not exist!"

References

Same issue for Zabbix - https://jira.atlassian.com/browse/OPSGENIE-1394

ketbla commented 3 months ago

I raised a bug through Atlasian support and it was resolved relatively quickly - https://jira.atlassian.com/browse/OPSGENIE-2093