Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit acd5edf

Browse files
authored
fix(vault-jwt): fix vault CLI installation (#311)
1 parent 4dcab99 commit acd5edf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

vault-jwt/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This module lets you authenticate with [Hashicorp Vault](https://www.vaultprojec
1515
```tf
1616
module "vault" {
1717
source = "registry.coder.com/modules/vault-jwt/coder"
18-
version = "1.0.19"
18+
version = "1.0.20"
1919
agent_id = coder_agent.example.id
2020
vault_addr = "https://vault.example.com"
2121
vault_jwt_role = "coder" # The Vault role to use for authentication
@@ -41,7 +41,7 @@ curl -H "X-Vault-Token: ${VAULT_TOKEN}" -X GET "${VAULT_ADDR}/v1/coder/secrets/d
4141
```tf
4242
module "vault" {
4343
source = "registry.coder.com/modules/vault-jwt/coder"
44-
version = "1.0.19"
44+
version = "1.0.20"
4545
agent_id = coder_agent.example.id
4646
vault_addr = "https://vault.example.com"
4747
vault_jwt_auth_path = "oidc"
@@ -56,7 +56,7 @@ data "coder_workspace_owner" "me" {}
5656
5757
module "vault" {
5858
source = "registry.coder.com/modules/vault-jwt/coder"
59-
version = "1.0.19"
59+
version = "1.0.20"
6060
agent_id = coder_agent.example.id
6161
vault_addr = "https://vault.example.com"
6262
vault_jwt_role = data.coder_workspace_owner.me.groups[0]
@@ -68,7 +68,7 @@ module "vault" {
6868
```tf
6969
module "vault" {
7070
source = "registry.coder.com/modules/vault-jwt/coder"
71-
version = "1.0.19"
71+
version = "1.0.20"
7272
agent_id = coder_agent.example.id
7373
vault_addr = "https://vault.example.com"
7474
vault_jwt_role = "coder" # The Vault role to use for authentication

vault-jwt/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ install() {
5151
printf "Failed to determine the latest Vault version.\n"
5252
return 1
5353
fi
54-
VAULT_CLI_VERSION=$${VAULT_CLI_VERSION}
54+
VAULT_CLI_VERSION=$${LATEST_VERSION}
5555
fi
5656

5757
# Check if the vault CLI is installed and has the correct version

0 commit comments

Comments
 (0)