packer: fix the secret ID variable in get_koji_creds.sh

Oops, we should probably start testing this.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2022-03-14 08:56:52 +01:00 committed by Tom Gundersen
parent 424a741de6
commit 418ae32cf8

View file

@ -11,7 +11,7 @@ fi
/usr/local/bin/aws secretsmanager get-secret-value \
--endpoint-url "${SECRETS_MANAGER_ENDPOINT_URL}" \
--secret-id "${KOJI_SERVICE_ACCOUNT_IMAGE_BUILDER_ARN}" | jq -r ".SecretString" > /tmp/koji_credentials.json
--secret-id "${KOJI_ACCOUNT_IMAGE_BUILDER_ARN}" | jq -r ".SecretString" > /tmp/koji_credentials.json
KOJIHUB=$(jq -r ".kojihub" /tmp/koji_credentials.json)
PRINCIPAL=$(jq -r ".principal" /tmp/koji_credentials.json)