Skip to content

Commit

Permalink
Handle temporary credentials when resource_type is used to get custom…
Browse files Browse the repository at this point in the history
… waiters (#31333)
  • Loading branch information
vincbeck committed May 16, 2023
1 parent a018f0f commit e05e3a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow/providers/amazon/aws/hooks/base_aws.py
Expand Up @@ -853,6 +853,7 @@ def get_waiter(
region_name=self.region_name,
aws_access_key_id=credentials.access_key,
aws_secret_access_key=credentials.secret_key,
aws_session_token=credentials.token,
)

# Technically if waiter_name is in custom_waiters then self.waiter_path must
Expand Down

0 comments on commit e05e3a9

Please sign in to comment.