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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,556,816
Community Members
 
Community Events
184
Community Groups

Is a terraform resource for Slack-Opsgenie integration?

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.
Sep 04, 2022 • edited

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

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.
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
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events