mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
Merge pull request #31953 from hashicorp/add-cont-valid-callout
Add callout to Continuous Validation
This commit is contained in:
commit
e60bfc0b57
@ -102,6 +102,10 @@ Preconditions can serve a symmetrical purpose to input variable `validation` blo
|
||||
|
||||
Terraform evaluates output value preconditions before evaluating the `value` expression to finalize the result. Preconditions can take precedence over potential errors in the `value` expression.
|
||||
|
||||
### Continuous Validation in Terraform Cloud
|
||||
|
||||
Terraform Cloud can automatically check whether the preconditions and postconditions in a workspace’s configuration continue to pass after Terraform provisions the infrastructure. For example, you can write a `postcondition` to check whether an API gateway certificate is valid. Continuous validation alerts you when the condition fails, so you can update the certificate and avoid errors the next time you want to update your infrastructure. Refer to [Continuous Validation](/cloud-docs/workspaces/health#continuous-validation) in the Terraform Cloud documentation for details.
|
||||
|
||||
### Examples
|
||||
|
||||
The following example shows use cases for preconditions and postconditions. The preconditions and postconditions declare the following assumptions and guarantees.
|
||||
|
Loading…
Reference in New Issue
Block a user