diff --git a/plugins/module_utils/ec2.py b/plugins/module_utils/ec2.py index 2193a899fa2..73b5a7d8425 100644 --- a/plugins/module_utils/ec2.py +++ b/plugins/module_utils/ec2.py @@ -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