-
Notifications
You must be signed in to change notification settings - Fork 91
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
Updated terraform configuration to initialize empty input and ouput directories #4843
Changes from 3 commits
d301365
e30ca72
eb01fa7
6a2a14b
023824f
e0b9e29
66e0c7b
b8bdc31
94b79dc
bd809be
b3de725
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,6 +73,18 @@ variable "dc_gcs_data_bucket_path_override" { | |
default = "" | ||
} | ||
|
||
variable "dc_gcs_data_bucket_input_folder" { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is great! I wonder if we need the "dc" prefix, since we don't use it for other services. Also, is it possible to remove "path" from the previous option? It's kind of misleading since it's only the bucket name. Can we also remove the "override"? We don't name any other optional variables that way, so it seems weird here. I would just call it "gcs_data_bucket_name". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good call. Removed |
||
description = "Input data folder in the GCS data bucket" | ||
type = string | ||
default = "input" | ||
} | ||
|
||
variable "dc_gcs_data_bucket_output_folder" { | ||
description = "Output data folder in the GCS data bucket" | ||
type = string | ||
default = "output" | ||
} | ||
|
||
variable "dc_gcs_data_bucket_location" { | ||
description = "Data Commons GCS data bucket location" | ||
type = string | ||
|
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.
Do we also need one for OUTPUT_DIR, since we're giving them that variable too?
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.
Already added that!
dc_gcs_data_bucket_output_folder