Update website/docs/language/resources/syntax.mdx

Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
This commit is contained in:
Park Choong Ho
2022-06-13 17:21:37 +09:00
committed by GitHub
parent 3513352300
commit 7510dc4d47

View File

@@ -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" {