From e062d5e2680e3f63e7f2f8410773103e19d7326f Mon Sep 17 00:00:00 2001 From: iameskild Date: Wed, 2 Nov 2022 17:49:56 +0300 Subject: [PATCH 1/2] _ --> - --- nebari/cli/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nebari/cli/main.py b/nebari/cli/main.py index fef13558dd..dc54801991 100644 --- a/nebari/cli/main.py +++ b/nebari/cli/main.py @@ -189,7 +189,7 @@ def validate( help="nebari configuration yaml file path, please pass in as -c/--config flag", ), enable_commenting: bool = typer.Option( - False, "--enable_commenting", help="Toggle PR commenting on GitHub Actions" + False, "--enable-commenting", help="Toggle PR commenting on GitHub Actions" ), ): """ From 2e00d7048b8530ee189e72edfd012ff6bae967ac Mon Sep 17 00:00:00 2001 From: iameskild Date: Wed, 2 Nov 2022 18:12:45 +0300 Subject: [PATCH 2/2] Fix CLI issues --- nebari/cli/init.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nebari/cli/init.py b/nebari/cli/init.py index 69fa408543..b28cf1c2f8 100644 --- a/nebari/cli/init.py +++ b/nebari/cli/init.py @@ -159,6 +159,8 @@ def check_cloud_provider_creds(ctx: typer.Context, cloud_provider: str): "Paste your SPACES_SECRET_ACCESS_KEY", hide_input=True, ) + os.environ["AWS_ACCESS_KEY_ID"] = os.getenv("SPACES_ACCESS_KEY_ID") + os.environ["AWS_SECRET_ACCESS_KEY"] = os.getenv("AWS_SECRET_ACCESS_KEY") # AZURE elif cloud_provider == ProviderEnum.azure.value.lower() and (