Skip to content

Commit

Permalink
Add support for --no-use-container option (#7769)
Browse files Browse the repository at this point in the history
* add support for --no-use-container option

* add duplicate test for sync
  • Loading branch information
jonife authored Dec 5, 2024
1 parent 99b9d4b commit 5b141f2
Show file tree
Hide file tree
Showing 2 changed files with 451 additions and 1 deletion.
4 changes: 3 additions & 1 deletion samcli/commands/_utils/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -849,8 +849,10 @@ def resolve_image_repos_option(f):

def use_container_build_click_option():
return click.option(
"--use-container",
"--use-container/--no-use-container",
"-u",
required=False,
default=False,
is_flag=True,
help="Build functions within an AWS Lambda-like container.",
)
Expand Down
Loading

0 comments on commit 5b141f2

Please sign in to comment.