#help (2024-07)

Where to get help about getting help!

2024-07-10

Luke Thompson avatar
Luke Thompson

Seeing a possible terraform provider issue when using [registry.terraform.io/cloudposse/utils](http://registry.terraform.io/cloudposse/utils) see issue created here

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

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

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
Comment on #411 Issue with utils provider "unrecognized remote plugin message"

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

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Thanks for the update

2024-07-18

2024-07-21

Vina L avatar

I am trying to wrap my head around some devsecops concept. Is a DAST and SAST applied to IaC and Application code? Or one is for IaC and the other is for App code? My guess is SAST is for IaC

    keyboard_arrow_up