diff --git a/workbench/Dockerfile b/workbench/Dockerfile
index eff542836ed95dfa29bb61526b7d12b46f9e7bcf..5b3d9973af400b4b9a6ef482f19ad723e62b27b8 100644
--- a/workbench/Dockerfile
+++ b/workbench/Dockerfile
@@ -255,7 +255,7 @@ RUN export PIP_CONSTRAINT=/tmp/constraint.txt && \
     unset PIP_CONSTRAINT && \
     pipx install chalice && \
     pipx install curator-opensearch && \
-    CFLAGS="-Wno-error=incompatible-pointer-types" pipx install https://github.com/aws/aws-cli/archive/refs/heads/v2.zip && \
+    CFLAGS="-Wno-error=incompatible-pointer-types" pipx install https://github.com/aws/aws-cli/archive/refs/heads/dependabot/pip/v2/ruamel-yaml-clib-0.2.12.zip && \
     rm -rf /tmp/* /var/tmp/* ~/.cache/*
 ENV COREPACK_HOME=/usr/local/share/corepack
 # hadolint ignore=DL3016