-
Notifications
You must be signed in to change notification settings - Fork 3
3867 terraform #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 3742-create-data-backend
Are you sure you want to change the base?
3867 terraform #65
Conversation
…install and rsync commands
It would be nice to have an output for the value |
name = local.clickhouse_disk_name | ||
description = "Clickhouse data disk" | ||
type = "pd-ssd" | ||
zone = "europe-west1-d" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe leave this as a variable in case the zone is not available we can configure it. With the default value set to "europe-west1-d"
|
||
// Create a disk volume for Clickhouse data | ||
resource "google_compute_disk" "clickhouse_data_disk" { | ||
project = "open-targets-eu-dev" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the project could also be a variable with the default value to eu-dev
clickhouse_steps | ||
wait | ||
journalctl -u google-startup-scripts.service > /var/log/google-startup-scripts.log | ||
gsutil -m cp /var/log/google-startup-scripts.log gs://open-targets-ops/logs/platform-pos/${INSTANCE_LABEL}/pos/google-startup-scripts.log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could add an output to get the log file
af5e8ba
to
146b560
Compare
Resolves opentargets/issues#3867