Skip to content
This repository was archived by the owner on Oct 27, 2025. It is now read-only.

Commit 93f9827

Browse files
committed
Fix application telemetry instance_id passthrough (closes #11)
1 parent 4f444ed commit 93f9827

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

templates/config.json.tmpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@
154154
"secure": ${telemetry_secure}
155155
"userProvidedId": "${telemetry_user_provided_id}"
156156
"autoGeneratedId": "${telemetry_auto_gen_id}"
157-
"instanceId": "$${TELEMETRY_INSTANCE_ID}"
158157
"moduleName": "${telemetry_module_name}"
159158
"moduleVersion": "${telemetry_module_version}"
160159
}

templates/user-data.sh.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ sudo docker run \
1313
--log-opt max-size=10m \
1414
--log-opt max-file=5 \
1515
%{ endif ~}
16-
-e 'JAVA_OPTS=${java_opts}' \
17-
-e "TELEMETRY_INSTANCE_ID=$(get_instance_id)" \
16+
-e 'JAVA_OPTS=-Dconfig.override_with_env_vars=true ${java_opts}' \
17+
-e "CONFIG_FORCE_telemetry_instanceId=$(get_instance_id)" \
1818
snowplow/rdb-loader-snowflake:${version} \
1919
--config ${config_b64} \
2020
--iglu-config ${iglu_resolver_b64}

0 commit comments

Comments
 (0)