diff --git a/README.md b/README.md index 228fbdce..d9f5b21d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,16 @@ + +This Terraform provider is archived, per our [provider archiving process](https://terraform.io/docs/internals/archiving.html). What does this mean? + +1. The code repository and all commit history will still be available. +1. Existing released binaries will remain available on the releases site. +1. Documentation will remain on the Terraform website. +1. Issues and pull requests are not being monitored. +1. New releases will not be published. + +--- + + + Terraform Provider ================== diff --git a/website/docs/index.html.markdown b/website/docs/index.html.markdown index b927b298..535b4ad2 100644 --- a/website/docs/index.html.markdown +++ b/website/docs/index.html.markdown @@ -8,6 +8,8 @@ description: |- # Template Provider +~> **This provider is deprecated.** We now recommend that you use one of the approaches in the Deprecation section below. + The template provider exposes data sources to use templates to generate strings for other Terraform resources or outputs. @@ -32,7 +34,18 @@ resource "aws_instance" "web" { } ``` -For Terraform 0.12 and later, the `template_file` data source has been -superseded by [the `templatefile` function](/docs/configuration/functions/templatefile.html), -which can be used directly in expressions without creating a separate data -resource. +## Deprecation + +The template provider is deprecated and the provider has been archived in accordance with HashiCorp's [provider archiving process](https://terraform.io/docs/internals/archiving.html). While released versions of the provider will remain available, we recommend that you replace usages of this provider as follows. + +### `template_file` + +For Terraform 0.12 and later, the `template_file` data source has been superseded by [the `templatefile` function](/docs/configuration/functions/templatefile.html), which can be used directly in expressions without creating a separate data resource. + +### `template_dir` + +The [`hashicorp/dir/template`](https://registry.terraform.io/modules/hashicorp/dir/template) module offers an improved version of the functionality available in `template_dir`. + +### `template_cloudinit_config` + +This resource has been moved to a new provider, [`terraform-provider-cloudinit`](https://github.com/hashicorp/terraform-provider-cloudinit) as `cloudinit_config`, with no change in functionality.