Skip to content

Commit

Permalink
Add manifest.json generation to Packer
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdeme committed Oct 24, 2023
1 parent 04f3a61 commit 3bd558d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aws.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,8 @@ build {
tag_value = "Spacelift AMI"
keep_releases = 180
}

post-processor "manifest" {
output = "manifest.json"
}
}
4 changes: 4 additions & 0 deletions azure.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,8 @@ build {
]
inline_shebang = "/bin/sh -x"
}

post-processor "manifest" {
output = "manifest.json"
}
}
4 changes: 4 additions & 0 deletions gcp.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,8 @@ build {
"shared/scripts/apt-install-jq.sh",
]
}

post-processor "manifest" {
output = "manifest.json"
}
}

0 comments on commit 3bd558d

Please sign in to comment.