Skip to content

Commit

Permalink
Fixed instance id var for export
Browse files Browse the repository at this point in the history
  • Loading branch information
c-bordon committed Sep 5, 2024
1 parent 0635f7f commit 697c5d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/builder_OVA.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ jobs:
- name: Export Instance to create OVA
run: |
ID=$(grep -oP '^identifier: \K.*' /tmp/allocatorvm_ova/track.yml)
EXPORT=$(aws ec2 create-instance-export-task --instance-id "${ID}" --target-environment vmware \
EXPORT=$(aws ec2 create-instance-export-task --instance-id "${{ env.INSTANCE_ID }}" --target-environment vmware \
--export-to-s3-task "ContainerFormat=${{ env.CONTAINER_FORMAT }},DiskImageFormat=VMDK,S3Bucket=${{ env.TEMPORAL_S3_BUCKET }},S3Prefix=${{ env.TEMPORAL_S3_PATH }}/${{ env.FILENAME }}")
EXPORT_ID=$(echo ${EXPORT} | jq -r '.ExportTask.ExportTaskId')
echo "EXPORT_ID=${EXPORT_ID}" >> $GITHUB_ENV
Expand Down

0 comments on commit 697c5d8

Please sign in to comment.