Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(readme): update readme example #11

Merged
merged 1 commit into from
Dec 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ variable "two" {}

resource "validation_error" "error" {
condition = var.one == var.two
summary = "var.one and var.two must never be equal"
details = <<EOF
summary = "var.one and var.two must never be equal"
details = <<EOF
When var.one and var.two are equal, bad things can happen.
Please use differing values for these inputs.
var.one: ${var.one}
Expand All @@ -46,10 +46,10 @@ variable "two" {}

resource "validation_warning" "warn" {
condition = var.one == var.two
summary = "var.one and var.two are equal. This will cause an error in future versions"
details = <<EOF
In a future release of this code, var.one and var.two may no longer be equal. Please consider modifying the values to
be distinct to avoid execution failures.
summary = "var.one and var.two are equal. This will cause an error in future versions"
details = <<EOF
In a future release of this code, var.one and var.two may no longer be equal.
Please consider modifying the values to avoid execution failures.
var.one: ${var.one}
var.two: ${var.two}
EOF
Expand Down
Loading