You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ terraform init
Initializing modules...
- compute in modules/compute
- connect_vpc in modules/connect_vpc
- iam_kms in modules/iam_kms
- key_pairs in modules/key_pairs
- remote_vpc in modules/remote_vpc
- transit_gateway in modules/transit_gateway
- transit_gateway.tgw_vpc_route in modules/tgw_vpc_route
- vpc in modules/vpc
- vpc_endpoints in modules/vpc_endpoints
Initializing the backend...
Initializing provider plugins...
- Finding latest version of hashicorp/random...
- Finding latest version of hashicorp/external...
- Finding latest version of hashicorp/template...
- Finding hashicorp/aws versions matching "~> 4.4"...
- Installing hashicorp/random v3.4.3...
- Installed hashicorp/random v3.4.3 (signed by HashiCorp)
- Installing hashicorp/external v2.2.2...
- Installed hashicorp/external v2.2.2 (signed by HashiCorp)
- Installing hashicorp/aws v4.31.0...
- Installed hashicorp/aws v4.31.0 (signed by HashiCorp)
╷
│ Error: Incompatible provider version
│
│ Provider registry.terraform.io/hashicorp/template v2.2.0 does not have a package available for your current
│ platform, darwin_arm64.
│
│ Provider releases are separate from Terraform CLI releases, so not all providers are available for all
│ platforms. Other versions of this provider may have different platforms supported.
Looking at the code, the deprecated provider appears to be used to provision the user_data for the CSR instances.
The
terraform-provider-template
provider has been deprecated and is not supported on M1/Apple ARM CPU architecture: hashicorp/terraform-provider-template#85Output from
terraform init
on an M1 Mac:Looking at the code, the deprecated provider appears to be used to provision the user_data for the CSR instances.
An alternative approach here would be to leverage the built-in
templatefile
function instead: https://www.terraform.io/language/functions/templatefileThe text was updated successfully, but these errors were encountered: