Skip to content

Commit a92ab27

Browse files
committed
added lambda hash token for agentcore gateway
1 parent c9e73e5 commit a92ab27

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

publish.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,6 +1856,9 @@ def build_main_template(
18561856
"<PATTERN2_IMAGE_VERSION>": pattern2_image_version,
18571857
"<PATTERN3_IMAGE_VERSION>": pattern3_image_version,
18581858
"<HASH_TOKEN>": self.get_directory_checksum("./lib")[:16],
1859+
"<LAMBDA_HASH_TOKEN>": self.get_directory_checksum("./src/lambda")[
1860+
:16
1861+
],
18591862
"<CONFIG_LIBRARY_HASH_TOKEN>": self.get_directory_checksum(
18601863
"config_library"
18611864
)[:16],

template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ Resources:
11681168
UserPoolId: !Ref UserPool
11691169
ClientId: !Ref ExternalAppClient
11701170
ClientSecret: !GetAtt ExternalAppClient.ClientSecret
1171-
SourceCodeHash: <HASH_TOKEN>
1171+
SourceCodeHash: <LAMBDA_HASH_TOKEN>
11721172

11731173
##########################################################################
11741174
# Nested stack for selected pattern

0 commit comments

Comments
 (0)