Skip to content

Commit b034e7c

Browse files
adding changes from contributor pr 982 to v1.14 (#1004)
This PR applies changes from https://github.com/hashicorp/web-unified-docs/pull/982/files to v1.14.x
2 parents 1bb637c + 48df946 commit b034e7c

File tree

1 file changed

+7
-1
lines changed
  • content/terraform/v1.14.x (beta)/docs/language/validate

1 file changed

+7
-1
lines changed

content/terraform/v1.14.x (beta)/docs/language/validate/index.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,13 @@ For example, you can use a `postcondition` to detect if a user accidentally prov
120120

121121
```hcl
122122
data "aws_ami" "example" {
123-
id = var.aws_ami_id
123+
executable_users = ["self"]
124+
most_recent = true
125+
owners = ["self"]
126+
filter {
127+
name = "name"
128+
values = ["myami-*"]
129+
}
124130
125131
lifecycle {
126132
# The AMI ID must refer to an existing AMI that has the tag "nomad-server".

0 commit comments

Comments
 (0)