Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opsgenie_integration_action is not able to update and save email integration create action #452

Open
kunalmehta-eve opened this issue Sep 2, 2024 · 0 comments

Comments

@kunalmehta-eve
Copy link

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)

  • opsgenie_integration_action

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant