From edbee06490534af0ba04d5954dbeedf897227027 Mon Sep 17 00:00:00 2001 From: trujillo-adam Date: Thu, 25 Sep 2025 09:55:48 -0700 Subject: [PATCH] adding changes from contributor pr 982 to v1.14 --- .../v1.14.x (beta)/docs/language/validate/index.mdx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/terraform/v1.14.x (beta)/docs/language/validate/index.mdx b/content/terraform/v1.14.x (beta)/docs/language/validate/index.mdx index 43ad1dae25..9954efcb91 100644 --- a/content/terraform/v1.14.x (beta)/docs/language/validate/index.mdx +++ b/content/terraform/v1.14.x (beta)/docs/language/validate/index.mdx @@ -120,7 +120,13 @@ For example, you can use a `postcondition` to detect if a user accidentally prov ```hcl data "aws_ami" "example" { - id = var.aws_ami_id + executable_users = ["self"] + most_recent = true + owners = ["self"] + filter { + name = "name" + values = ["myami-*"] + } lifecycle { # The AMI ID must refer to an existing AMI that has the tag "nomad-server".