From c90a765eb515cb1b063d7873e65b4e72b8c97c1a Mon Sep 17 00:00:00 2001 From: Dan Guido Date: Sat, 16 Aug 2025 03:04:11 -0400 Subject: [PATCH] Fix AWS Lightsail deployment error by removing deprecated boto3 parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the deprecated boto3 parameter from get_aws_connection_info() call in the lightsail_region_facts module. This parameter has been non-functional since amazon.aws collection 4.0.0 and was removed in recent versions bundled with Ansible 11.x, causing deployment failures. The function works correctly without this parameter as the module already properly imports and validates boto3 availability. Closes #14822 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- library/lightsail_region_facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/lightsail_region_facts.py b/library/lightsail_region_facts.py index a74571c2..c61a4006 100644 --- a/library/lightsail_region_facts.py +++ b/library/lightsail_region_facts.py @@ -82,7 +82,7 @@ def main(): module.fail_json(msg='Python module "botocore" is missing, please install it') try: - region, ec2_url, aws_connect_kwargs = get_aws_connection_info(module, boto3=True) + region, ec2_url, aws_connect_kwargs = get_aws_connection_info(module) client = None try: