Merge pull request #32898 from hashicorp/bflad/less-null-more-terraform-docs

This commit is contained in:
Craig Wright 2023-03-24 09:12:46 -07:00 committed by GitHub
commit 9d93415d4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,13 +8,13 @@ description: >-
# Provisioners Without a Resource
If you need to run provisioners that aren't directly associated with a specific
resource, you can associate them with a `null_resource`.
resource, you can associate them with a `terraform_data`.
Instances of [`terraform_data`](/terraform/language/resources/terraform-data) are treated
like normal resources, but they don't do anything. Like with any other resource
type, you can configure [provisioners](/terraform/language/resources/provisioners/syntax)
and [connection details](/terraform/language/resources/provisioners/connection) on a
`terraform_data` resource. You can also use its `triggers` argument and any
`terraform_data` resource. You can also use its `input` argument, `triggers_replace` argument, and any
meta-arguments to control exactly where in the dependency graph its
provisioners will run.