mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Update website/docs/language/expressions/custom-conditions.mdx
Co-authored-by: Robin Norwood <rnorwood@hashicorp.com>
This commit is contained in:
parent
5841db00b3
commit
1666aa8463
@ -129,7 +129,7 @@ resource "aws_instance" "example" {
|
|||||||
|
|
||||||
# The EC2 instance must be allocated a public DNS hostname.
|
# The EC2 instance must be allocated a public DNS hostname.
|
||||||
postcondition {
|
postcondition {
|
||||||
condition = self.public_dns != ""
|
condition = self.public_dns != ""
|
||||||
error_message = "EC2 instance must be in a VPC that has public DNS hostnames enabled."
|
error_message = "EC2 instance must be in a VPC that has public DNS hostnames enabled."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user