mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #32898 from hashicorp/bflad/less-null-more-terraform-docs
This commit is contained in:
commit
9d93415d4c
@ -8,13 +8,13 @@ description: >-
|
|||||||
# Provisioners Without a Resource
|
# Provisioners Without a Resource
|
||||||
|
|
||||||
If you need to run provisioners that aren't directly associated with a specific
|
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
|
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
|
like normal resources, but they don't do anything. Like with any other resource
|
||||||
type, you can configure [provisioners](/terraform/language/resources/provisioners/syntax)
|
type, you can configure [provisioners](/terraform/language/resources/provisioners/syntax)
|
||||||
and [connection details](/terraform/language/resources/provisioners/connection) on a
|
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
|
meta-arguments to control exactly where in the dependency graph its
|
||||||
provisioners will run.
|
provisioners will run.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user