mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-23 22:00:54 -04:00
Update website/docs/language/resources/syntax.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
This commit is contained in:
@@ -133,7 +133,7 @@ The following meta-arguments are documented on separate pages:
|
||||
|
||||
## Custom Condition Checks
|
||||
|
||||
You can use `precondition` and `postcondition` blocks to specify assumptions and guarantees about how the resource operates. The following examples create a precondition that checks whether the AMI is properly configured.
|
||||
You can use `precondition` and `postcondition` blocks to specify assumptions and guarantees about how the resource operates. The following example creates a precondition that checks whether the AMI is properly configured.
|
||||
|
||||
```hcl
|
||||
resource "aws_instance" "example" {
|
||||
|
||||
Reference in New Issue
Block a user