chime/terraform-aws-alternat

Deprecated `hashicorp/template` provider

oponomarov-tu opened this issue · 2 comments

The last release has introduced data "template_cloudinit_config" , which relies on hashicorp/template marked by HashiCorp as deprecated. The provider is no longer built and published for various architecture, like arm for instance. People trying to excecute terraform on M1 will see:

│ 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.

Doh 🙈 I really shouldn't have made that mistake since I did some work to replace the template provider in a large terraform repo recently. I'll blame it on muscle memory.

A fixed version is in the fix-template-provider branch if you want to try it. I'll work to get it merged but it might be a while due to the holidays.

Thanks for filing the issue.

Released in v0.2.1.