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 am not able to update create rule for email integration, it throws following error in terraform but on the other hand i am able to update rule using Opsgenie UI
Error: Error occurred with Status code: 422, Message: Your plan does not allow saving or updating advanced integrations., Took: 0.072000,
Hi there,
I am not able to update create rule for email integration, it throws following error in terraform but on the other hand i am able to update rule using Opsgenie UI
Error: Error occurred with Status code: 422, Message: Your plan does not allow saving or updating advanced integrations., Took: 0.072000,
Terraform Version
1.6.4
Affected Resource(s)
Terraform Configuration Files
resource "opsgenie_email_integration" "email_integration" {
for_each = local.teams
name = "email-${each.key}"
email_username = each.key
owner_team_id = opsgenie_team.opsgenie_teams[each.key].id
enabled = true
suppress_notifications = false
}
resource "opsgenie_integration_action" "assign_tag_to_email_integration" {
for_each = local.teams
integration_id = opsgenie_email_integration.email_integration[each.key].id
create {
name = "create action"
tags = ["team:{{ each.key }}"]
}
}
Expected Behavior
Terraform should update create rule with a tag team:
Actual Behavior
Error: Error occurred with Status code: 422, Message: Your plan does not allow saving or updating advanced integrations., Took: 0.072000,
The text was updated successfully, but these errors were encountered: