Skip to content

Commit

Permalink
Update custom-resource/index.py
Browse files Browse the repository at this point in the history
Co-authored-by: Shaun Remekie <[email protected]>
  • Loading branch information
guyrenny and daidokoro authored Jul 30, 2024
1 parent a460b10 commit 4e23fbe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom-resource/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,9 @@ def create(self):
@handle_exceptions
def check_statmentid_length(self, statmentid_prefix):
updated_prefix = statmentid_prefix
if len(statmentid_prefix) >= 70: # StatementId length limit is 100
updated_prefix = statmentid_prefix[:65] + statmentid_prefix[-5:]
return updated_prefix
if len(statmentid_prefix) >= 70: # StatementId length limit is 100
updated_prefix = statmentid_prefix[:65] + statmentid_prefix[-5:]
else:
Expand Down

0 comments on commit 4e23fbe

Please sign in to comment.