Skip to content

Commit

Permalink
why not one more?!
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaraphael committed Nov 27, 2023
1 parent 599654c commit 963edf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stack/sns_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from utils import construct_name

keyname = pulumi.Config("cerulean-cloud").require("keyname")
secret = gcp.secretmanager.get_secret(name=keyname)
secret = gcp.secretmanager.get_secret(secret_id=keyname)
api_key = gcp.secretmanager.get_secret_version_output(
secret=keyname
).payload_data.apply(lambda data: data.decode("utf-8"))
Expand Down
2 changes: 1 addition & 1 deletion stack/titiler_sentinel.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from utils import construct_name, create_package, filebase64sha256

titiler_keyname = pulumi.Config("cerulean-cloud").require("titiler_keyname")
secret = gcp.secretmanager.get_secret(name=titiler_keyname)
secret = gcp.secretmanager.get_secret(secret_id=titiler_keyname)
titiler_api_key = gcp.secretmanager.get_secret_version_output(
secret=titiler_keyname
).payload_data.apply(lambda data: data.decode("utf-8"))
Expand Down

0 comments on commit 963edf5

Please sign in to comment.