k8ssandra / k8ssandra-terraform

Apache License 2.0
17 stars 16 forks source link

[GCP] Incorrect output of env variables #26

Open adejanovski opened 3 years ago

adejanovski commented 3 years ago

${TF_VAR_region} is used twice when logging the configured env variables instead of ${TF_VAR_project_id} for the second one: https://github.com/k8ssandra/k8ssandra-terraform/blob/4385cbacf2b4943119f5c13919ea38c9adff1422/gcp/scripts/common.sh#L75-L78

┆Issue is synchronized with this Jiraserver Task by Unito ┆Issue Number: K8SSAND-477 ┆Priority: Medium

adejanovski commented 3 years ago

Also, it would be nice to have an additional newline at the end of these loggings as it currently prints the next loggings on the same line:

bash /Users/adejanovski/projets/cassandra/adejanovski/k8ssandra-terraform/gcp/scripts/init.sh
Following variables are configured
TF_VAR_environment: dev
TF_VAR_name: k8ssandra
TF_VAR_region: us-central-1
TF_VAR_project_id: us-central-1from: can't read /var/mail/google.cloud