Skip to content

Feature Request: Replace deprecated hashicorp/template provider #559

@32bit

Description

@32bit

✦ This is a feature request to replace the deprecated hashicorp/template provider with the templatefile() function.

The proposed changes are available in the following branch on a fork of the repository:
https://github.com/32bit/terraform-google-lb-http/tree/feat/remove-template-provider (https://github.com/32bit/terraform-google-lb-http/tree/feat/remove-template-provider)

A pull request with these changes can be created from this link:
main...32bit:feat/remove-template-provider
(main...32bit:feat/remove-template-provider)

Description of changes:

  • Removed the deprecated hashicorp/template provider from all versions.tf files in the examples directory.
  • In examples/mig-nat-http-lb/main.tf and examples/https-redirect/main.tf, replaced the data "template_file" resource with the templatefile() function.
  • Validated the changes by running terraform init and terraform validate.

Please consider incorporating these changes into the main repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions