Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a48cb0 commit b88b8acCopy full SHA for b88b8ac
‎localstack-core/localstack/cli/localstack.py
@@ -507,10 +507,9 @@ def cmd_start(
507
if stack:
508
# Validate allowed stacks
509
stack_name = stack.split(":")[0]
510
- if stack_name.lower() not in ["localstack", "snowflake"]:
511
- raise CLIError(
512
- f"Invalid stack '{stack_name}'. Only 'localstack' and 'snowflake' are supported."
513
- )
+ allowed_stacks = ("localstack", "localstack-pro", "snowflake")
+ if stack_name.lower() not in allowed_stacks:
+ raise CLIError(f"Invalid stack '{stack_name}'. Allowed stacks: {allowed_stacks}.")
514
515
# Set IMAGE_NAME, defaulting to :latest if no version specified
516
if ":" not in stack:
0 commit comments