Hi , I was looking for terraform resource for Slack-Opsgenie integration under https://registry.terraform.io/providers/opsgenie/opsgenie/latest/docs however could not find anything for Slack integration.
The integration resource that you have opsgenie-api-integration does not support 'slack' under the argument type list.
I am trying to configure slack integration via terraform
Is there any way you can point me to the right direction or provide some details.
Thanks.
I don't think there is Terraform support for slack integrations. Our documentation specifies that Terraform only creates and manages resources for API and email-based integrations. This is from Opsgenie's Terraform document:
Opsgenie Terraform provider creates and manages the following resources with Terraform.
Users (without User Contact API),
Teams (with or without members),
API and Email Based Integrations
Escalations
Schedules
Schedule Rotations
Hi John ,
Thank you for your response. When we try to set up a Slack integration , it generates an API key. The following is from https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-slack-app/
so I am assuming Slack integration is done using API keys, however in the Opsgenie Terraform provider - opsgenie-api-integration , for the argument type , the list of arguments does not have Slack listed : https://support.atlassian.com/opsgenie/docs/integration-types-to-be-used-with-the-api/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Pranita Thatichetla ,
The reason Slack isn't on that list is that to set up the slack integration you must go through the Oauth screens directly from Opsgenie to grant access - something that can't be done via API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.