mirror of
https://github.com/hashicorp/terraform.git
synced 2026-06-09 00:42:48 -04:00
This allows precondition and postcondition checks to be declared for resources and output values as long as the preconditions_postconditions experiment is enabled. Terraform Core doesn't currently know anything about these features, so as of this commit declaring them does nothing at all.
7 lines
201 B
HCL
7 lines
201 B
HCL
data "example" "example" {
|
|
lifecycle {
|
|
# The lifecycle arguments are not valid for data resources:
|
|
# only the precondition and postcondition blocks are allowed.
|
|
ignore_changes = []
|
|
}
|
|
}
|