Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,14 @@ 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".
Expand Down
Loading