From f42e420c88ad0efcc65d135f7e254a36aebcb871 Mon Sep 17 00:00:00 2001 From: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com> Date: Tue, 8 Oct 2024 09:22:49 +0200 Subject: [PATCH] fix: ecr login --- terraform/crater/startup-script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/crater/startup-script.sh b/terraform/crater/startup-script.sh index 9d42faaf..18459ab1 100644 --- a/terraform/crater/startup-script.sh +++ b/terraform/crater/startup-script.sh @@ -36,7 +36,7 @@ AGENT_TOKEN=$(aws --region us-west-1 \ --name /prod/ansible/crater-gcp-2/crater-token \ --with-decryption) -eval $(aws ecr get-login --no-include-email --region us-west-1) +aws ecr get-login-password --region us-west-1 | docker login --username AWS --password-stdin docker pull ${docker_url}