19215: Properly outputs LE's secret access key.
authorLucas Di Pentima <lucas.dipentima@curii.com>
Mon, 5 Dec 2022 18:05:09 +0000 (19:05 +0100)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Mon, 5 Dec 2022 18:05:09 +0000 (19:05 +0100)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

tools/salt-install/installer.sh

index eae79c61414eecb5772d21af30491236eb77b125..0cb4b6e09e9c57ca8131dafa2a7e8d45e990cc3d 100755 (executable)
@@ -205,7 +205,8 @@ case "$subcmd" in
        logfile=terraform-$(date -Iseconds).log
        (cd terraform/vpc && terraform apply) 2>&1 | tee -a $logfile
        (cd terraform/data-storage && terraform apply) 2>&1 | tee -a $logfile
-       (cd terraform/services && terraform apply) 2>&1 | tee -a $logfile
+       (cd terraform/services && terraform apply) 2>&1 | grep -v letsencrypt_iam_secret_access_key | tee -a $logfile
+       (cd terraform/services && echo -n 'letsencrypt_iam_secret_access_key = ' && terraform output letsencrypt_iam_secret_access_key) 2>&1 | tee -a $logfile
        ;;
 
     generate-tokens)