Skip to content

Commit a39166a

Browse files
committed
Fixed example
1 parent 95c07d3 commit a39166a

File tree

3 files changed

+108
-1
lines changed

3 files changed

+108
-1
lines changed

examples/build-package/main.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ module "package_dir_pip_dir" {
4141
pip_requirements = "${path.module}/../fixtures/python-app1/requirements.txt"
4242
}]
4343
artifacts_dir = "${path.root}/builds/package_dir_pip_dir/"
44+
45+
quiet_archive_local_exec = true
4446
}
4547

4648
# Create zip-archive of a single directory where "poetry export" & "pip install --no-deps" will also be executed (using docker)
@@ -82,6 +84,8 @@ module "package_src_poetry" {
8284
}
8385
]
8486
artifacts_dir = "${path.root}/builds/package_src_poetry/"
87+
88+
quiet_archive_local_exec = true
8589
}
8690

8791
# Create zip-archive of a src directory where "poetry export" & "pip install --no-deps" will also be executed (using docker)
@@ -255,7 +259,7 @@ module "npm_package_with_commands_and_patterns" {
255259
runtime = "nodejs18.x"
256260
source_path = [
257261
{
258-
path = "${path.module}/../fixtures/node-app"
262+
path = "${path.module}/../fixtures/nodejs14.x-app1"
259263
commands = [
260264
"[ ! -d node_modules ] || mv node_modules node_modules_temp",
261265
"npm install --production",

examples/fixtures/nodejs14.x-app1/package-lock.json

Lines changed: 102 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wrappers/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ module "wrapper" {
9898
provisioned_concurrent_executions = try(each.value.provisioned_concurrent_executions, var.defaults.provisioned_concurrent_executions, -1)
9999
publish = try(each.value.publish, var.defaults.publish, false)
100100
putin_khuylo = try(each.value.putin_khuylo, var.defaults.putin_khuylo, true)
101+
quiet_archive_local_exec = try(each.value.quiet_archive_local_exec, var.defaults.quiet_archive_local_exec, false)
101102
recreate_missing_package = try(each.value.recreate_missing_package, var.defaults.recreate_missing_package, true)
102103
replace_security_groups_on_destroy = try(each.value.replace_security_groups_on_destroy, var.defaults.replace_security_groups_on_destroy, null)
103104
replacement_security_group_ids = try(each.value.replacement_security_group_ids, var.defaults.replacement_security_group_ids, null)

0 commit comments

Comments
 (0)