mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-25 16:31:10 -06:00
Update website/docs/language/resources/syntax.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
This commit is contained in:
parent
3513352300
commit
7510dc4d47
@ -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" {
|
||||
|
Loading…
Reference in New Issue
Block a user