File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -68,10 +68,10 @@ usage: |-
6868 source_type = "python"
6969
7070 rsync_pattern = [
71- "--exclude='**tests**'"
72- "--exclude=" '**__pycache__**'"
73- "--include=module/{a,b,c}/"
74- "--include='*.py'"
71+ "--exclude='**tests**'",
72+ "--exclude='**__pycache__**'",
73+ "--include=module/{a,b,c}/",
74+ "--include='*.py'",
7575 "--exclude='module/*'"
7676 ]
7777 }
Original file line number Diff line number Diff line change @@ -20,10 +20,11 @@ resource "null_resource" "build" {
2020 provisioner "local-exec" {
2121 command = " ${ path . module } /build.sh"
2222 environment = {
23- DIST_DIR = data.null_data_source.dist.outputs.path
24- SOURCE_DIR = var.source_dir
25- SOURCE_TYPE = var.source_type
26- PACKAGE_FILE = var.package_file
23+ DIST_DIR = data.null_data_source.dist.outputs.path
24+ SOURCE_DIR = var.source_dir
25+ SOURCE_TYPE = var.source_type
26+ PACKAGE_FILE = var.package_file
27+ RSYNC_PATTERN = join (" " , var. rsync_pattern )
2728 }
2829 }
2930}
You can’t perform that action at this time.
0 commit comments