Skip to content

Commit 2e9e334

Browse files
authored
Update Vault CLI download link to use architecture
1 parent d648517 commit 2e9e334

File tree

1 file changed

+1
-1
lines changed
  • registry/coder/modules/vault-token

1 file changed

+1
-1
lines changed

registry/coder/modules/vault-token/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ install() {
6868
else
6969
printf "Upgrading Vault CLI from version %s to %s ...\n\n" "$${CURRENT_VERSION}" "${INSTALL_VERSION}"
7070
fi
71-
fetch vault.zip "https://releases.hashicorp.com/vault/$${INSTALL_VERSION}/vault_$${INSTALL_VERSION}_linux_amd64.zip"
71+
fetch vault.zip "https://releases.hashicorp.com/vault/$${INSTALL_VERSION}/vault_$${INSTALL_VERSION}_linux_$${ARCH}.zip"
7272
if [ $? -ne 0 ]; then
7373
printf "Failed to download Vault.\n"
7474
return 1

0 commit comments

Comments
 (0)