Skip to content

Commit

Permalink
sanity fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mandar242 committed Oct 22, 2024
1 parent 3dc1947 commit e57f23c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/module_utils/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1784,6 +1784,7 @@ def determine_iam_arn_from_name(iam_client, name_or_arn: str) -> str:
raise AnsibleEC2Error(message=f"Could not find IAM instance profile {name_or_arn}")
return iam_instance_profiles[0]["Arn"]


# EC2 Transit Gateway
class EC2TransitGatewayErrorHandler(AWSErrorHandler):
_CUSTOM_EXCEPTION = AnsibleEC2Error
Expand Down

0 comments on commit e57f23c

Please sign in to comment.