Skip to content

Commit

Permalink
Work on copy
Browse files Browse the repository at this point in the history
  • Loading branch information
bra-fsn committed Jun 20, 2024
1 parent eb451d5 commit 5e87a37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "sparecores-runner"
version = "0.0.15"
version = "0.0.16"
requires-python = ">= 3.9"
dependencies = [
"click",
Expand Down
2 changes: 2 additions & 0 deletions src/sc_runner/resources/gcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ def resources_gcp(
if "zone" in instance_opts:
# as zone is part of the Pulumi stack name, it must be specified in the zone option and not in instance_opts
raise ValueError("zone must be specified in the zone option")
# we don't want to modify the default
instance_opts = copy.deepcopy(instance_opts)
provider = gcp.Provider(
resource_name=zone,
zone=zone,
Expand Down

0 comments on commit 5e87a37

Please sign in to comment.