Skip to content

Commit

Permalink
inch by inch
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaraphael committed Nov 27, 2023
1 parent 963edf5 commit 3b78062
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions stack/sns_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

keyname = pulumi.Config("cerulean-cloud").require("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"))
api_key = gcp.secretmanager.get_secret_version_output(secret=keyname).secret_data.apply(
lambda data: data.decode("utf-8")
)


iam_for_lambda = aws.iam.Role(
Expand Down
2 changes: 1 addition & 1 deletion stack/titiler_sentinel.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
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"))
).secret_data.apply(lambda data: data.decode("utf-8"))


s3_bucket = aws.s3.Bucket(construct_name("titiler-lambda-archive"))
Expand Down

0 comments on commit 3b78062

Please sign in to comment.