-
Notifications
You must be signed in to change notification settings - Fork 138
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
Panic when importing an alert policy #360
Comments
When importing via team_id/policy_id the same issue happens:
I am on provider version v0.6.28 with Terraform 1.0.4 |
Turned out I was importing a notification policy inside of a alert policy resource, so my issue is fixed, but maybe the provider shouldn't crash in this case |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I get a panic when importing an alert policy: https://gist.github.com/gdlx/19d7fcca60439d6c6b372e0db3a7addd
The import command is the following:
terraform import opsgenie_alert_policy.add_tag 8a2e4b35-94ec-4192-a64f-f0ad52b8ef43
I have no issue to create/update/delete a policy, only when importing.
The alert policy template is the following:
Terraform version:
1.3.7
Opsgenie provider version:
0.6.20
The text was updated successfully, but these errors were encountered: