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: |-
68
68
source_type = "python"
69
69
70
70
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'",
75
75
"--exclude='module/*'"
76
76
]
77
77
}
Original file line number Diff line number Diff line change @@ -20,10 +20,11 @@ resource "null_resource" "build" {
20
20
provisioner "local-exec" {
21
21
command = " ${ path . module } /build.sh"
22
22
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 )
27
28
}
28
29
}
29
30
}
You can’t perform that action at this time.
0 commit comments