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: Martin Atkins <mart@degeneration.co.uk>
This commit is contained in:
parent
4ab955eeab
commit
b997c983a5
@ -81,8 +81,7 @@ data "aws_ami" "example" {
|
||||
# The AMI ID must refer to an existing AMI that has the tag "nomad-server".
|
||||
postcondition {
|
||||
condition = self.tags["Component"] == "nomad-server"
|
||||
error_message = "The selected AMI must be tagged with the
|
||||
Component value \"nomad-server\"."
|
||||
error_message = "The selected AMI must be tagged with the Component value \"nomad-server\"."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user