Skip to content

Commit

Permalink
sanity fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mandar242 committed Oct 18, 2024
1 parent 4c51a63 commit dfcf16d
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 @@ -1738,6 +1738,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 dfcf16d

Please sign in to comment.