-
Notifications
You must be signed in to change notification settings - Fork 213
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
The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange call. #447
Comments
I have also some issues with this version. on multiple resources, it's hard to understand what is going on.
|
This is really random, I have 5000 resources to manage and sometimes it works sometimes it fails. I also tried to run it with |
In the original examples @gsreynolds identified the issue being that the provider was crashing because it does not expect null to be passed as a value. Where there is no priority, route, severity or annotation (in the case of the event rule) the provider expects the block to be omitted. Also when setting the priority, you need to provide the priority ID and not the name/summary. HTH |
Specifically, the priority, route, severity, or annotation blocks would need to be omitted in a similar manner using On the Priority ID lookup, the following would look up the specified priorities: locals {
pagerduty_priorities = toset(["P1", "P2", "P3", "P4", "P5"])
}
data "pagerduty_priority" "priorities" {
for_each = local.pagerduty_priorities
name = each.key
} and thus a priority ID can then be looked up with data.pagerduty_priority.priorities["P1"].id or in the example code data.pagerduty_priority.priorities[actions.value.priority].id |
Terraform Version
Terraform v1.1.3
on darwin_amd64
Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
https://drive.google.com/file/d/1xuDkQClruBJlSMxwf-dFCj86jHj1fGXW/view?usp=sharing
Debug Output
https://gist.github.com/katkasian/c031f41ac5fa0ea6ad9729f591171863
Panic Output
NA
Expected Behavior
When creating a module to create rulesets, I expect the apply to be successful.
Actual Behavior
Encountering "The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may contain more details." error, provider crashes. On PagerDuty side, ruleset gets created, but not individual rules.
Steps to Reproduce
Archive
folder.terraform apply
, provide the key when prompted.Important Factoids
Rulesets are managed using a module (contained in ruleset folder of the zip file)
The text was updated successfully, but these errors were encountered: