|
|
|
|
@ -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.
|
|
|
|
|
|
|
|
|
|
|