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

https://registry.terraform.io/providers/hashicorp/template/ is deprecated, and prevents usage on OSX #51

Closed
lremes opened this issue Jan 10, 2022 · 3 comments · Fixed by #54
Assignees

Comments

@lremes
Copy link

lremes commented Jan 10, 2022

When attempting to use the module on OSX, I get an 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

The template provider is deprecated, and should be replaced.
https://registry.terraform.io/providers/hashicorp/template/latest/docs

@joshuamkite joshuamkite self-assigned this Jan 11, 2022
@joshuamkite
Copy link
Owner

I wasn't aware that the template provider was not supported on darwin_arm64 . Although I am aware that it is deprecated, the 'replacement' feature does not allow the same facility to conditionally render a file from a template as has been used heavily in this module. I am exploring alternative approaches.

@joshuamkite
Copy link
Owner

I have a new version currently in feature branch which preserves existing functionality whilst retiring the deprecated template and null_resource providers. It seems fine with linux amd64 Perhaps you could be kind enough to test it for basic functionality on darwin_arm64 and let me know how you get on. You can do so calling the module with

source = "git@github.com:joshuamkite/terraform-aws-ssh-bastion-service.git?ref=issue_51/template_file"

If I don't hear from you within a week or so I will presume that you are no longer available to continue this conversation

Thanks

@joshuamkite
Copy link
Owner

This is resolved in latest relese

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants