cloudposse / terraform-provider-utils

The Cloud Posse Terraform Provider for various utilities (e.g. deep merging, stack configuration management)
https://cloudposse.com/accelerate
Apache License 2.0
96 stars 15 forks source link

Issue with utils provider "unrecognized remote plugin message" #411

Closed phazeight closed 2 months ago

phazeight commented 2 months ago

Describe the Bug

One of my modules is using the provider registry.terraform.io/cloudposse/utils, and when I ran a terraform init and plan today, started seeing this message after successful init.

│ Error: failed to read schema for module.cidrs.module.dev.module.deepmerge.data.utils_deep_merge_yaml.all_map_configs in registry.terraform.io/cloudposse/utils: failed to instantiate provider "registry.terraform.io/cloudposse/utils" to obtain schema: Unrecognized remote plugin message:
│
│ This usually means that the plugin is either invalid or simply
│ needs to be recompiled to support the latest protocol.
│                                                  

I cleared the local terraform cache and ran again, but didn't do away with it

Expected Behavior

I expected as something I use nearly daily for my terraform init and plan to resolve using this module

Steps to Reproduce

not sure, seems to be a provider level issue at the moment

Screenshots

image

Environment

No response

Additional Context

UPDATE Tried another of my repos that uses the same module to eliminate if it was a local issue and got the same message, further supporting that there is some kind of provider level issue happening

phazeight commented 2 months ago

welp found this thread https://discuss.hashicorp.com/t/failed-to-instantiate-provider-to-obtain-schema-looking-for-tips-to-diagnose-the-problem/14959/6 which was enough to convince me it was a weird macos sockets tcp/udp issue with terraform, and restarting my workstation fixed it. really random though, hopefully it doesn't show back up frequently