Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux/ARM build is missing for terraform-provider-template #395

Open
ravinitp opened this issue Apr 12, 2024 · 2 comments
Open

linux/ARM build is missing for terraform-provider-template #395

ravinitp opened this issue Apr 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ravinitp
Copy link

Thank you for reporting an issue.

arm64 build is missing for opentofu/terraform-provider-template.
Please publish the missing binaries and sync it.

OpenTofu Version

OpenTofu v1.6.2
on darwin_amd64

OpenTofu Configuration Files

backend ${ip_addrs}:${port}
resource "template_dir" "config" {
  source_dir      = "${path.module}/template/"
  destination_dir = "${path.cwd}/template-output"
  vars = {
    port     = 8080
    ip_addrs = "10.0.0.1"
  }
} ```
@ravinitp ravinitp added the bug Something isn't working label Apr 12, 2024
@Yantrio
Copy link
Member

Yantrio commented Apr 12, 2024

This is due to the template provider being deprecated and relying on golang version 1.11.

For background:

We do not make any code edits to the Hashicorp's terraform provider forks we build, we only fork them for the purposes of building them.

Sadly HashiCorp does not expose it's release artifacts or build process, but what we can determine is that golang 1.11 should be used for this repository from the .travis.yml file here: https://github.com/opentofu/terraform-provider-template/blob/master/.travis.yml#L7

Because we have determined (See this logic) that go 1.11 is used, we chose to use the following goreleaser file: https://github.com/opentofu/scripts/blob/main/goreleaser_v2.yaml#L6-L12

It may be possible to add linux/amd to this build, however we would have to do a lot of validation to make sure that all older builds also succeed. This script is used across all providers and all of their vesions.

With the template provider being deprecated for years now, I feel like we should be recommending that people use the built-in template functionality instead of putting development effort into ensuring this works. However I'm open to reasoning otherwise.

@skyzyx
Copy link
Contributor

skyzyx commented Nov 11, 2024

I recommend this issue be closed if there is no intention to take action on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants