identiops / terraform-hcloud-k3s

Private k3s Kubernetes Terraform installer for Hetzner Cloud
https://identiops.com/projects/k3s
MIT License
61 stars 7 forks source link

fix: Drop template dependency #2

Closed soult closed 5 months ago

soult commented 8 months ago

With c921f2c003d32bedb85097d4ce63b7ecb88a7313, all usages of the template provider's template_file were replaced with templatefile, which is part of Terraform > 0.12, hence the provider is not required anymore.

Since the template provider is deprecated, it's not available on non-x86ish architectures, causing the whole terraform-hcloud-k3s module to be unusable on them.

Example error message:

╷
│ 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.
╵
jceb commented 5 months ago

Great, thank you!