You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to automate the creation of the jira cloud bidirectional integration with opsgenie using the terraform provider and couldn't find the right opsgenie api integration type for it.
This list only mention the Jira integration that references the legacy product and not Jira Cloud.
Clearly, the documentation is outdated and not reflecting the actual behavior of the opsgenie api, that seems to be using the jira-software-cloud value for integration type, but that doesn't work.
Terraform will perform the following actions:
# opsgenie_api_integration.jira-integration will be created
+ resource "opsgenie_api_integration" "jira-integration" {
+ allow_write_access = true
+ api_key = (sensitive value)
+ enabled = true
+ id = (known after apply)
+ ignore_responders_from_payload = false
+ name = "Jira Integration"
+ suppress_notifications = false
+ type = "jira-software-cloud"
}
Panic Output
│ Error: Error occurred with Status code: 422, Message: Integration with type 'jira-software-cloud' does not exist., Took: 0.001000, RequestId: 862839cd-3647-4f86-ac22-9f12f5eaa868
│
│ with opsgenie_api_integration.jira-integration,
│ on teams.tf line 38, in resource "opsgenie_api_integration" "jira-integration":
│ 38: resource "opsgenie_api_integration" "jira-integration" {
│
╵
Releasing state lock. This may take a few moments...
Expected Behavior
the opsgenie api integration for jira cloud is created correctly.
Actual Behavior
an error mentioned above. it works fine when I use Jira as the type, but that creates an integration for the Legacy Jira app.
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered:
Hi there,
I'm trying to automate the creation of the jira cloud bidirectional integration with opsgenie using the terraform provider and couldn't find the right opsgenie api integration type for it.
This list only mention the
Jira
integration that references the legacy product and not Jira Cloud.Clearly, the documentation is outdated and not reflecting the actual behavior of the opsgenie api, that seems to be using the
jira-software-cloud
value for integration type, but that doesn't work.Terraform Version
Terraform v1.5.5
on linux_amd64
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
the opsgenie api integration for jira cloud is created correctly.
Actual Behavior
an error mentioned above. it works fine when I use
Jira
as the type, but that creates an integration for the Legacy Jira app.Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: