fix incorrect HCL syntax for example

laura-update-pre-post-conditions
Laura Pacilio 4 years ago
parent 7a43db405c
commit 2a206c7984

@ -134,7 +134,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 = error_message = "tags[\"Component\"] must be \"nomad-server\"."
error_message = "tags[\"Component\"] must be \"nomad-server\"."
}
}
}

@ -81,7 +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 = "tags[\"Component\"] must be \"nomad-server\"."
}
}
}

Loading…
Cancel
Save