From 6ceffc6242d658dc2d682280afe367a31f2b2755 Mon Sep 17 00:00:00 2001 From: Markus Muehlberger Date: Sat, 31 Jul 2021 17:50:12 +0200 Subject: [PATCH] Remove unused and deprecated template provider (#31) --- README.md | 2 -- README.yaml | 4 ---- docs/terraform.md | 1 - examples/complete/versions.tf | 4 ---- examples/remote-state/versions.tf | 4 ---- examples/spacelift/versions.tf | 4 ---- examples/stacks/versions.tf | 4 ---- modules/backend/versions.tf | 4 ---- modules/env/versions.tf | 4 ---- modules/remote-state/versions.tf | 4 ---- modules/settings/versions.tf | 4 ---- modules/spacelift/versions.tf | 4 ---- modules/vars/versions.tf | 4 ---- versions.tf | 4 ---- 14 files changed, 51 deletions(-) diff --git a/README.md b/README.md index f3c72cd..6e082af 100644 --- a/README.md +++ b/README.md @@ -346,7 +346,6 @@ Available targets: | [terraform](#requirement\_terraform) | >= 0.13.0 | | [external](#requirement\_external) | >= 2.0 | | [local](#requirement\_local) | >= 1.3 | -| [template](#requirement\_template) | >= 2.2 | | [utils](#requirement\_utils) | >= 0.11.0 | ## Providers @@ -428,7 +427,6 @@ For additional context, refer to some of these links. - [Terraform Module Requirements](https://www.terraform.io/docs/registry/modules/publish.html#requirements) - HashiCorp's guidance on all the requirements for publishing a module. Meeting the requirements for publishing a module is extremely easy. - [Terraform Version Pinning](https://www.terraform.io/docs/configuration/terraform.html#specifying-a-required-terraform-version) - The required_version setting can be used to constrain which versions of the Terraform CLI can be used with your configuration. - [Terraform `templatefile` Function](https://www.terraform.io/docs/configuration/functions/templatefile.html) - `templatefile` reads the file at the given path and renders its content as a template using a supplied set of template variables. -- [Terraform `template_file` data source](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file) - The `template_file` data source renders a template from a template string, which is usually loaded from an external file. ## Help diff --git a/README.yaml b/README.yaml index ced572b..c55b9fb 100644 --- a/README.yaml +++ b/README.yaml @@ -91,9 +91,6 @@ references: - name: "Terraform `templatefile` Function" description: "`templatefile` reads the file at the given path and renders its content as a template using a supplied set of template variables." url: "https://www.terraform.io/docs/configuration/functions/templatefile.html" - - name: "Terraform `template_file` data source" - description: "The `template_file` data source renders a template from a template string, which is usually loaded from an external file." - url: "https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file" # Short description of this project description: |- @@ -128,7 +125,6 @@ usage: |- For an example on how to process `vars`, `settings`, `env` and `backend` configurations for all Terraform and helmfile components for a list of stacks, see [examples/stacks](examples/stacks). - # Example usage examples: |- diff --git a/docs/terraform.md b/docs/terraform.md index 96e3a20..fb15a37 100644 --- a/docs/terraform.md +++ b/docs/terraform.md @@ -6,7 +6,6 @@ | [terraform](#requirement\_terraform) | >= 0.13.0 | | [external](#requirement\_external) | >= 2.0 | | [local](#requirement\_local) | >= 1.3 | -| [template](#requirement\_template) | >= 2.2 | | [utils](#requirement\_utils) | >= 0.11.0 | ## Providers diff --git a/examples/complete/versions.tf b/examples/complete/versions.tf index 7124bee..38b87c3 100644 --- a/examples/complete/versions.tf +++ b/examples/complete/versions.tf @@ -6,10 +6,6 @@ terraform { source = "hashicorp/local" version = ">= 1.3" } - template = { - source = "hashicorp/template" - version = ">= 2.2" - } external = { source = "hashicorp/external" version = ">= 2.0" diff --git a/examples/remote-state/versions.tf b/examples/remote-state/versions.tf index 7124bee..38b87c3 100644 --- a/examples/remote-state/versions.tf +++ b/examples/remote-state/versions.tf @@ -6,10 +6,6 @@ terraform { source = "hashicorp/local" version = ">= 1.3" } - template = { - source = "hashicorp/template" - version = ">= 2.2" - } external = { source = "hashicorp/external" version = ">= 2.0" diff --git a/examples/spacelift/versions.tf b/examples/spacelift/versions.tf index 7124bee..38b87c3 100644 --- a/examples/spacelift/versions.tf +++ b/examples/spacelift/versions.tf @@ -6,10 +6,6 @@ terraform { source = "hashicorp/local" version = ">= 1.3" } - template = { - source = "hashicorp/template" - version = ">= 2.2" - } external = { source = "hashicorp/external" version = ">= 2.0" diff --git a/examples/stacks/versions.tf b/examples/stacks/versions.tf index 7124bee..38b87c3 100644 --- a/examples/stacks/versions.tf +++ b/examples/stacks/versions.tf @@ -6,10 +6,6 @@ terraform { source = "hashicorp/local" version = ">= 1.3" } - template = { - source = "hashicorp/template" - version = ">= 2.2" - } external = { source = "hashicorp/external" version = ">= 2.0" diff --git a/modules/backend/versions.tf b/modules/backend/versions.tf index b83eaf6..d05e5d9 100644 --- a/modules/backend/versions.tf +++ b/modules/backend/versions.tf @@ -6,10 +6,6 @@ terraform { source = "hashicorp/local" version = ">= 1.3" } - template = { - source = "hashicorp/template" - version = ">= 2.2" - } external = { source = "hashicorp/external" version = ">= 2.0" diff --git a/modules/env/versions.tf b/modules/env/versions.tf index b83eaf6..d05e5d9 100644 --- a/modules/env/versions.tf +++ b/modules/env/versions.tf @@ -6,10 +6,6 @@ terraform { source = "hashicorp/local" version = ">= 1.3" } - template = { - source = "hashicorp/template" - version = ">= 2.2" - } external = { source = "hashicorp/external" version = ">= 2.0" diff --git a/modules/remote-state/versions.tf b/modules/remote-state/versions.tf index b83eaf6..d05e5d9 100644 --- a/modules/remote-state/versions.tf +++ b/modules/remote-state/versions.tf @@ -6,10 +6,6 @@ terraform { source = "hashicorp/local" version = ">= 1.3" } - template = { - source = "hashicorp/template" - version = ">= 2.2" - } external = { source = "hashicorp/external" version = ">= 2.0" diff --git a/modules/settings/versions.tf b/modules/settings/versions.tf index b83eaf6..d05e5d9 100644 --- a/modules/settings/versions.tf +++ b/modules/settings/versions.tf @@ -6,10 +6,6 @@ terraform { source = "hashicorp/local" version = ">= 1.3" } - template = { - source = "hashicorp/template" - version = ">= 2.2" - } external = { source = "hashicorp/external" version = ">= 2.0" diff --git a/modules/spacelift/versions.tf b/modules/spacelift/versions.tf index b83eaf6..d05e5d9 100644 --- a/modules/spacelift/versions.tf +++ b/modules/spacelift/versions.tf @@ -6,10 +6,6 @@ terraform { source = "hashicorp/local" version = ">= 1.3" } - template = { - source = "hashicorp/template" - version = ">= 2.2" - } external = { source = "hashicorp/external" version = ">= 2.0" diff --git a/modules/vars/versions.tf b/modules/vars/versions.tf index b83eaf6..d05e5d9 100644 --- a/modules/vars/versions.tf +++ b/modules/vars/versions.tf @@ -6,10 +6,6 @@ terraform { source = "hashicorp/local" version = ">= 1.3" } - template = { - source = "hashicorp/template" - version = ">= 2.2" - } external = { source = "hashicorp/external" version = ">= 2.0" diff --git a/versions.tf b/versions.tf index 7124bee..38b87c3 100644 --- a/versions.tf +++ b/versions.tf @@ -6,10 +6,6 @@ terraform { source = "hashicorp/local" version = ">= 1.3" } - template = { - source = "hashicorp/template" - version = ">= 2.2" - } external = { source = "hashicorp/external" version = ">= 2.0"