mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-13 01:22:05 -06:00
commit
f6752c6cfa
@ -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 creates 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