hey,
While I run the plan/apply terraform commands from my local, I am getting the below error (wherein its working for my colleagues.
Error: Unrecognized remote plugin message:
This usually means that the plugin is either invalid or simply
needs to be recompiled to support the latest protocol.
stdout:
Initializing the backend…
Successfully configured the backend “s3”! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing provider plugins…
- Checking for available provider plugins…
- Downloading plugin for provider “template” (hashicorp/template) 2.2.0…
- Downloading plugin for provider “aws” (hashicorp/aws) 4.9.0…
- Downloading plugin for provider “random” (hashicorp/random) 3.2.0…
- Downloading plugin for provider “null” (hashicorp/null) 3.1.1…
The following providers do not have any version constraints in configuration,
so the latest version was installed.
To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = “…” constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.
- provider.template: version = “~> 2.2”
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running “terraform plan” to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
terraform plan
-var region=“us-west-2”
-var env=“sandbox”
-var deploy-type=“green”
-var ami-version=“1.6.10”
workers
Error: Unrecognized remote plugin message:
This usually means that the plugin is either invalid or simply
needs to be recompiled to support the latest protocol.
make: *** [run-worker] Error 1
GTM-mac:nomad sabapatg$ terraform -v
Terraform v0.12.31
- provider.aws v4.9.0
- provider.null v3.1.1
- provider.random v3.2.0
- provider.template v2.2.0
Your version of Terraform is out of date! The latest version
is 1.2.1. You can update by downloading from Downloads | Terraform by HashiCorp
GTM-mac:nomad sabapatg$ uname -a
Darwin GTM-mac.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000 arm64
GTM-mac:nomad sabapatg$ go version
go version go1.18.2 darwin/arm64
GTM-mac:nomad sabapatg$
Regards,
Goutham