Skip to content

[Bug]: Reference uses deprecated provider hashicorp/template #67

@davivcgarcia

Description

@davivcgarcia

What is your environment, configuration, and command?

The current Terraform automation used for deploying EKS clusters ($REPO_ROOT/scripts/create-cluster.sh) relies on the hashicorp/template provider, which is deprecated and not available on some platforms.

What did you do and What did you see instead?

If users try to use it on Apple silicon Macs, they would see the following error:

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

Additional Information. Logs.

According the hashicorp/terraform-provider-template#85, the logic could be refactored to use templatefile function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions