Skip to content

Commit

Permalink
fix: make nomad token a sensitive output
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanadelacuesta committed Jan 8, 2025
1 parent 945e0d3 commit e62916a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions e2e/terraform/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,10 @@ output "key_file" {
}

output "nomad_token" {
value = module.provision-infra.nomad_token
value = module.provision-infra.nomad_token
sensitive = true
}




# Note: Consul and Vault environment needs to be set in test
# environment before the Terraform run, so we don't have that output
# here
Expand Down
3 changes: 2 additions & 1 deletion e2e/terraform/provision-infra/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ output "key_file" {
}

output "nomad_token" {
value = "${data.local_sensitive_file.nomad_token.content}"
value = "${data.local_sensitive_file.nomad_token.content}"
sensitive = true
}

0 comments on commit e62916a

Please sign in to comment.