Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
pondzix committed Apr 25, 2024
1 parent 4d62dcd commit 873b335
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ locals {
config_b64 = base64encode(local.hocon)
iglu_config_b64 = base64encode(local.iglu_resolver)
accept_limited_use_license = var.accept_limited_use_license
bigquery_service_account_json_b64 = var.bigquery_service_account_json_b64
bigquery_service_account_json_b64 = base64decode(var.bigquery_service_account_json_b64)
telemetry_script = join("", module.telemetry.*.gcp_ubuntu_20_04_user_data)
gcp_logs_enabled = var.gcp_logs_enabled
java_opts = var.java_opts
Expand Down
2 changes: 1 addition & 1 deletion templates/startup-script.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sudo docker run \
--env JDK_JAVA_OPTIONS='${java_opts}' \
--env ACCEPT_LIMITED_USE_LICENSE=${accept_limited_use_license} \
%{ if bigquery_service_account_json_b64 != "" ~}
--env BIGQUERY_SERVICE_ACCOUNT_JSON=${bigquery_service_account_json_b64} \
--env BIGQUERY_SERVICE_ACCOUNT_JSON='${bigquery_service_account_json_b64}' \
%{ endif ~}
--env INSTANCE_ID=$(get_instance_id) \
snowplow/bigquery-loader-pubsub:${version} \
Expand Down

0 comments on commit 873b335

Please sign in to comment.