Skip to content

Commit 4fe3c96

Browse files
authored
Merge pull request #461 from hashicorp/repo-sync
Repo sync
2 parents e3dcbeb + 1bb637c commit 4fe3c96

File tree

1 file changed

+8
-1
lines changed
  • content/terraform/v1.13.x/docs/language/validate

1 file changed

+8
-1
lines changed

content/terraform/v1.13.x/docs/language/validate/index.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,14 @@ 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+
127+
filter {
128+
name = "name"
129+
values = ["myami-*"]
130+
}
124131
125132
lifecycle {
126133
# The AMI ID must refer to an existing AMI that has the tag "nomad-server".

0 commit comments

Comments
 (0)