Skip to content

Commit

Permalink
backend url
Browse files Browse the repository at this point in the history
  • Loading branch information
bra-fsn committed May 16, 2024
1 parent ee11997 commit 470691a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sc_runner/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def pulumi_stack(
project_name: Annotated[str, DefaultOpt(["--project-name"], type=str, help="Pulumi project name")] = os.environ.get("PULUMI_PROJECT_NAME", "runner"),
work_dir: Annotated[str, DefaultOpt(["--work-dir"], type=str, help="Pulumi work dir")] = os.environ.get("PULUMI_WORK_DIR", "/data/workdir"),
pulumi_home: Annotated[str, DefaultOpt(["--pulumi-home"], type=str, help="Pulumi home")] = os.environ.get("PULUMI_HOME", "/data/.pulumi"),
backend_url: Annotated[str, DefaultOpt(["--pulumi-backend"], type=str, help="Pulumi backend URL")] = os.environ.get("PULUMI_BACKEND_URL", "file:///data/backend"),
pulumi_backend_url: Annotated[str, DefaultOpt(["--pulumi-backend-url"], type=str, help="Pulumi backend URL")] = os.environ.get("PULUMI_BACKEND_URL", "file:///data/backend"),
stack_name: Annotated[
str,
click.Option(["--stack-name"], type=str, help="Pulumi stack name, defaults to {vendor}.{region}.{zone}.{instance_id} or similar")]
Expand All @@ -40,7 +40,7 @@ def pulumi_stack(
project_settings=ProjectSettings(
name=project_name,
runtime="python",
backend=ProjectBackend(backend_url)
backend=ProjectBackend(pulumi_backend_url)
)))
return stack

Expand Down

0 comments on commit 470691a

Please sign in to comment.