diff --git a/lab/cfn/eks-workshop-vscode-cfn.yaml b/lab/cfn/eks-workshop-vscode-cfn.yaml index cd87e9486..1f27c7653 100644 --- a/lab/cfn/eks-workshop-vscode-cfn.yaml +++ b/lab/cfn/eks-workshop-vscode-cfn.yaml @@ -281,7 +281,7 @@ Resources: - !Sub | set -e - yum install -y git tar gzip vim nodejs npm make gcc g++ + yum install -y git tar gzip vim nodejs npm make gcc g++ argon2 export environment="${Environment}" @@ -329,7 +329,7 @@ Resources: PASSWORD_SECRET_VALUE=$(aws secretsmanager get-secret-value --secret-id "${EksWorkshopIdePassword.Id}" --query 'SecretString' --output text) IDE_PASSWORD=$(echo "$PASSWORD_SECRET_VALUE" | jq -r '.password') - HASHED_PASSWORD=$(echo -n "$IDE_PASSWORD" | npx argon2-cli -e) + HASHED_PASSWORD=$(echo -n "$IDE_PASSWORD" | argon2 saltItWithSalt -l 32 -e) mkdir -p ~/.config/code-server touch ~/.config/code-server/config.yaml