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

Fix broken Terraform example #1042

Merged
merged 1 commit into from Jan 13, 2022
Merged

Fix broken Terraform example #1042

merged 1 commit into from Jan 13, 2022

Commits on Dec 29, 2021

  1. Fix broken Terraform example

    The previous version of this code failed with Terraform 0.12+ on an M1 Mac with 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.
    
    The issue is that the `template_file` directive is now deprecated and no download exists for darwin_amd64 for this provider.
    
    I considered using the now current templatefile directive, but we don't have any files from which we're reading templates, so I used the more idiomatic variable interpolation.
    josh-padnick committed Dec 29, 2021
    Configuration menu
    Copy the full SHA
    92c4c15 View commit details
    Browse the repository at this point in the history