Skip to content

Commit

Permalink
Use assume role in lambda-deploy-event
Browse files Browse the repository at this point in the history
  • Loading branch information
micahflee committed Sep 26, 2022
1 parent 531dce8 commit c6784d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployables2/deployables2.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,8 @@ def lambda_deploy_event(self):
):
return False

events_client = self._aws_client("events")
lambda_client = self._aws_client("lambda")
events_client = self._aws_client("events", True)
lambda_client = self._aws_client("lambda", True)

event_rule_name = self.env.get("DEPLOY_LAMBDA_EVENT_BASENAME") + "_rule"
permission_statement_id = (
Expand Down

0 comments on commit c6784d5

Please sign in to comment.