terraform-provider-opsgenie
terraform-provider-opsgenie copied to clipboard
opsgenie_api_integration for type OEC does not set sendViaOEC parameter causing OEC to fail
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