mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-10 16:31:39 -04:00
Remove extra space in split function
This commit is contained in:
@@ -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
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user