diff --git a/docs/assets/scripts/developer/k3d-dev.sh b/docs/assets/scripts/developer/k3d-dev.sh
index b3b687d20f59b26c34d6cb757b4b2410a624e8b8..4bcb75eab27285d30f123ab33a8e9f7f708c467d 100755
--- a/docs/assets/scripts/developer/k3d-dev.sh
+++ b/docs/assets/scripts/developer/k3d-dev.sh
@@ -207,6 +207,7 @@ echo "Using AMI image id ${AMI_ID}"
 ImageId="${AMI_ID}"
 
 # Create userdata.txt
+mkdir -p ~/aws
 cat << EOF > ~/aws/userdata.txt
 MIME-Version: 1.0
 Content-Type: multipart/mixed; boundary="==MYBOUNDARY=="