-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add streaming BigQuery Loader modules #7
base: main
Are you sure you want to change the base?
Conversation
main.tf
Outdated
@@ -69,26 +65,13 @@ resource "google_project_iam_member" "sa_logging_log_writer" { | |||
member = "serviceAccount:${google_service_account.sa.email}" | |||
} | |||
|
|||
//TODO do we need this? Or instead should we pass service account key as variable? |
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.
Yes but if you want to have an optional override for testing scenarios go for it!
} | ||
} | ||
%{ endif ~} |
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.
Please add the telemetry configs here!
%{ endif ~} | ||
--mount type=bind,source=$${CONFIG_DIR},target=/snowplow/config \ | ||
--env JDK_JAVA_OPTIONS='${java_opts}' \ | ||
--env ACCEPT_LIMITED_USE_LICENSE=${accept_limited_use_license} \ |
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.
For telemetry to work you will need to add INSTANCE_ID as an env_var - see the other google
OSS modules for examples.
templates/startup-script.sh.tmpl
Outdated
--mount type=bind,source=$${CONFIG_DIR},target=/snowplow/config \ | ||
--env JDK_JAVA_OPTIONS='${java_opts}' \ | ||
--env ACCEPT_LIMITED_USE_LICENSE=${accept_limited_use_license} \ | ||
snowplow/bigquery-loader-pubsub:${version} \ |
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.
Indent me.
variables.tf
Outdated
@@ -17,7 +17,7 @@ variable "name" { | |||
variable "app_version" { | |||
description = "App version to use. This variable facilitates dev flow, the modules may not work with anything other than the default value." | |||
type = string | |||
default = "1.7.0" | |||
default = "2.0.0-rc4" |
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.
needs to be switched to a non-RC version before release
type = string | ||
default = "" | ||
} | ||
|
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.
Extra whitespace?
No description provided.