Skip to content

Commit e45e0bf

Browse files
author
matthieu.boret
committed
add missing rsync pattern env variable and fix readme typo
1 parent a1a1d87 commit e45e0bf

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

archive.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ resource "null_resource" "build" {
2424
SOURCE_DIR = var.source_dir
2525
SOURCE_TYPE = var.source_type
2626
PACKAGE_FILE = var.package_file
27+
RSYNC_PATTERN = join(" ", var.rsync_pattern)
2728
}
2829
}
2930
}

0 commit comments

Comments
 (0)