From 418ae32cf8b1613750bfcc24c07b803605cce8de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Mon, 14 Mar 2022 08:56:52 +0100 Subject: [PATCH] packer: fix the secret ID variable in get_koji_creds.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Oops, we should probably start testing this. Signed-off-by: Ondřej Budai --- .../files/worker-initialization-scripts/get_koji_creds.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/packer/ansible/roles/common/files/worker-initialization-scripts/get_koji_creds.sh b/templates/packer/ansible/roles/common/files/worker-initialization-scripts/get_koji_creds.sh index 863bbdd44..20bdcc991 100755 --- a/templates/packer/ansible/roles/common/files/worker-initialization-scripts/get_koji_creds.sh +++ b/templates/packer/ansible/roles/common/files/worker-initialization-scripts/get_koji_creds.sh @@ -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)