Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Is a terraform resource for Slack-Opsgenie integration?

Hi , I was looking for terraform resource for Slack-Opsgenie integration under 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.


1 answer

1 accepted

0 votes
Answer accepted

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:


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


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 : 

John M Atlassian Team Sep 07, 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. 

Thank you for your response @John M 

Like John M likes this

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events