From 0c21871e7c6428ac99798aa49d969cfe9d7fcb42 Mon Sep 17 00:00:00 2001 From: Estelle Poulin Date: Wed, 20 Mar 2024 10:41:25 -0400 Subject: [PATCH 1/2] Update manifest.mdx --- website/content/docs/post-processors/manifest.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/docs/post-processors/manifest.mdx b/website/content/docs/post-processors/manifest.mdx index 67522439467..d2b8c51c4b4 100644 --- a/website/content/docs/post-processors/manifest.mdx +++ b/website/content/docs/post-processors/manifest.mdx @@ -201,7 +201,7 @@ build. #!/bin/bash -AMI_ID=$(jq -r '.builds[-1].artifact_id' manifest.json | cut -d ":" -f2) +AMI_ID=$(jq -r '.builds[-1].artifact_id | split(": ") | .[1]' manifest.json) echo $AMI_ID ``` From d6d2be86fb5ce13d31a473fbf111f01dea724814 Mon Sep 17 00:00:00 2001 From: Wilken Rivera Date: Wed, 15 May 2024 10:33:22 -0400 Subject: [PATCH 2/2] Remove extra space in split function --- website/content/docs/post-processors/manifest.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/docs/post-processors/manifest.mdx b/website/content/docs/post-processors/manifest.mdx index d2b8c51c4b4..839c940cb10 100644 --- a/website/content/docs/post-processors/manifest.mdx +++ b/website/content/docs/post-processors/manifest.mdx @@ -201,7 +201,7 @@ build. #!/bin/bash -AMI_ID=$(jq -r '.builds[-1].artifact_id | split(": ") | .[1]' manifest.json) +AMI_ID=$(jq -r '.builds[-1].artifact_id | split(":") | .[1]' manifest.json) echo $AMI_ID ```