File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -79,11 +79,13 @@ module "ecs_tap_sync_task" {
79
79
{
80
80
TAP_CONFIG_DIR = " ${ var . data_lake_metadata_path } /tap-snapshot-${ local . unique_hash } " ,
81
81
TAP_STATE_FILE = " ${ coalesce (var. data_lake_storage_path , var. data_lake_metadata_path )} /${ var . state_file_naming_scheme } " ,
82
- TAP_LOG_DIR = " ${ var . data_lake_logging_path } /tap-${ local . taps_specs [count . index ]. name } /" ,
83
82
PIPELINE_VERSION_NUMBER = var.pipeline_version_number
84
83
" ${local.tap_env_prefix[count.index]}CONFIG_FILE" = " False" # Config will be passed via env vars
85
84
" ${local.target_env_prefix}CONFIG_FILE" = " False" # Config will be passed via env vars
86
85
},
86
+ var. data_lake_logging_path == null ? {} : {
87
+ TAP_LOG_DIR = " ${ var . data_lake_logging_path } /tap-${ local . taps_specs [count . index ]. name } /"
88
+ },
87
89
{
88
90
for k , v in local . taps_specs [count . index ]. settings :
89
91
" ${local.tap_env_prefix[count.index]}${k}" => v
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ The remote folder for storing tap execution logs and log artifacts.
107
107
Currently only S3 paths (s3://...) are supported.
108
108
EOF
109
109
type = string
110
+ default = null
110
111
}
111
112
variable "data_lake_metadata_path" {
112
113
description = << EOF
You can’t perform that action at this time.
0 commit comments