Update website/docs/language/expressions/custom-conditions.mdx

Co-authored-by: Martin Atkins <mart@degeneration.co.uk>
This commit is contained in:
Laura Pacilio 2022-04-07 11:39:41 -04:00 committed by GitHub
parent 4ab955eeab
commit b997c983a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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\"."
}
}
}