Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is a terraform resource for Slack-Opsgenie integration?

Pranita Thatichetla September 2, 2022

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.

1 answer

1 accepted

0 votes
Answer accepted
John M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 4, 2022

Hi @Pranita Thatichetla

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:

Capabilities

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

Pranita Thatichetla September 7, 2022

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/

 

Screen Shot 2022-09-07 at 6.26.28 PM.png

 

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/ 

John M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 7, 2022

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. 

Pranita Thatichetla September 10, 2022

Thank you for your response @John M 

Like John M likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events