Skip to content

Commit 18bbce8

Browse files
authored
Merge pull request #462 from hashicorp/repo-sync
Repo sync
2 parents 4fe3c96 + b034e7c commit 18bbce8

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)