amazon.aws Release Notes
v7.6.1
Release Summary
This release includes some bug fixes for the ec2_instance and backup_plan_info modules.
Bugfixes
- backup_plan_info - Bugfix to enable getting info of all backup plans (https://github.com/ansible-collections/amazon.aws/pull/2083). 
- ec2_instance - do not ignore IPv6 addresses when a single network interface is specified (https://github.com/ansible-collections/amazon.aws/pull/1979). 
v7.6.0
Release Summary
This release brings several bugfixes, minor changes and some new rds modules (rds_cluster_param_group, rds_cluster_param_group_info and rds_engine_versions_info). It also introduces a deprecation for the cloudformation module.
Minor Changes
- ec2_instance - add support for - hostoption in placement.tenancy (https://github.com/ansible-collections/amazon.aws/pull/2026).
- ec2_vol - Ensure volume state is not one of - deletedor- deletingwhen trying to delete volume, to guaranty idempotency (https://github.com/ansible-collections/amazon.aws/pull/2052).
Deprecated Features
- cloudformation - the - templateparameter has been deprecated and will be removed in a release after 2026-05-01. The- template_bodyparameter can be used in conjungtion with the lookup plugin (https://github.com/ansible-collections/amazon.aws/pull/2048).
- module_utils.botocore - the - boto3parameter for- get_aws_connection_info()will be removed in a release after 2025-05-01. The- boto3parameter has been ignored since release 4.0.0 (https://github.com/ansible-collections/amazon.aws/pull/2047).
- module_utils.botocore - the - boto3parameter for- get_aws_region()will be removed in a release after 2025-05-01. The- boto3parameter has been ignored since release 4.0.0 (https://github.com/ansible-collections/amazon.aws/pull/2047).
- module_utils.ec2 - the - boto3parameter for- get_ec2_security_group_ids_from_names()will be removed in a release after 2025-05-01. The- boto3parameter has been ignored since release 4.0.0 (https://github.com/ansible-collections/amazon.aws/pull/2047).
Bugfixes
- iam_managed_policy - fixes bug that causes - ParamValidationErrorwhen attempting to delete a policy that’s attached to a role or a user (https://github.com/ansible-collections/amazon.aws/issues/2067).
- iam_role_info - fixes bug in handling paths missing the - /prefix and/or suffix (https://github.com/ansible-collections/amazon.aws/issues/2065).
- s3_object - fix idempotency issue when copying object uploaded using multipart upload (https://github.com/ansible-collections/amazon.aws/issues/2016). 
New Modules
- rds_cluster_param_group - Manage RDS cluster parameter groups 
- rds_cluster_param_group_info - Describes the properties of specific RDS cluster parameter group. 
- rds_engine_versions_info - Describes the properties of specific versions of DB engines. 
v7.5.0
Release Summary
This release includes a new feature for the iam_user_info module, bugfixes for the cloudwatchlogs_log_group_info and s3_object modules and the inventory plugins, and some internal refactoring of module_utils.
Minor Changes
- iam_user_info - Add - login_profileto return info that is get from a user, to know if they can login from AWS console (https://github.com/ansible-collections/amazon.aws/pull/2012).
- module_utils.iam - refactored normalization functions to use - boto3_resource_to_ansible_dict()and- boto3_resource_list_to_ansible_dict()(https://github.com/ansible-collections/amazon.aws/pull/2006).
- module_utils.transformations - add - boto3_resource_to_ansible_dict()and- boto3_resource_list_to_ansible_dict()helpers (https://github.com/ansible-collections/amazon.aws/pull/2006).
Bugfixes
- cloudwatchlogs_log_group_info - Implement exponential backoff when making API calls to prevent throttling exceptions (https://github.com/ansible-collections/amazon.aws/issues/2011). 
- plugin_utils.inventory - Ensure templated options in lookup plugins are converted (https://github.com/ansible-collections/amazon.aws/issues/1955). 
- s3_object - Fix the issue when copying an object with overriding metadata. (https://github.com/ansible-collections/amazon.aws/issues/1991). 
v7.4.0
Release Summary
This release brings several bugfixes and minor changes. It also introduces a deprecation for the iam_role_info plugin.
Minor Changes
- AnsibeAWSModule - added - fail_json_aws_error()as a wrapper for- fail_json()and- fail_json_aws()when passed an- AnsibleAWSErrorexception (https://github.com/ansible-collections/amazon.aws/pull/1997).
- iam_access_key - refactored code to use - AnsibleIAMErrorand- IAMErrorHandleras well as moving shared code into module_utils.iam (https://github.com/ansible-collections/amazon.aws/pull/1998).
- iam_access_key_info - refactored code to use - AnsibleIAMErrorand- IAMErrorHandleras well as moving shared code into module_utils.iam (https://github.com/ansible-collections/amazon.aws/pull/1998).
- iam_group - refactored code to use - AnsibleIAMErrorand- IAMErrorHandleras well as moving shared code into module_utils.iam (https://github.com/ansible-collections/amazon.aws/pull/1998).
- iam_instance_profile - refactored code to use - AnsibleIAMErrorand- IAMErrorHandleras well as moving shared code into module_utils.iam (https://github.com/ansible-collections/amazon.aws/pull/1998).
- iam_instance_profile_info - refactored code to use - AnsibleIAMErrorand- IAMErrorHandleras well as moving shared code into module_utils.iam (https://github.com/ansible-collections/amazon.aws/pull/1998).
- iam_managed_policy - refactored code to use - AnsibleIAMErrorand- IAMErrorHandleras well as moving shared code into module_utils.iam (https://github.com/ansible-collections/amazon.aws/pull/1998).
- iam_mfa_device_info - refactored code to use - AnsibleIAMErrorand- IAMErrorHandleras well as moving shared code into module_utils.iam (https://github.com/ansible-collections/amazon.aws/pull/1998).
- iam_role - refactored code to use - AnsibleIAMErrorand- IAMErrorHandleras well as moving shared code into module_utils.iam (https://github.com/ansible-collections/amazon.aws/pull/1998).
- iam_role_info - refactored code to use - AnsibleIAMErrorand- IAMErrorHandleras well as moving shared code into module_utils.iam (https://github.com/ansible-collections/amazon.aws/pull/1998).
- iam_user - refactored code to use - AnsibleIAMErrorand- IAMErrorHandleras well as moving shared code into module_utils.iam (https://github.com/ansible-collections/amazon.aws/pull/1998).
- iam_user_info - refactored code to use - AnsibleIAMErrorand- IAMErrorHandleras well as moving shared code into module_utils.iam (https://github.com/ansible-collections/amazon.aws/pull/1998).
Deprecated Features
- iam_role_info - in a release after 2026-05-01 paths must begin and end with - /(https://github.com/ansible-collections/amazon.aws/pull/1998).
Bugfixes
- cloudwatchevent_rule - Fix to avoid adding quotes to JSON input for provided input_template (https://github.com/ansible-collections/amazon.aws/pull/1883). 
- lookup/secretsmanager_secret - fix the issue when the nested secret is missing and on_missing is set to warn, the lookup was raising an error instead of a warning message (https://github.com/ansible-collections/amazon.aws/issues/1781). 
- module_utils/elbv2 - Fix issue when creating or modifying Load balancer rule type authenticate-oidc using - ClientSecretparameter and- UseExistingClientSecret=true(https://github.com/ansible-collections/amazon.aws/issues/1877).
v7.3.0
Release Summary
The amazon.aws 7.3.0 release includes a number of minor bugfixes, some new features and improvements.
Minor Changes
- backup_plan - Let user to set - schedule_expression_timezonefor backup plan rules when when using botocore >= 1.31.36 (https://github.com/ansible-collections/amazon.aws/issues/1952).
- iam_user - refactored error handling to use a decorator (https://github.com/ansible-collections/amazon.aws/pull/1951). 
- lambda - added support for using ECR images for the function (https://github.com/ansible-collections/amazon.aws/pull/1939). 
- module_utils.errors - added a basic error handler decorator (https://github.com/ansible-collections/amazon.aws/pull/1951). 
- rds_cluster - Add support for ServerlessV2ScalingConfiguration to create and modify cluster operations (https://github.com/ansible-collections/amazon.aws/pull/1839). 
- s3_bucket_info - add parameter - bucket_versioningto return the versioning state of a bucket (https://github.com/ansible-collections/amazon.aws/pull/1919).
- s3_object_info - fix exception raised when listing objects from empty bucket (https://github.com/ansible-collections/amazon.aws/pull/1919). 
Bugfixes
- backup_plan - Fix idempotency issue when using botocore >= 1.31.36 (https://github.com/ansible-collections/amazon.aws/issues/1952). 
- plugins/inventory/aws_ec2 - Fix failure when retrieving information for more than 40 instances with use_ssm_inventory (https://github.com/ansible-collections/amazon.aws/issues/1713). 
v7.2.0
Release Summary
This release includes new features and a bugfix.
Minor Changes
- ec2_instance - Add support for modifying metadata options of an existing instance (https://github.com/ansible-collections/amazon.aws/pull/1918). 
- iam_group - Basic testing of - nameand- pathhas been added to improve error messages (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_group - - group_namehas been added as an alias to- namefor consistency with other IAM modules (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_instance_profile - Basic testing of - nameand- pathhas been added to improve error messages (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_instance_profile - Basic testing of - nameand- pathhas been added to improve error messages (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_instance_profile - attempting to change the - pathfor an existing profile will now generate a warning, previously this was silently ignored (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_instance_profile - the - prefixparameter has been renamed- pathfor consistency with other IAM modules,- prefixremains as an alias. No change to playbooks is required (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_instance_profile - the default value for - pathhas been removed. New instances will still be created with a default path of- /. No change to playbooks is required (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_managed_policy - Basic testing of - nameand- pathhas been added to improve error messages (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_managed_policy - - descriptionattempting to update the description now results in a warning, previously it was simply ignored (https://github.com/ansible-collections/amazon.aws/pull/1936).
- iam_managed_policy - - policyis no longer a required parameter (https://github.com/ansible-collections/amazon.aws/pull/1936).
- iam_managed_policy - added support for tagging managed policies (https://github.com/ansible-collections/amazon.aws/pull/1936). 
- iam_managed_policy - more consistently perform retries on rate limiting errors (https://github.com/ansible-collections/amazon.aws/pull/1936). 
- iam_managed_policy - support for setting - path(https://github.com/ansible-collections/amazon.aws/pull/1936).
- iam_managed_policy - the - policy_descriptionparameter has been renamed- descriptionfor consistency with other IAM modules,- policy_descriptionremains as an alias. No change to playbooks is required (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_managed_policy - the - policy_nameparameter has been renamed- namefor consistency with other IAM modules,- policy_nameremains as an alias. No change to playbooks is required (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_role - Basic testing of - nameand- pathhas been added to improve error messages (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_role - - prefixand- path_prefixhave been added as aliases to- pathfor consistency with other IAM modules (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_role - - role_namehas been added as an alias to- namefor consistency with other IAM modules (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_role - attempting to change the - pathfor an existing profile will now generate a warning, previously this was silently ignored (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_role - the default value for - pathhas been removed. New roles will still be created with a default path of- /. No change to playbooks is required (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_role_info - - pathand- prefixhave been added as aliases to- path_prefixfor consistency with other IAM modules (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_user - Basic testing of - nameand- pathhas been added to improve error messages (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_user - - user_namehas been added as an alias to- namefor consistency with other IAM modules (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_user - add - boundaryparameter to support managing boundary policy on users (https://github.com/ansible-collections/amazon.aws/pull/1912).
- iam_user - add - pathparameter to support managing user path (https://github.com/ansible-collections/amazon.aws/pull/1912).
- iam_user - added - attached_policiesto return value (https://github.com/ansible-collections/amazon.aws/pull/1912).
- iam_user - refactored code to reduce complexity (https://github.com/ansible-collections/amazon.aws/pull/1912). 
- iam_user_info - - prefixhas been added as an alias to- path_prefixfor consistency with other IAM modules (https://github.com/ansible-collections/amazon.aws/pull/1933).
- iam_user_info - the - pathparameter has been renamed- path_prefixfor consistency with other IAM modules,- pathremains as an alias. No change to playbooks is required (https://github.com/ansible-collections/amazon.aws/pull/1933).
Bugfixes
- iam_managed_policy - fixed an issue where only partial results were returned (https://github.com/ansible-collections/amazon.aws/pull/1936). 
v7.1.0
Release Summary
This release brings some new features and several bugfixes.
Minor Changes
- autoscaling_group - minor PEP8 whitespace sanity fixes (https://github.com/ansible-collections/amazon.aws/pull/1846). 
- ec2_ami_info - simplify parameters to - get_image_attributeto only pass ID of image (https://github.com/ansible-collections/amazon.aws/pull/1846).
- ec2_eip - use - ResourceTagsto set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/issues/1843)
- ec2_instance - add support for AdditionalInfo option when creating an instance (https://github.com/ansible-collections/amazon.aws/pull/1828). 
- ec2_security_group - use - ResourceTagsto set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/pull/1844)
- ec2_vpc_igw - use - ResourceTagsto set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/issues/1843)
- ec2_vpc_route_table - use - ResourceTagsto set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/issues/1843)
- ec2_vpc_subnet - the default value for - tagshas been changed from- {}to- None, to remove tags from a subnet an empty map must be explicitly passed to the module (https://github.com/ansible-collections/amazon.aws/pull/1876).
- ec2_vpc_subnet - use - ResourceTagsto set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/issues/1843)
- ec2_vpc_subnet - use - wait_timeoutto also control maximum time to wait for initial creation of subnets (https://github.com/ansible-collections/amazon.aws/pull/1848).
- iam_group - add support for setting group path (https://github.com/ansible-collections/amazon.aws/pull/1892). 
- iam_group - adds attached_policies return value (https://github.com/ansible-collections/amazon.aws/pull/1892). 
- iam_group - code refactored to avoid single long function (https://github.com/ansible-collections/amazon.aws/pull/1892). 
- rds_instance_snapshot - minor PEP8 whitespace sanity fixes (https://github.com/ansible-collections/amazon.aws/pull/1846). 
Bugfixes
- ec2_vpc_subnet - cleanly handle failure when subnet isn’t created in time (https://github.com/ansible-collections/amazon.aws/pull/1848). 
- s3_object - Fix typo that caused false deprecation warning when setting - overwrite=latest(https://github.com/ansible-collections/amazon.aws/pull/1847).
- s3_object - when doing a put and specifying - Content-Typein metadata, this module (since 6.0.0) erroneously set the- Content-Typeto- Nonecausing the put to fail. Fix now correctly honours the specified- Content-Type(https://github.com/ansible-collections/amazon.aws/issues/1881).
v7.0.0
Release Summary
This major release brings a new set of supported modules that have been promoted from community.aws, several bugfixes, minor changes and deprecated features. We also dropped support for botocore<1.29.0 and boto3<1.26.0. Due to the AWS SDKs announcing the end of support for Python less than 3.7 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/), support for Python less than 3.7 by this collection was deprecated in release 6.0.0 and removed in this release.
Major Changes
- aws_region_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.aws_region_info.
- aws_s3_bucket_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.aws_s3_bucket_info.
- iam_access_key - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.iam_access_key.
- iam_access_key_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.iam_access_key_info.
- iam_group - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.iam_group(https://github.com/ansible-collections/amazon.aws/pull/1755).
- iam_managed_policy - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.iam_managed_policy(https://github.com/ansible-collections/amazon.aws/pull/1762).
- iam_mfa_device_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.iam_mfa_device_info(https://github.com/ansible-collections/amazon.aws/pull/1761).
- iam_password_policy - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.iam_password_policy.
- iam_role - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.iam_role(https://github.com/ansible-collections/amazon.aws/pull/1760).
- iam_role_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.iam_role_info(https://github.com/ansible-collections/amazon.aws/pull/1760).
- s3_bucket_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.s3_bucket_info.
- sts_assume_role - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.sts_assume_role.
Minor Changes
- amazon.aws collection - apply isort code formatting to ensure consistent formatting of code (https://github.com/ansible-collections/amazon.aws/pull/1771). 
- ec2_instance - add support for additional - placementoptions and- license_specificationsin run instance spec (https://github.com/ansible-collections/amazon.aws/issues/1824).
- ec2_instance_info - add new parameter - include_attributesto describe instance attributes (https://github.com/ansible-collections/amazon.aws/pull/1577).
- ec2_metadata_facts - use fstrings where appropriate (https://github.com/ansible-collections/amazon.aws/pull/1802). 
- ec2_vpc_igw - Add ability to attach/detach VPC to/from internet gateway (https://github.com/ansible-collections/amazon.aws/pull/1786). 
- ec2_vpc_igw - Add ability to change VPC attached to internet gateway (https://github.com/ansible-collections/amazon.aws/pull/1786). 
- ec2_vpc_igw - Add ability to create an internet gateway without attaching a VPC (https://github.com/ansible-collections/amazon.aws/pull/1786). 
- ec2_vpc_igw - Add ability to delete a vpc internet gateway using the id of the gateway (https://github.com/ansible-collections/amazon.aws/pull/1786). 
- elb_application_lb_info - add new parameters - include_attributes,- include_listenersand- include_listener_rulesto optionally speed up module by fetching less information (https://github.com/ansible-collections/amazon.aws/pull/1778).
- module_utils.botocore - migrate from vendored copy of LooseVersion to packaging.version.Version (https://github.com/ansible-collections/amazon.aws/pull/1587). 
- rds_cluster - Add support for removing cluster from global db (https://github.com/ansible-collections/amazon.aws/pull/1705). 
- rds_cluster - add support for another - statechoice called- started. This starts the rds cluster (https://github.com/ansible-collections/amazon.aws/pull/1647/files).
- rds_cluster - add support for another - statechoice called- stopped. This stops the rds cluster (https://github.com/ansible-collections/amazon.aws/pull/1647/files).
- route53 - add a - wait_idreturn value when a change is done (https://github.com/ansible-collections/amazon.aws/pull/1683).
- route53_health_check - add support for a string list parameter called - child_health_checksto specify health checks that must be healthy for the calculated health check (https://github.com/ansible-collections/amazon.aws/pull/1631).
- route53_health_check - add support for an integer parameter called - health_thresholdto specify the minimum number of healthy child health checks that must be healthy for the calculated health check (https://github.com/ansible-collections/amazon.aws/pull/1631).
- route53_health_check - add support for another - typechoice called- CALCULATED(https://github.com/ansible-collections/amazon.aws/pull/1631).
- s3_object - Allow recursive copy of objects in S3 bucket (https://github.com/ansible-collections/amazon.aws/issues/1379). 
- s3_object - use fstrings where appropriate (https://github.com/ansible-collections/amazon.aws/pull/1802). 
Breaking Changes / Porting Guide
- The amazon.aws collection has dropped support for - botocore<1.29.0and- boto3<1.26.0. Most modules will continue to work with older versions of the AWS SDK, however compatability with older versions of the SDK is not guaranteed and will not be tested. When using older versions of the SDK a warning will be emitted by Ansible (https://github.com/ansible-collections/amazon.aws/pull/1763).
- amazon.aws collection - due to the AWS SDKs announcing the end of support for Python less than 3.7 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/) support for Python less than 3.7 by this collection wss been deprecated in release 6.0.0 and removed in release 7.0.0. (https://github.com/ansible-collections/amazon.aws/pull/1763). 
- module_utils - - module_utils.urlswas previously deprecated and has been removed (https://github.com/ansible-collections/amazon.aws/pull/1540).
- module_utils._version - vendored copy of distutils.version has been dropped (https://github.com/ansible-collections/amazon.aws/pull/1587). 
Deprecated Features
- ec2_instance - deprecation of - tenancyand- placement_groupin favor of- placementattribute (https://github.com/ansible-collections/amazon.aws/pull/1825).
Bugfixes
- aws_ec2 inventory plugin - fix - NoRegionErrorwhen no regions are provided and region isn’t specified (https://github.com/ansible-collections/amazon.aws/issues/1551).
- ec2_instance - retry API call if we get - InvalidInstanceID.NotFounderror (https://github.com/ansible-collections/amazon.aws/pull/1650).
- ec2_vpc_route_table_info - default filters to empty dictionary (https://github.com/ansible-collections/amazon.aws/issues/1668). 
- s3_bucket - fixes issue when deleting a bucket with unversioned objects (https://github.com/ansible-collections/amazon.aws/issues/1533). 
- s3_object - fixed - NoSuchTagSeterror when S3 endpoint doesn’t support tags (https://github.com/ansible-collections/amazon.aws/issues/1607).
- s3_object - fixes regression related to objects with a leading - /(https://github.com/ansible-collections/amazon.aws/issues/1548).
New Modules
- ec2_import_image - Manage AWS EC2 import image tasks 
- ec2_import_image_info - Gather information about import virtual machine tasks 
- rds_global_cluster_info - Obtain information about Aurora global database clusters 
v6.5.0
Release Summary
This release is the last planned minor release of amazon.aws prior to the release of 7.0.0.
It includes documentation fixes as well as minor changes and bug fixes for the ec2_ami and elb_application_lb_info modules.
Minor Changes
- ec2_ami - add support for - org_arnsand- org_unit_arnsin launch_permissions (https://github.com/ansible-collections/amazon.aws/pull/1690).
- elb_application_lb_info - drop redundant - describe_load_balancerscall fetching- ip_address_type(https://github.com/ansible-collections/amazon.aws/pull/1768).
Bugfixes
- elb_application_lb_info - ensure all API queries use the retry decorator (https://github.com/ansible-collections/amazon.aws/issues/1767). 
v6.4.0
Release Summary
This release brings a new module named amazon.aws.ec2_key_info, some documentation improvements, new features and bugfixes.
Minor Changes
- cloudformation - Add support for - disable_rollbackto update stack operation (https://github.com/ansible-collections/amazon.aws/issues/1681).
- ec2_key - add support for new parameter - file_nameto save private key in when new key is created by AWS. When this option is provided the generated private key will be removed from the module return (https://github.com/ansible-collections/amazon.aws/pull/1704).
Bugfixes
- backup_selection - ensures that updating an existing selection will add new - Conditionsif there previously were not any (https://github.com/ansible-collections/amazon.aws/pull/1701).
New Modules
- ec2_key_info - Gather information about EC2 key pairs in AWS 
v6.3.0
Release Summary
This release brings some new features and several bugfixes.
Minor Changes
- rds_cluster - add support for another - statechoice called- started. This starts the rds cluster (https://github.com/ansible-collections/amazon.aws/pull/1647/files).
- rds_cluster - add support for another - statechoice called- stopped. This stops the rds cluster (https://github.com/ansible-collections/amazon.aws/pull/1647/files).
- route53 - add a - wait_idreturn value when a change is done (https://github.com/ansible-collections/amazon.aws/pull/1683).
- route53_health_check - add support for a string list parameter called - child_health_checksto specify health checks that must be healthy for the calculated health check (https://github.com/ansible-collections/amazon.aws/pull/1631).
- route53_health_check - add support for an integer parameter called - health_thresholdto specify the minimum number of healthy child health checks that must be healthy for the calculated health check (https://github.com/ansible-collections/amazon.aws/pull/1631).
- route53_health_check - add support for another - typechoice called- CALCULATED(https://github.com/ansible-collections/amazon.aws/pull/1631).
Bugfixes
- ec2_vpc_route_table_info - default filters to empty dictionary (https://github.com/ansible-collections/amazon.aws/issues/1668). 
- rds_cluster - Add - AllocatedStorage,- DBClusterInstanceClass,- StorageType,- Iops, and- EngineModeto the list of parameters that can be passed when creating or modifying a Multi-AZ RDS cluster (https://github.com/ansible-collections/amazon.aws/pull/1657).
- rds_cluster - Allow to pass GlobalClusterIdentifier to rds cluster on creation (https://github.com/ansible-collections/amazon.aws/pull/1663). 
v6.2.0
Release Summary
This release brings some new modules, features, and several bugfixes.
Minor Changes
- backup_selection - add validation and documentation for all conditions suboptions (https://github.com/ansible-collections/amazon.aws/pull/1633). 
- ec2_instance - refactored ARN validation handling (https://github.com/ansible-collections/amazon.aws/pull/1619). 
- iam_user - refactored ARN validation handling (https://github.com/ansible-collections/amazon.aws/pull/1619). 
- module_utils.arn - add - resource_idand- resource_typeto- parse_aws_arnreturn values (https://github.com/ansible-collections/amazon.aws/pull/1619).
- module_utils.arn - added - validate_aws_arnfunction to handle common pattern matching for ARNs (https://github.com/ansible-collections/amazon.aws/pull/1619).
Bugfixes
- backup_plan - Use existing - scrub_none_valuesfunction from module_utils to remove None values from nested dicts in supplied params. Nested None values were being retained and causing an error when sent through to the boto3 client operation (https://github.com/ansible-collections/amazon.aws/pull/1611).
- backup_vault - fix error when updating tags on a backup vault by using the correct boto3 client methods for tagging and untagging backup resources (https://github.com/ansible-collections/amazon.aws/pull/1610). 
- cloudwatchevent_rule - Fixes changed status to report False when no change has been made. The module had incorrectly always reported a change. (https://github.com/ansible-collections/amazon.aws/pull/1589) 
- ec2_vpc_nat_gateway - adding a boolean parameter called - default_createto allow users to have the option to choose whether they want to display an error message or create a NAT gateway when an EIP address is not found. The module (ec2_vpc_nat_gateway) had incorrectly failed silently if EIP didn’t exist (https://github.com/ansible-collections/amazon.aws/issues/1295).
- ec2_vpc_nat_gateway - fixes to nat gateway so that when the user creates a private NAT gateway, an Elastic IP address should not be allocated. The module had inncorrectly always allocate elastic IP address when creating private nat gateway (https://github.com/ansible-collections/amazon.aws/pull/1632). 
- lambda_execute - Fixes to the stack trace output, where it does not contain spaces between each character. The module had incorrectly always outputted extra spaces between each character. (https://github.com/ansible-collections/amazon.aws/pull/1615) 
- module_utils.backup - get_selection_details fix empty list returned when multiple backup selections exist (https://github.com/ansible-collections/amazon.aws/pull/1633). 
New Modules
- iam_instance_profile - manage IAM instance profiles 
- iam_instance_profile_info - gather information on IAM instance profiles 
v6.1.0
Release Summary
This release brings some new features, several bugfixes, and deprecated features are also included.
Minor Changes
- ec2_snapshot - Add support for modifying createVolumePermission (https://github.com/ansible-collections/amazon.aws/pull/1464). 
- ec2_snapshot_info - Add createVolumePermission to output result (https://github.com/ansible-collections/amazon.aws/pull/1464). 
Deprecated Features
- s3_object - support for passing object keys with a leading - /has been deprecated and will be removed in a release after 2025-12-01 (https://github.com/ansible-collections/amazon.aws/pull/1549).
Bugfixes
- autoscaling_group - fix ValidationError when describing an autoscaling group that has more than 20 target groups attached to it by breaking the request into chunks (https://github.com/ansible-collections/amazon.aws/pull/1593). 
- autoscaling_group_info - fix ValidationError when describing an autoscaling group that has more than 20 target groups attached to it by breaking the request into chunks (https://github.com/ansible-collections/amazon.aws/pull/1593). 
- ec2_instance - fix check_mode issue when adding network interfaces (https://github.com/ansible-collections/amazon.aws/issues/1403). 
- ec2_metadata_facts - Handle decompression when EC2 instance user-data is gzip compressed. The fetch_url method from ansible.module_utils.urls does not decompress the user-data unless the header explicitly contains - Content-Encoding: gzip(https://github.com/ansible-collections/amazon.aws/pull/1575).
- elb_application_lb - fix missing attributes on creation of ALB. The - create_or_update_alb()was including ALB-specific attributes when updating an existing ALB but not when creating a new ALB (https://github.com/ansible-collections/amazon.aws/issues/1510).
- module_utils.acm - fixes list_certificates returning only RSA_2048 certificates (https://github.com/ansible-collections/amazon.aws/issues/1567). 
- rds_instance - add support for CACertificateIdentifier to create/update rds instance (https://github.com/ansible-collections/amazon.aws/pull/1459). 
v6.0.1
Release Summary
This is a patch release that includes some bug fixes for the aws_ec2 inventory plugin and the s3_bucket and s3_object modules.
Bugfixes
- aws_ec2 inventory plugin - fix - NoRegionErrorwhen no regions are provided and region isn’t specified (https://github.com/ansible-collections/amazon.aws/issues/1551).
- s3_bucket - fixes issue when deleting a bucket with unversioned objects (https://github.com/ansible-collections/amazon.aws/issues/1533). 
- s3_object - fixes regression related to objects with a leading - /(https://github.com/ansible-collections/amazon.aws/issues/1548).
v6.0.0
Release Summary
This release brings some new plugins and features. Several bugfixes, breaking changes and deprecated features are also included. The amazon.aws collection has dropped support for botocore<1.25.0 and boto3<1.22.0. Support for Python 3.6 has also been dropped.
Minor Changes
- Add github actions to run unit and sanity tests.(https://github.com/ansible-collections/amazon.aws/pull/1393). 
- AnsibleAWSModule - add support to the - clientand- resourcemethods for overriding the default parameters (https://github.com/ansible-collections/amazon.aws/pull/1303).
- CONTRIBUTING.md - refactors and adds to contributor documentation (https://github.com/ansible-collections/amazon.aws/issues/924) 
- Refactor inventory plugins and add aws_rds inventory unit tests (https://github.com/ansible-collections/amazon.aws/pull/1218). 
- Refactor module_utils/cloudfront_facts.py and add unit tests (https://github.com/ansible-collections/amazon.aws/pull/1265). 
- The - blackcode formatter has been run across the collection to improve code consistency (https://github.com/ansible-collections/amazon.aws/pull/1465).
- amazon.aws inventory plugins - additional refactorization of inventory plugin connection handling (https://github.com/ansible-collections/amazon.aws/pull/1271). 
- amazon.aws lookup plugins - - aws_access_keyhas been renamed to- access_keyfor consistency between modules and plugins,- aws_access_keyremains as an alias. This change should have no observable effect for users outside the module/plugin documentation (https://github.com/ansible-collections/amazon.aws/pull/1225).
- amazon.aws lookup plugins - - aws_profilehas been renamed to- profilefor consistency between modules and plugins,- aws_profileremains as an alias. This change should have no observable effect for users outside the module/plugin documentation (https://github.com/ansible-collections/amazon.aws/pull/1225).
- amazon.aws lookup plugins - - aws_secret_keyhas been renamed to- secret_keyfor consistency between modules and plugins,- aws_secret_keyremains as an alias. This change should have no observable effect for users outside the module/plugin documentation (https://github.com/ansible-collections/amazon.aws/pull/1225).
- amazon.aws lookup plugins - - aws_security_tokenhas been renamed to- session_tokenfor consistency between modules and plugins,- aws_security_tokenremains as an alias. This change should have no observable effect for users outside the module/plugin documentation (https://github.com/ansible-collections/amazon.aws/pull/1225).
- amazon.aws modules - bulk update of import statements following various refactors (https://github.com/ansible-collections/amazon.aws/pull/1310). 
- autoscaling_group - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
- aws_account_attribute - the - aws_account_attributelookup plugin has been refactored to use- AWSLookupBaseas its base class (https://github.com/ansible-collections/amazon.aws/pull/1225).
- aws_ec2 inventory - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
- aws_secret - the - aws_secretlookup plugin has been refactored to use- AWSLookupBaseas its base class (https://github.com/ansible-collections/amazon.aws/pull/1225).
- aws_secret - the - aws_secretlookup plugin has been renamed- secretsmanager_secret,- aws_secretremains as an alias (https://github.com/ansible-collections/amazon.aws/pull/1225).
- aws_ssm - the - aws_ssmlookup plugin has been refactored to use- AWSLookupBaseas its base class (https://github.com/ansible-collections/amazon.aws/pull/1225).
- aws_ssm - the - aws_ssmlookup plugin has been renamed- ssm_parameter,- aws_ssmremains as an alias (https://github.com/ansible-collections/amazon.aws/pull/1225).
- backup - Add logic for backup_selection* modules (https://github.com/ansible-collections/amazon.aws/pull/1530). 
- bulk migration of - %and- .format()to fstrings (https://github.com/ansible-collections/amazon.aws/pull/1483).
- cloud module_utils - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
- cloudtrail_info - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
- cloudwatchlogs_log_group - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
- docs_fragments - - amazon.aws.boto3fragment now pulls the botocore version requirements from- module_utils.botocore(https://github.com/ansible-collections/amazon.aws/pull/1248).
- docs_fragments - common parameters for modules and plugins have been synchronised and moved to - amazon.aws.common.modulesand- amazon.aws.common.plugins(https://github.com/ansible-collections/amazon.aws/pull/1248).
- docs_fragments - region parameters for modules and plugins have been synchronised and moved to - amazon.aws.region.modulesand- amazon.aws.region.plugins(https://github.com/ansible-collections/amazon.aws/pull/1248).
- ec2_ami - Extend the unit-test coverage of the module (https://github.com/ansible-collections/amazon.aws/pull/1159). 
- ec2_ami - allow - ImageAvailablewaiter to retry when the image can’t be found (https://github.com/ansible-collections/amazon.aws/pull/1321).
- ec2_ami_info - Add unit-tests coverage (https://github.com/ansible-collections/amazon.aws/pull/1252). 
- ec2_eip - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
- ec2_eni_info - Add unit-tests coverage (https://github.com/ansible-collections/amazon.aws/pull/1236). 
- ec2_instance - avoid changing - module.params(https://github.com/ansible-collections/amazon.aws/pull/1187).
- ec2_instance - updated to avoid manipulating - module.params(https://github.com/ansible-collections/amazon.aws/pull/1337).
- ec2_security_group - added rule options to argument specifications to improve handling of inputs (https://github.com/ansible-collections/amazon.aws/pull/1214). 
- ec2_security_group - refacter - get_target_from_rule()(https://github.com/ansible-collections/amazon.aws/pull/1221).
- ec2_security_group - refactor rule expansion and add unit tests (https://github.com/ansible-collections/amazon.aws/pull/1261). 
- ec2_snapshot - Reenable the integration tests (https://github.com/ansible-collections/amazon.aws/pull/1235). 
- ec2_snapshot_info - Add unit-tests coverage (https://github.com/ansible-collections/amazon.aws/pull/1211). 
- ec2_vpc_route_table - add support for Carrier Gateway entry (https://github.com/ansible-collections/amazon.aws/pull/926). 
- ec2_vpc_subnet - retry fetching subnet details after creation if the first attempt fails (https://github.com/ansible-collections/amazon.aws/pull/1526). 
- inventory aws ec2 - add parameter - use_ssm_inventoryallowing to query ssm inventory information for configured EC2 instances and populate hostvars (https://github.com/ansible-collections/amazon.aws/issues/704).
- inventory plugins - refactor cache handling (https://github.com/ansible-collections/amazon.aws/pull/1285). 
- inventory plugins - refactor file verification handling (https://github.com/ansible-collections/amazon.aws/pull/1285). 
- inventory_aws_ec2 integration tests - replace local module - test_get_ssm_inventoryby- community.aws.ssm_inventory_info(https://github.com/ansible-collections/amazon.aws/pull/1416).
- kms_key_info - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
- lambda - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
- lambda - use common - get_aws_account_infohelper rather than reimplementing (https://github.com/ansible-collections/amazon.aws/pull/1181).
- lambda_alias - refactored to avoid passing around the complex - moduleresource (https://github.com/ansible-collections/amazon.aws/pull/1336).
- lambda_alias - updated to avoid manipulating - module.params(https://github.com/ansible-collections/amazon.aws/pull/1336).
- lambda_execute - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
- lambda_info - updated to avoid manipulating - module.params(https://github.com/ansible-collections/amazon.aws/pull/1336).
- lambda_layer_info - add support for parameter version_number to retrieve detailed information for a specific layer version (https://github.com/ansible-collections/amazon.aws/pull/1293). 
- module_utils - move RetryingBotoClientWrapper into module_utils.retries for reuse with other plugin types (https://github.com/ansible-collections/amazon.aws/pull/1230). 
- module_utils - move exceptions into dedicated python module (https://github.com/ansible-collections/amazon.aws/pull/1246). 
- module_utils - refacter botocore version validation into module_utils.botocore for future reuse (https://github.com/ansible-collections/amazon.aws/pull/1227). 
- module_utils.acm - Refactor ACMServiceManager class and add unit tests (https://github.com/ansible-collections/amazon.aws/pull/1273). 
- module_utils.botocore - Add Ansible AWS User-Agent identification (https://github.com/ansible-collections/amazon.aws/pull/1306). 
- module_utils.botocore - refactorization of - get_aws_region,- get_aws_connection_infoso that the code can be reused by non-module plugins (https://github.com/ansible-collections/amazon.aws/pull/1231).
- module_utils.policy - minor refacter of code to reduce complexity and improve test coverage (https://github.com/ansible-collections/amazon.aws/pull/1136). 
- module_utils.s3 - Refactor get_s3_connection into a module_utils for S3 modules and expand module_utils.s3 unit tests (https://github.com/ansible-collections/amazon.aws/pull/1139). 
- module_utils/botocore - added support to - _boto3_connfor passing dictionaries of configuration (https://github.com/ansible-collections/amazon.aws/pull/1307).
- plugin_utils - Added - AWSConnectionBaseto support refactoring connection plugins (https://github.com/ansible-collections/amazon.aws/pull/1340).
- rds - AWS is phasing out aurora1. Integration tests use aurora2 (aurora-mysql) by default (https://github.com/ansible-collections/amazon.aws/pull/1233). 
- rds_cluster - Split up the functional tests in smaller targets (https://github.com/ansible-collections/amazon.aws/pull/1175). 
- rds_cluster_snapshot - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
- rds_instance - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
- rds_instance_info - Add unit-tests coverage (https://github.com/ansible-collections/amazon.aws/pull/1132). 
- rds_instance_snapshot - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
- rds_param_group - drop Python2 import fallbacks (https://github.com/ansible-collections/amazon.aws/pull/1513). 
- route53_health_check - Drop deprecation warning (https://github.com/ansible-collections/community.aws/pull/1335). 
- route53_health_check - minor fix for returning health check info while updating a Route53 health check (https://github.com/ansible-collections/amazon.aws/pull/1200). 
- route53_health_check - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
- route53_info - drop unused imports (https://github.com/ansible-collections/amazon.aws/pull/1462). 
- s3_bucket - add support for S3 dualstack endpoint (https://github.com/ansible-collections/amazon.aws/pull/1305). 
- s3_bucket - handle missing read permissions more gracefully when possible (https://github.com/ansible-collections/amazon.aws/pull/1406). 
- s3_bucket - refactor S3 connection code (https://github.com/ansible-collections/amazon.aws/pull/1305). 
- s3_object - refactor S3 connection code (https://github.com/ansible-collections/amazon.aws/pull/1305). 
- s3_object - refactor main to reduce complexity (https://github.com/ansible-collections/amazon.aws/pull/1193). 
- s3_object_info - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
- s3_object_info - refactor S3 connection code (https://github.com/ansible-collections/amazon.aws/pull/1305). 
Breaking Changes / Porting Guide
- The amazon.aws collection has dropped support for - botocore<1.25.0and- boto3<1.22.0. Most modules will continue to work with older versions of the AWS SDK, however compatibility with older versions of the SDK is not guaranteed and will not be tested. When using older versions of the SDK a warning will be emitted by Ansible (https://github.com/ansible-collections/amazon.aws/pull/1342).
- amazon.aws - compatibility code for Python < 3.6 has been removed (https://github.com/ansible-collections/amazon.aws/pull/1257). 
- ec2_eip - the previously deprecated - instance_idalias for the- device_idparameter has been removed. Please use the- device_idparameter name instead (https://github.com/ansible-collections/amazon.aws/issues/1176).
- ec2_instance - the default value for - instance_typehas been removed. At least one of- instance_typeor- launch_templatemust be specified when launching new instances (https://github.com/ansible-collections/amazon.aws/pull/1315).
- ec2_vpc_dhcp_options - the - new_optionsreturn value has been deprecated after being renamed to- dhcp_config. Please use the- dhcp_configor- dhcp_optionsreturn values (https://github.com/ansible-collections/amazon.aws/pull/1327).
- ec2_vpc_endpoint - the - policy_fileparameter has been removed. I(policy) with a file lookup can be used instead (https://github.com/ansible-collections/amazon.aws/issues/1178).
- ec2_vpc_net - the - classic_link_enabledreturn value has been removed. Support for EC2 Classic networking was dropped by AWS (https://github.com/ansible-collections/amazon.aws/pull/1374).
- ec2_vpc_net_info - the - classic_link_dns_statusreturn value has been removed. Support for EC2 Classic networking was dropped by AWS (https://github.com/ansible-collections/amazon.aws/pull/1374).
- ec2_vpc_net_info - the - classic_link_enabledreturn value has been removed. Support for EC2 Classic networking was dropped by AWS (https://github.com/ansible-collections/amazon.aws/pull/1374).
- module_utils.cloud - the previously deprecated - CloudRetry.backoffhas been removed. Please use- CloudRetry.exponential_backoffor- CloudRetry.jittered_backoffinstead (https://github.com/ansible-collections/amazon.aws/issues/1110).
Deprecated Features
- amazon.aws collection - due to the AWS SDKs Python support policies (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/) support for Python less than 3.8 by this collection is expected to be removed in a release after 2024-12-01 (https://github.com/ansible-collections/amazon.aws/pull/1342). 
- amazon.aws collection - due to the AWS SDKs announcing the end of support for Python less than 3.7 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/) support for Python less than 3.7 by this collection has been deprecated and will be removed in release 7.0.0. (https://github.com/ansible-collections/amazon.aws/pull/1342). 
- amazon.aws lookup plugins - the - boto3_profilealias for the- profileoption has been deprecated, please use- profileinstead (https://github.com/ansible-collections/amazon.aws/pull/1225).
- docs_fragments - - amazon.aws.aws_credentialsdocs fragment has been deprecated please use- amazon.aws.common.pluginsinstead (https://github.com/ansible-collections/amazon.aws/pull/1248).
- docs_fragments - - amazon.aws.aws_regiondocs fragment has been deprecated please use- amazon.aws.region.pluginsinstead (https://github.com/ansible-collections/amazon.aws/pull/1248).
- docs_fragments - - amazon.aws.awsdocs fragment has been deprecated please use- amazon.aws.common.modulesinstead (https://github.com/ansible-collections/amazon.aws/pull/1248).
- docs_fragments - - amazon.aws.ec2docs fragment has been deprecated please use- amazon.aws.region.modulesinstead (https://github.com/ansible-collections/amazon.aws/pull/1248).
- module_utils.policy - - ansible_collections.amazon.aws.module_utils.policy.sort_json_policy_dicthas been deprecated consider using- ansible_collections.amazon.aws.module_utils.poilcies.compare_policiesinstead (https://github.com/ansible-collections/amazon.aws/pull/1136).
- s3_object - Support for passing - dualstackand- endpoint_urlat the same time has been deprecated, the- dualstackparameter is ignored when- endpoint_urlis passed. Support will be removed in a release after 2024-12-01 (https://github.com/ansible-collections/amazon.aws/pull/1305).
- s3_object - Support for passing values of - overwriteother than- always,- never,- differentor last- lasthas been deprecated. Boolean values should be replaced by the strings- alwaysor- neverSupport will be removed in a release after 2024-12-01 (https://github.com/ansible-collections/amazon.aws/pull/1305).
- s3_object_info - Support for passing - dualstackand- endpoint_urlat the same time has been deprecated, the- dualstackparameter is ignored when- endpoint_urlis passed. Support will be removed in a release after 2024-12-01 (https://github.com/ansible-collections/amazon.aws/pull/1305).
Removed Features (previously deprecated)
- ec2_vpc_endpoint_info - support for the - queryparameter was removed. The- amazon.aws.ec2_vpc_endpoint_infomodule now only queries for endpoints. Services can be queried using the- amazon.aws.ec2_vpc_endpoint_service_infomodule (https://github.com/ansible-collections/amazon.aws/pull/1308).
- s3_object - support for creating and deleting buckets using the - s3_objectmodule has been removed. S3 buckets can be created and deleted using the- amazon.aws.s3_bucketmodule (https://github.com/ansible-collections/amazon.aws/issues/1112).
Bugfixes
- ec2_security_group - file included unreachable code. Fix now removes unreachable code by removing an inapproproate logic (https://github.com/ansible-collections/amazon.aws/pull/1348). 
- ec2_vpc_dhcp_option - retry - describe_dhcp_optionsafter creation when- InvalidDhcpOptionID.NotFoundis raised (https://github.com/ansible-collections/amazon.aws/pull/1320).
- lambda_execute - Fix waiter error when function_arn is passed instead of name(https://github.com/ansible-collections/amazon.aws/issues/1268). 
- module_utils - fixes - TypeError: deciding_wrapper() got multiple values for argument 'aws_retry'when passing positional arguments to functions wrapped by AnsibleAWSModule.client (https://github.com/ansible-collections/amazon.aws/pull/1230).
- rds_param_group - added a check to fail the task while modifying/updating rds_param_group if trying to change DB parameter group family. (https://github.com/ansible-collections/amazon.aws/pull/1169). 
- route53_health_check - Fix - Nametag key removal idempotentcy issue when creating health_check with- use_unique_namesand- tagsset (https://github.com/ansible-collections/amazon.aws/pull/1253).
- s3_bucket - Handle setting of permissions while acl is disabled.(https://github.com/ansible-collections/amazon.aws/pull/1168). 
New Plugins
Lookup
- aws_collection_constants - expose various collection related constants 
New Modules
- backup_plan - Manage AWS Backup Plans 
- backup_plan_info - Describe AWS Backup Plans 
- backup_restore_job_info - List information about backup restore jobs 
- backup_selection - Create, delete and modify AWS Backup selection 
- backup_selection_info - Describe AWS Backup Selections 
- backup_tag - Manage tags on backup plan, backup vault, recovery point 
- backup_tag_info - List tags on AWS Backup resources 
- backup_vault - Manage AWS Backup Vaults 
- backup_vault_info - Describe AWS Backup Vaults 
v5.5.3
Release Summary
This release contains a few bugfixes for rds_cluster.
Bugfixes
- rds_cluster - Add - AllocatedStorage,- DBClusterInstanceClass,- StorageType,- Iops, and- EngineModeto the list of parameters that can be passed when creating or modifying a Multi-AZ RDS cluster (https://github.com/ansible-collections/amazon.aws/pull/1657).
- rds_cluster - Allow to pass GlobalClusterIdentifier to rds cluster on creation (https://github.com/ansible-collections/amazon.aws/pull/1663). 
v5.5.2
Bugfixes
- cloudwatchevent_rule - Fixes changed status to report False when no change has been made. The module had incorrectly always reported a change. (https://github.com/ansible-collections/amazon.aws/pull/1589) 
- ec2_vpc_nat_gateway - fixes to nat gateway so that when the user creates a private NAT gateway, an Elastic IP address should not be allocated. The module had inncorrectly always allocate elastic IP address when creating private nat gateway (https://github.com/ansible-collections/amazon.aws/pull/1632). 
- lambda_execute - Fixes to the stack trace output, where it does not contain spaces between each character. The module had incorrectly always outputted extra spaces between each character. (https://github.com/ansible-collections/amazon.aws/pull/1615) 
v5.5.1
Release Summary
This release brings few bugfixes.
Bugfixes
- autoscaling_group - fix ValidationError when describing an autoscaling group that has more than 20 target groups attached to it by breaking the request into chunks (https://github.com/ansible-collections/amazon.aws/pull/1593). 
- autoscaling_group_info - fix ValidationError when describing an autoscaling group that has more than 20 target groups attached to it by breaking the request into chunks (https://github.com/ansible-collections/amazon.aws/pull/1593). 
- aws_account_attribute - raise correct - AnsibleLookupErrorrather than- AnsibleError(https://github.com/ansible-collections/amazon.aws/issues/1528).
- aws_secret - raise correct - AnsibleLookupErrorrather than- AnsibleError(https://github.com/ansible-collections/amazon.aws/issues/1528).
- aws_service_ip_ranges raise correct - AnsibleLookupErrorrather than- AnsibleError(https://github.com/ansible-collections/amazon.aws/issues/1528).
- aws_ssm - raise correct - AnsibleLookupErrorrather than- AnsibleError(https://github.com/ansible-collections/amazon.aws/issues/1528).
- ec2_instance - fix check_mode issue when adding network interfaces (https://github.com/ansible-collections/amazon.aws/issues/1403). 
- elb_application_lb - fix missing attributes on creation of ALB. The - create_or_update_alb()was including ALB-specific attributes when updating an existing ALB but not when creating a new ALB (https://github.com/ansible-collections/amazon.aws/issues/1510).
v5.5.0
Release Summary
This release contains a number of bugfixes, new features and new modules. This is the last planned minor release prior to the release of version 6.0.0.
Minor Changes
- Add connectivity_type to ec2_vpc_nat_gateway module (https://github.com/ansible-collections/amazon.aws/pull/1267). 
- cloudwatch - Add metrics and extended_statistic keys to cloudwatch module (https://github.com/ansible-collections/amazon.aws/pull/1133). 
- ec2_ami - add support for BootMode, TpmSupport, UefiData params (https://github.com/ansible-collections/amazon.aws/pull/1037). 
- ec2_metadata_facts - added support to query instance tags in metadata (https://github.com/ansible-collections/amazon.aws/pull/1186). 
- kms_key - Add multi_region option to create_key (https://github.com/ansible-collections/amazon.aws/pull/1290). 
- lambda - add support for function layers when creating or updating lambda function (https://github.com/ansible-collections/amazon.aws/pull/1118). 
- lambda_event - Added support to set FunctionResponseTypes when creating lambda event source mappings (https://github.com/ansible-collections/amazon.aws/pull/1209). 
- module_utils/elbv2 - removed compatibility code for - botocore < 1.10.30(https://github.com/ansible-collections/amazon.aws/pull/1477).
- rds_cluster - New - engine_modeparameter (https://github.com/ansible-collections/amazon.aws/pull/941).
- rds_cluster - add new options (e.g., - db_cluster_instance_class,- allocated_storage,- storage_type,- iops) (https://github.com/ansible-collections/amazon.aws/pull/1191).
- rds_cluster - update list of supported engines with - mysqland- postgres(https://github.com/ansible-collections/amazon.aws/pull/1191).
- s3_bucket - ensure - public_accessis configured before updating policies (https://github.com/ansible-collections/amazon.aws/pull/1511).
Bugfixes
- cloudwatch_metric_alarm - Don’t consider - StateTransitionedTimestampin change detection. (https://github.com/ansible-collections/amazon.aws/pull/1440).
- ec2_instance - Pick up - app_callback -> set_passwordrather than- app_callback -> set_passwd(https://github.com/ansible-collections/amazon.aws/issues/1449).
- lambda_info - Do not convert environment variables to snake_case when querying lambda config. (https://github.com/ansible-collections/amazon.aws/pull/1457). 
- rds_instance - fix type of - promotion_tieras passed to the APIs (https://github.com/ansible-collections/amazon.aws/pull/1475).
New Modules
- lambda_layer - Creates an AWS Lambda layer or deletes an AWS Lambda layer version 
- lambda_layer_info - List lambda layer or lambda layer versions 
v5.4.0
Release Summary
This minor release brings bugfixes and minor new features.
Minor Changes
- ec2_spot_instance - add parameter - terminate_instancesto support terminate instances associated with spot requests. (https://github.com/ansible-collections/amazon.aws/pull/1402).
- route53_health_check - added support for enabling Latency graphs (MeasureLatency) during creation of a Route53 Health Check. (https://github.com/ansible-collections/amazon.aws/pull/1201). 
Bugfixes
- ec2_metadata_facts - fix - AttributeErrorwhen running the ec2_metadata_facts module on Python 2 managed nodes (https://github.com/ansible-collections/amazon.aws/issues/1358).
- ec2_vol - handle ec2_vol.tags when the associated instance already exists (https://github.com/ansible-collections/amazon.aws/pull/1071). 
- rds_instance - Fixed - TypeErrorwhen tagging RDS DB with storage type- gp3(https://github.com/ansible-collections/amazon.aws/pull/1437).
- route53_info - Add new return key - health_check_observationsfor health check operations (https://github.com/ansible-collections/amazon.aws/pull/1419).
- route53_info - Fixed - Key Errorwhen getting status or failure_reason of a health check (https://github.com/ansible-collections/amazon.aws/pull/1419).
v5.3.0
Release Summary
This release brings some minor changes, bugfixes, and deprecated features.
Minor Changes
- ec2_instance - more consistently return - instancesinformation (https://github.com/ansible-collections/amazon.aws/pull/964).
- ec2_instance - remove unused import (https://github.com/ansible-collections/amazon.aws/pull/1350). 
- ec2_key - Add unit-tests coverage (https://github.com/ansible-collections/amazon.aws/pull/1288). 
- ec2_vpc_nat_gateway - ensure allocation_id is defined before potential access (https://github.com/ansible-collections/amazon.aws/pull/1350). 
- route53_zone - added support for associating multiple VPCs to route53 hosted zones (https://github.com/ansible-collections/amazon.aws/pull/1300). 
- s3_bucket - add option to support creation of buckets with object lock enabled (https://github.com/ansible-collections/amazon.aws/pull/1372). 
Deprecated Features
- support for passing both profile and security tokens through a mix of environment variables and parameters has been deprecated and support will be removed in release 6.0.0. After release 6.0.0 it will only be possible to pass either a profile or security tokens, regardless of mechanism used to pass them. To explicitly block a parameter coming from an environment variable pass an empty string as the parameter value. Support for passing profile and security tokens together was originally deprecated in release 1.2.0, however only partially implemented in release 5.0.0 (https://github.com/ansible-collections/amazon.aws/pull/1355). 
Bugfixes
- cloudtrail - support to disabling encryption using - kms_key_id(https://github.com/ansible-collections/amazon.aws/pull/1384).
- ec2_key - fix issue when trying to update existing key pair with the same key material (https://github.com/ansible-collections/amazon.aws/pull/1383). 
- module_utils/elbv2 - fix change detection by adding default values for - Scopeand- SessionTimeoutparameters in- authenticate-oidcrules (https://github.com/ansible-collections/amazon.aws/pull/1270).
- module_utils/elbv2 - respect - UseExistingClientSecretparameter in- authenticate-oidcrules (https://github.com/ansible-collections/amazon.aws/pull/1270).
- revert breaking change introduced in 5.2.0 when passing credentials through a mix of environment variables and parameters (https://github.com/ansible-collections/amazon.aws/issues/1353). 
- s3_bucket - empty bucket policy was throwing a JSONDecodeError - deal with it gracefully instead (https://github.com/ansible-collections/amazon.aws/pull/1368) 
v5.2.0
Release Summary
A minor release containing bugfixes for the ec2_eni_info module and the aws_rds inventory plugin, as well as improvements to the rds_instance module.
Minor Changes
- amazon.aws collection - refacterization of code to use argument specification - fallbackwhen falling back to environment variables for security credentials and AWS connection details (https://github.com/ansible-collections/amazon.aws/pull/1174).
- rds_instance - Split up the integration test-suite in a series of smaller tests (https://github.com/ansible-collections/amazon.aws/pull/1185). 
- rds_instance - add support for gp3 storage type (https://github.com/ansible-collections/amazon.aws/pull/1266). 
Bugfixes
- aws_rds - fixes bug in RDS inventory plugin where config file was ignored (https://github.com/ansible-collections/amazon.aws/issues/1304). 
- lambda - fix flaky integration test which assumes there are no other lambdas in the account (https://github.com/ansible-collections/amazon.aws/issues/1277) 
v5.1.0
Release Summary
This release brings some minor changes, bugfixes, security fixes and deprecated features.
Minor Changes
- amazon.aws collection - The - aws_access_keyparameter has been renamed to- access_key,- access_keywas previously an alias for this parameter and- aws_access_keyremains as an alias. This change should have no observable effect for users outside the module/plugin documentation. (https://github.com/ansible-collections/amazon.aws/pull/1172).
- amazon.aws collection - The - aws_secret_keyparameter has been renamed to- secret_key,- secret_keywas previously an alias for this parameter and- aws_secret_keyremains as an alias. This change should have no observable effect for users outside the module/plugin documentation. (https://github.com/ansible-collections/amazon.aws/pull/1172).
- amazon.aws collection - The - security_tokenparameter has been renamed to- session_token,- security_tokenwas previously an alias for this parameter and- security_tokenremains as an alias. This change should have no observable effect for users outside the module/plugin documentation. (https://github.com/ansible-collections/amazon.aws/pull/1172).
- aws_account_attribute lookup plugin - use - missing_required_libfor more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152).
- aws_ec2 inventory - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
- aws_ec2 inventory plugin - use - missing_required_libfor more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152).
- aws_rds inventory plugin - use - missing_required_libfor more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152).
- aws_secret lookup plugin - use - missing_required_libfor more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152).
- aws_ssm lookup plugin - use - missing_required_libfor more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152).
- ec2_instance - minor fix for launching an instance in specified AZ when - vpc_subnet_idis not provided (https://github.com/ansible-collections/amazon.aws/pull/1150).
- ec2_instance - refacter - tower_callbackcode to handle parameter validation as part of the argument specification (https://github.com/ansible-collections/amazon.aws/pull/1199).
- ec2_instance - the - instance_roleparameter has been renamed to- iam_instance_profileto better reflect what it is,- instance_roleremains as an alias (https://github.com/ansible-collections/amazon.aws/pull/1151).
- ec2_instance - the - tower_callbackparameter has been renamed to- aap_callback,- tower_callbackremains as an alias. This change should have no observable effect for users outside the module documentation (https://github.com/ansible-collections/amazon.aws/pull/1199).
- s3_object_info - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). 
Deprecated Features
- amazon.aws collection - Support for the - EC2_ACCESS_KEYenvironment variable has been deprecated and will be removed in a release after 2024-12-01. Please use the- access_keyparameter or- AWS_ACCESS_KEY_IDenvironment variable instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
- amazon.aws collection - Support for the - EC2_REGIONenvironment variable has been deprecated and will be removed in a release after 2024-12-01. Please use the- regionparameter or- AWS_REGIONenvironment variable instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
- amazon.aws collection - Support for the - EC2_SECRET_KEYenvironment variable has been deprecated and will be removed in a release after 2024-12-01. Please use the- secret_keyparameter or- AWS_SECRET_ACCESS_KEYenvironment variable instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
- amazon.aws collection - Support for the - EC2_SECURITY_TOKENenvironment variable has been deprecated and will be removed in a release after 2024-12-01. Please use the- session_tokenparameter or- AWS_SESSION_TOKENenvironment variable instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
- amazon.aws collection - Support for the - EC2_URLand- S3_URLenvironment variables has been deprecated and will be removed in a release after 2024-12-01. Please use the- endpoint_urlparameter or- AWS_ENDPOINT_URLenvironment variable instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
- amazon.aws collection - The - access_tokenalias for the- session_tokenparameter has been deprecated and will be removed in a release after 2024-12-01. Please use the- session_tokenname instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
- amazon.aws collection - The - access_tokenalias for the- session_tokenparameter has been deprecated and will be removed in a release after 2024-12-01. Please use the- session_tokenname instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
- amazon.aws collection - The - aws_security_tokenalias for the- session_tokenparameter has been deprecated and will be removed in a release after 2024-12-01. Please use the- session_tokenname instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
- amazon.aws collection - The - ec2_access_keyalias for the- access_keyparameter has been deprecated and will be removed in a release after 2024-12-01. Please use the- access_keyname instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
- amazon.aws collection - The - ec2_regionalias for the- regionparameter has been deprecated and will be removed in a release after 2024-12-01. Please use the- regionname instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
- amazon.aws collection - The - ec2_secret_keyalias for the- secret_keyparameter has been deprecated and will be removed in a release after 2024-12-01. Please use the- secret_keyname instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
- amazon.aws collection - The - security_tokenalias for the- session_tokenparameter has been deprecated and will be removed in a release after 2024-12-01. Please use the- session_tokenname instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
- ec2_security_group - support for passing nested lists to - cidr_ipand- cidr_ipv6has been deprecated. Nested lists can be passed through the- flattenfilter instead- cidr_ip: '{{ my_cidrs | flatten }}'(https://github.com/ansible-collections/amazon.aws/pull/1213).
- module_utils.url - - ansible_collections.amazon.aws.module_utils.urlsis believed to be unused and has been deprecated and will be removed in release 7.0.0.
Security Fixes
- ec2_instance - fixes leak of password into logs when using - tower_callback.windows=Trueand- tower_callback.set_password(https://github.com/ansible-collections/amazon.aws/pull/1199).
Bugfixes
- ec2_instance - fixes - Invalid type for parameter TagSpecifications, value Noneerror when tags aren’t specified (https://github.com/ansible-collections/amazon.aws/issues/1148).
- module_utils.transformations - ensure that - map_complex_typestill returns transformed items if items exists that are not in the type_map (https://github.com/ansible-collections/amazon.aws/pull/1163).
v5.0.2
Bugfixes
- ec2_metadata_facts - fixed - AttributeError(https://github.com/ansible-collections/amazon.aws/issues/1134).
v5.0.1
Bugfixes
- ec2_vpc_net_info - fix KeyError (https://github.com/ansible-collections/amazon.aws/pull/1109). 
- ec2_vpc_net_info - remove hardcoded - ClassicLinkEnabledparameter when request for- ClassicLinkDnsSupportedfailed (https://github.com/ansible-collections/amazon.aws/pull/1109).
- s3_object - be more defensive when checking the results of - s3.get_bucket_ownership_controls(https://github.com/ansible-collections/amazon.aws/issues/1115).
v5.0.0
Release Summary
In this release we promoted many community modules to Red Hat supported status. Those modules have been moved from the commuity.aws to amazon.aws collection. This release also brings some new features, bugfixes, breaking changes and deprecated features. The amazon.aws collection has dropped support for botocore<1.21.0 and boto3<1.18.0. Support for ansible-core<2.11 has also been dropped.
Major Changes
- autoscaling_group - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.autoscaling_group.
- autoscaling_group_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.autoscaling_group_info.
- cloudtrail - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.cloudtrail.
- cloudwatch_metric_alarm - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.cloudwatch_metric_alarm.
- cloudwatchevent_rule - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.cloudwatchevent_rule.
- cloudwatchlogs_log_group - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.cloudwatchlogs_log_group.
- cloudwatchlogs_log_group_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.cloudwatchlogs_log_group_info.
- cloudwatchlogs_log_group_metric_filter - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.cloudwatchlogs_log_group_metric_filter.
- ec2_eip - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_eip.
- ec2_eip_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_eip_info.
- elb_application_lb - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.elb_application_lb.
- elb_application_lb_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.elb_application_lb_info.
- execute_lambda - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.execute_lambda.
- iam_policy - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.iam_policy.
- iam_policy_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.iam_policy_info.
- iam_user - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.iam_user.
- iam_user_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.iam_user_info.
- kms_key - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.kms_key.
- kms_key_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.kms_key_info.
- lambda - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.lambda.
- lambda_alias - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.lambda_alias.
- lambda_event - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.lambda_event.
- lambda_execute - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.lambda_execute.
- lambda_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.lambda_info.
- lambda_policy - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.lambda_policy.
- rds_cluster - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.rds_cluster.
- rds_cluster_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.rds_cluster_info.
- rds_cluster_snapshot - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.rds_cluster_snapshot.
- rds_instance - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.rds_instance.
- rds_instance_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.rds_instance_info.
- rds_instance_snapshot - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.rds_instance_snapshot.
- rds_option_group - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.rds_option_group.
- rds_option_group_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.rds_option_group_info.
- rds_param_group - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.rds_param_group.
- rds_snapshot_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.rds_snapshot_info.
- rds_subnet_group - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.rds_subnet_group.
- route53 - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.route53.
- route53_health_check - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.route53_health_check.
- route53_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.route53_info.
- route53_zone - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.route53_zone.
Minor Changes
- Ability to record and replay the API interaction of a module for testing purpose. Show case the feature with an example (https://github.com/ansible-collections/amazon.aws/pull/998). 
- Remove the empty __init__.py file from the distribution, they were not required anymore (https://github.com/ansible-collections/amazon.aws/pull/1018). 
- amazon.aws modules - the - ec2_urlparameter has been renamed to- endpoint_urlfor consistency,- ec2_urlremains as an alias (https://github.com/ansible-collections/amazon.aws/pull/992).
- aws_caller_info - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/968). 
- aws_ec2 - introduce the - allow_duplicated_hostsconfiguration key (https://github.com/ansible-collections/amazon.aws/pull/1026).
- cloudformation - avoid catching - Exception, catch more specific errors instead (https://github.com/ansible-collections/amazon.aws/pull/968).
- cloudwatch_metric_alarm_info - Added a new module that describes the cloudwatch metric alarms (https://github.com/ansible-collections/amazon.aws/pull/988). 
- ec2_group - The - ec2_groupmodule has been renamed to- ec2_security_group,- ec2_groupremains as an alias (https://github.com/ansible-collections/amazon.aws/pull/897).
- ec2_group_info - The - ec2_group_infomodule has been renamed to- ec2_security_group_info,- ec2_group_inforemains as an alias (https://github.com/ansible-collections/amazon.aws/pull/897).
- ec2_instance - Add hibernation_options and volumes->ebs->encrypted keys to support stop-hibernate instance (https://github.com/ansible-collections/amazon.aws/pull/972). 
- ec2_instance - expanded the use of the automatic retries to - InsuffienctInstanceCapacity(https://github.com/ansible-collections/amazon.aws/issues/1038).
- ec2_metadata_facts - avoid catching - Exception, catch more specific errors instead (https://github.com/ansible-collections/amazon.aws/pull/968).
- ec2_security_group - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/968). 
- ec2_vpc_endpoint - avoid catching - Exception, catch more specific errors instead (https://github.com/ansible-collections/amazon.aws/pull/968).
- ec2_vpc_nat_gateway - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/968). 
- ec2_vpc_net_info - handle classic link check for shared VPCs by throwing a warning instead of an error (https://github.com/ansible-collections/amazon.aws/pull/984). 
- module_utils/acm - Move to jittered backoff (https://github.com/ansible-collections/amazon.aws/pull/946). 
- module_utils/elbv2 - ensures that - ip_address_typeis set on creation rather than re-setting it after creation (https://github.com/ansible-collections/amazon.aws/pull/940).
- module_utils/elbv2 - uses new waiters with retries for temporary failures (https://github.com/ansible-collections/amazon.aws/pull/940). 
- module_utils/waf - Move to jittered backoff (https://github.com/ansible-collections/amazon.aws/pull/946). 
- module_utils/waiters - Add waiters to manage eks_nodegroup module (https://github.com/ansible-collections/community.aws/pull/1415). 
- s3_bucket - - rgwwas added as an alias for the- cephparameter for consistency with the- s3_objectmodule (https://github.com/ansible-collections/amazon.aws/pull/994).
- s3_bucket - the - s3_urlparameter was merged into the- endpoint_urlparameter,- s3_urlremains as an alias (https://github.com/ansible-collections/amazon.aws/pull/994).
- s3_object - added the - sig_v4paramater, enbling the user to opt in to signature version 4 for download/get operations. (https://github.com/ansible-collections/amazon.aws/pull/1014)
- s3_object - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/968). 
- s3_object - the - rgwparameter was renamed to- cephfor consistency with the- s3_bucketmodule,- rgwremains as an alias (https://github.com/ansible-collections/amazon.aws/pull/994).
- s3_object - the - s3_urlparameter was merged into the- endpoint_urlparameter,- s3_urlremains as an alias (https://github.com/ansible-collections/amazon.aws/pull/994).
- s3_object - updated module to add support for handling file upload to a bucket with ACL disabled (https://github.com/ansible-collections/amazon.aws/pull/921). 
- s3_object_info - Added a new module that describes S3 Objects (https://github.com/ansible-collections/amazon.aws/pull/977). 
Breaking Changes / Porting Guide
- amazon.aws collection - Support for ansible-core < 2.11 has been dropped (https://github.com/ansible-collections/amazon.aws/pull/1087). 
- amazon.aws collection - The amazon.aws collection has dropped support for - botocore<1.21.0and- boto3<1.18.0. Most modules will continue to work with older versions of the AWS SDK, however compatibility with older versions of the SDK is not guaranteed and will not be tested. When using older versions of the SDK a warning will be emitted by Ansible (https://github.com/ansible-collections/amazon.aws/pull/934).
- doc_fragments - remove minimum collection requirements from doc_fragments/aws.py and allow pulling those from doc_fragments/aws_boto3.py instead (https://github.com/ansible-collections/amazon.aws/pull/985). 
- ec2_ami - the default value for - purge_tagshas been changed from- Falseto- True(https://github.com/ansible-collections/amazon.aws/pull/916).
- ec2_ami - the parameter aliases - DeviceName,- VirtualNameand- NoDevicewere previously deprecated and have been removed, please use- device_name,- virtual_nameand- no_deviceinstead (https://github.com/ansible-collections/amazon.aws/pull/913).
- ec2_eni_info - the mutual exclusivity of the - eni_idand- filtersparameters is now enforced, previously- filterswould be ignored if- eni_idwas set (https://github.com/ansible-collections/amazon.aws/pull/954).
- ec2_instance - the default value for - purge_tagshas been changed from- Falseto- True(https://github.com/ansible-collections/amazon.aws/pull/916).
- ec2_key - the default value for - purge_tagshas been changed from- Falseto- True(https://github.com/ansible-collections/amazon.aws/pull/916).
- ec2_vol - the default value for - purge_tagshas been changed from- Falseto- True(https://github.com/ansible-collections/amazon.aws/pull/916).
- ec2_vpc_dhcp_option_info - the parameter aliases - DhcpOptionIdsand- DryRunwere previously deprecated and have been removed, please use- dhcp_options_idsand- no_deviceinstead (https://github.com/ansible-collections/amazon.aws/pull/913).
- ec2_vpc_endpoint - the default value for - purge_tagshas been changed from- Falseto- True(https://github.com/ansible-collections/amazon.aws/pull/916).
- ec2_vpc_net - the default value for - purge_tagshas been changed from- Falseto- True(https://github.com/ansible-collections/amazon.aws/pull/916).
- ec2_vpc_route_table - the default value for - purge_tagshas been changed from- Falseto- True(https://github.com/ansible-collections/amazon.aws/pull/916).
- s3_bucket - the previously deprecated alias - S3_URLfor the- s3_urlparameter has been removed. Playbooks shuold be updated to use- s3_url(https://github.com/ansible-collections/amazon.aws/pull/908).
- s3_object - the previously deprecated alias - S3_URLfor the- s3_urlparameter has been removed. Playbooks should be updated to use- s3_url(https://github.com/ansible-collections/amazon.aws/pull/908).
Deprecated Features
- amazon.aws collection - due to the AWS SDKs announcing the end of support for Python less than 3.7 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/) support for Python less than 3.7 by this collection has been deprecated and will be removed in a release after 2023-05-31 (https://github.com/ansible-collections/amazon.aws/pull/935). 
- inventory/aws_ec2 - the - include_extra_api_callsis now deprecated, its value is silently ignored (https://github.com/ansible-collections/amazon.aws/pull/1097).
Bugfixes
- aws_ec2 - address a regression introduced in 4.1.0 (https://github.com/ansible-collections/amazon.aws/pull/862) that cause the presnse of duplicated hosts in the inventory. 
- cloudtrail - Fix key error TagList to TagsList (https://github.com/ansible-collections/amazon.aws/issues/1088). 
- ec2_instance - Only show the deprecation warning for the default value of - instance_typewhen- countor- exact_countare specified (https://github.com//issues/980).
- ec2_metadata_facts - fix - 'NoneType' object is not callableexception when using Ansible 2.13+ (https://github.com/ansible-collections/amazon.aws/issues/942).
- module_utils/botocore - fix - object has no attribute 'fail'error in error handling (https://github.com/ansible-collections/amazon.aws/pull/1045).
- module_utils/elbv2 - fixes - KeyErrorwhen using- UseExistingClientSecretrather than- ClientSecret(https://github.com/ansible-collections/amazon.aws/pull/940).
- module_utils/elbv2 - improvements to idempotency when comparing listeners (https://github.com/ansible-collections/community.aws/issues/604). 
- s3_object - also use - ignore_nonexistent_bucketwhen listing a bucket (https://github.com/ansible-collections/amazon.aws/issues/966).
New Modules
- cloudtrail_info - Gather information about trails in AWS Cloud Trail. 
- cloudwatch_metric_alarm_info - Gather information about the alarms for the specified metric 
- s3_object_info - Gather information about objects in S3 
v4.5.0
Release Summary
This release contains a minor bugfix for the ec2_vol module, some minor work on the ec2_key module, and various documentation fixes.  This is the last planned release of the 4.x series.
Minor Changes
- ec2_key - minor refactoring and improved unit-tests coverage (https://github.com/ansible-collections/amazon.aws/pull/1288). 
Bugfixes
- ec2_vol - handle ec2_vol.tags when the associated instance already exists (https://github.com/ansible-collections/amazon.aws/pull/1071). 
v4.4.0
Release Summary
The amazon.aws 4.4.0 release includes a number of security and minor bug fixes.
Minor Changes
- ec2_instance - refacter - tower_callbackcode to handle parameter validation as part of the argument specification (https://github.com/ansible-collections/amazon.aws/pull/1199).
- ec2_instance - the - tower_callbackparameter has been renamed to- aap_callback,- tower_callbackremains as an alias. This change should have no observable effect for users outside the module documentation (https://github.com/ansible-collections/amazon.aws/pull/1199).
Security Fixes
- ec2_instance - fixes leak of password into logs when using - tower_callback.windows=Trueand- tower_callback.set_password(https://github.com/ansible-collections/amazon.aws/pull/1199).
v4.3.0
Release Summary
The amazon.aws 4.3.0 release includes a number of minor bug fixes and improvements. Following the release of amazon.aws 5.0.0, backports to the 4.x series will be limited to security issues and bugfixes.
Minor Changes
- ec2_instance - expanded the use of the automatic retries to - InsuffienctInstanceCapacity(https://github.com/ansible-collections/amazon.aws/issues/1038).
Bugfixes
- ec2_metadata_facts - fix - 'NoneType' object is not callableexception when using Ansible 2.13+ (https://github.com/ansible-collections/amazon.aws/issues/942).
- module_utils/cloud - Fix - ValueError: ansible_collections.amazon.aws.plugins.module_utils.core.__spec__ is Noneerror on Ansible 2.9 (https://github.com/ansible-collections/amazon.aws/issues/1083).
v4.2.0
Minor Changes
- ec2_security_group - set type as - listfor rules->group_name as it can accept both- strand- list(https://github.com/ansible-collections/amazon.aws/pull/971).
- various modules - linting fixups (https://github.com/ansible-collections/amazon.aws/pull/953). 
Deprecated Features
- module_utils.cloud - removal of the - CloudRetry.backoffhas been delayed until release 6.0.0. It is recommended to update custom modules to use- jittered_backoffor- exponential_backoffinstead (https://github.com/ansible-collections/amazon.aws/pull/951).
v4.1.0
Minor Changes
- ec2_instance - expanded the use of the automatic retries on temporary failures (https://github.com/ansible-collections/amazon.aws/issues/927). 
- s3_bucket - updated module to enable support for setting S3 Bucket Keys for SSE-KMS (https://github.com/ansible-collections/amazon.aws/pull/882). 
Deprecated Features
- amazon.aws collection - due to the AWS SDKs announcing the end of support for Python less than 3.7 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/) support for Python less than 3.7 by this collection has been deprecated and will be removed in a release after 2023-05-31 (https://github.com/ansible-collections/amazon.aws/pull/935). 
Bugfixes
- aws_ec2 - ensure the correct number of hosts are returned when tags as hostnames are used (https://github.com/ansible-collections/amazon.aws/pull/862). 
- elb_application_lb - fix - KeyErrorwhen balancing across two Target Groups (https://github.com/ansible-collections/community.aws/issues/1089).
- elb_classic_lb - fix - 'NoneType' object has no attributebug when creating a new ELB in check mode with a health check (https://github.com/ansible-collections/amazon.aws/pull/915).
- elb_classic_lb - fix - 'NoneType' object has no attributebug when creating a new ELB using security group names (https://github.com/ansible-collections/amazon.aws/issues/914).
v4.0.0
Major Changes
- amazon.aws collection - The amazon.aws collection has dropped support for - botocore<1.20.0and- boto3<1.17.0. Most modules will continue to work with older versions of the AWS SDK, however compatibility with older versions of the SDK is not guaranteed and will not be tested. When using older versions of the SDK a warning will be emitted by Ansible (https://github.com/ansible-collections/amazon.aws/pull/574).
Minor Changes
- aws_s3 - Add - validate_bucket_nameoption, to control bucket name validation (https://github.com/ansible-collections/amazon.aws/pull/615).
- aws_s3 - The - aws_s3module has been renamed to- s3_object(https://github.com/ansible-collections/amazon.aws/pull/869).
- aws_s3 - - resource_tagshas been added as an alias for the- tagsparameter (https://github.com/ansible-collections/amazon.aws/pull/845).
- ec2_eni - Change parameter - device_indexdata type to string when passing to- describe_network_interapi call (https://github.com/ansible-collections/amazon.aws/pull/877).
- ec2_eni - - resource_tagshas been added as an alias for the- tagsparameter (https://github.com/ansible-collections/amazon.aws/pull/845).
- ec2_group - add - egress_rulesas an alias for- rules_egress(https://github.com/ansible-collections/amazon.aws/pull/878).
- ec2_group - add - purge_egress_rulesas an alias for- purge_rules_egress(https://github.com/ansible-collections/amazon.aws/pull/878).
- ec2_instance - Add missing - metadata_optionsparameters (https://github.com/ansible-collections/amazon.aws/pull/715).
- ec2_key - - resource_tagshas been added as an alias for the- tagsparameter (https://github.com/ansible-collections/amazon.aws/pull/845).
- ec2_vpc_net - add support for managing VPCs by ID (https://github.com/ansible-collections/amazon.aws/pull/848). 
- ec2_vpc_subnet - add support for OutpostArn param (https://github.com/ansible-collections/amazon.aws/pull/598). 
- elb_classic_lb - - resource_tagshas been added as an alias for the- tagsparameter (https://github.com/ansible-collections/amazon.aws/pull/845).
- s3_bucket - Add - validate_bucket_nameoption, to control bucket name validation (https://github.com/ansible-collections/amazon.aws/pull/615).
- s3_bucket - - resource_tagshas been added as an alias for the- tagsparameter (https://github.com/ansible-collections/amazon.aws/pull/845).
Breaking Changes / Porting Guide
- Tags beginning with - aws:will not be removed when purging tags, these tags are reserved by Amazon and may not be updated or deleted (https://github.com/ansible-collections/amazon.aws/issues/817).
- amazon.aws collection - the - profileparameter is now mutually exclusive with the- aws_access_key,- aws_secret_keyand- security_tokenparameters (https://github.com/ansible-collections/amazon.aws/pull/834).
- aws_az_info - the module alias - aws_az_factswas deprecated in Ansible 2.9 and has now been removed (https://github.com/ansible-collections/amazon.aws/pull/832).
- aws_s3 - the default value for - ensure overwritehas been changed to- differentinstead of- alwaysso that the module is idempotent by default (https://github.com/ansible-collections/amazon.aws/issues/811).
- aws_ssm - on_denied and on_missing now both default to error, for consistency with both aws_secret and the base Lookup class (https://github.com/ansible-collections/amazon.aws/issues/617). 
- ec2 - The - ec2module has been removed in release 4.0.0 and replaced by the- ec2_instancemodule (https://github.com/ansible-collections/amazon.aws/pull/630).
- ec2_vpc_igw_info - The default value for - convert_tagshas been changed to- True(https://github.com/ansible-collections/amazon.aws/pull/835).
- elb_classic_lb - the - ec2_elbfact has been removed (https://github.com/ansible-collections/amazon.aws/pull/827).
- module_utils - Support for the original AWS SDK aka - botohas been removed, including all relevant helper functions. All modules should now use the- boto3/- botocoreAWS SDK (https://github.com/ansible-collections/amazon.aws/pull/630)
Deprecated Features
- aws_s3 - The - S3_URLalias for the s3_url option has been deprecated and will be removed in release 5.0.0 (https://github.com/ansible-collections/community.aws/pull/795).
- ec2_ami - The - DeviceNamealias for the device_name option has been deprecated and will be removed in release 5.0.0 (https://github.com/ansible-collections/community.aws/pull/795).
- ec2_ami - The - NoDevicealias for the no_device option has been deprecated and will be removed in release 5.0.0 (https://github.com/ansible-collections/community.aws/pull/795).
- ec2_ami - The - VirtualNamealias for the virtual_name option has been deprecated and will be removed in release 5.0.0 (https://github.com/ansible-collections/community.aws/pull/795).
- ec2_ami - the current default value of - Falsefor- purge_tagshas been deprecated and will be updated in release 5.0.0 to- True(https://github.com/ansible-collections/amazon.aws/pull/846).
- ec2_instance - The default value for - `instance_type`has been deprecated, in the future release you must set an instance_type or a launch_template (https://github.com/ansible-collections/amazon.aws/pull/587).
- ec2_instance - the current default value of - Falsefor- purge_tagshas been deprecated and will be updated in release 5.0.0 to- True(https://github.com/ansible-collections/amazon.aws/pull/849).
- ec2_key - the current default value of - Falsefor- purge_tagshas been deprecated and will be updated in release 5.0.0 to- True(https://github.com/ansible-collections/amazon.aws/pull/846).
- ec2_vol - the current default value of - Falsefor- purge_tagshas been deprecated and will be updated in release 5.0.0 to- True(https://github.com/ansible-collections/amazon.aws/pull/846).
- ec2_vpc_dhcp_option_info - The - DhcpOptionIdsalias for the dhcp_option_ids option has been deprecated and will be removed in release 5.0.0 (https://github.com/ansible-collections/community.aws/pull/795).
- ec2_vpc_dhcp_option_info - The - DryRunalias for the dry_run option has been deprecated and will be removed in release 5.0.0 (https://github.com/ansible-collections/community.aws/pull/795).
- ec2_vpc_endpoint - the current default value of - Falsefor- purge_tagshas been deprecated and will be updated in release 5.0.0 to- True(https://github.com/ansible-collections/amazon.aws/pull/846).
- ec2_vpc_net - the current default value of - Falsefor- purge_tagshas been deprecated and will be updated in release 5.0.0 to- True(https://github.com/ansible-collections/amazon.aws/pull/848).
- ec2_vpc_route_table - the current default value of - Falsefor- purge_tagshas been deprecated and will be updated in release 5.0.0 to- True(https://github.com/ansible-collections/amazon.aws/pull/846).
- s3_bucket - The - S3_URLalias for the s3_url option has been deprecated and will be removed in release 5.0.0 (https://github.com/ansible-collections/community.aws/pull/795).
- s3_object - Support for creation and deletion of S3 buckets has been deprecated. Please use the - amazon.aws.s3_bucketmodule to create and delete buckets (https://github.com/ansible-collections/amazon.aws/pull/869).
Removed Features (previously deprecated)
- cloudformation - the - template_formatoption has been removed. It has been ignored by the module since Ansible 2.3 (https://github.com/ansible-collections/amazon.aws/pull/833).
- ec2_key - the - wait_timeoutoption had no effect, was deprecated in release 1.0.0, and has now been removed (https://github.com/ansible-collections/amazon.aws/pull/830).
- ec2_key - the - waitoption had no effect, was deprecated in release 1.0.0, and has now been removed (https://github.com/ansible-collections/amazon.aws/pull/830).
- ec2_tag - the previously deprecated state - listhas been removed. To list tags on an EC2 resource the- ec2_tag_infomodule can be used (https://github.com/ansible-collections/amazon.aws/pull/829).
- ec2_vol - the previously deprecated state - listhas been removed. To list volumes the- ec2_vol_infomodule can be used (https://github.com/ansible-collections/amazon.aws/pull/828).
- module_utils.batch - the class - ansible_collections.amazon.aws.plugins.module_utils.batch.AWSConnectionhas been removed. Please use- AnsibleAWSModule.client()instead (https://github.com/ansible-collections/amazon.aws/pull/831).
Bugfixes
- ec2_group - fix uncaught exception when running with - --diffand- --checkto create a new security group (https://github.com/ansible-collections/amazon.aws/issues/440).
- ec2_instance - Add a condition to handle default - `instance_type`value for fix breaking on instance creation with launch template (https://github.com/ansible-collections/amazon.aws/pull/587).
- ec2_instance - raise an error when missing permission to stop instance when - stateis set to- rebooted`(https://github.com/ansible-collections/amazon.aws/pull/671).
- ec2_vpc_igw - use gateway_id rather than filters to paginate if possible to fix ‘NoneType’ object is not subscriptable error (https://github.com/ansible-collections/amazon.aws/pull/766). 
- ec2_vpc_net - fix a bug where CIDR configuration would be updated in check mode (https://github.com/ansible/ansible/issues/62678). 
- ec2_vpc_net - fix a bug where the module would get stuck if DNS options were updated in check mode (https://github.com/ansible/ansible/issues/62677). 
- elb_classic_lb - modify the return value of _format_listeners method to resolve a failure creating https listeners (https://github.com/ansible-collections/amazon.aws/pull/860). 
v3.5.1
Release Summary
3.5.1 is a security bugfix release.
Minor Changes
- ec2_instance - refacter - tower_callbackcode to handle parameter validation as part of the argument specification (https://github.com/ansible-collections/amazon.aws/pull/1199).
- ec2_instance - the - tower_callbackparameter has been renamed to- aap_callback,- tower_callbackremains as an alias. This change should have no observable effect for users outside the module documentation (https://github.com/ansible-collections/amazon.aws/pull/1199).
Security Fixes
- ec2_instance - fixes leak of password into logs when using - tower_callback.windows=Trueand- tower_callback.set_password(https://github.com/ansible-collections/amazon.aws/pull/1199).
v3.5.0
Release Summary
Following the release of amazon.aws 5.0.0, 3.5.0 is a bugfix release and the final planned release for the 3.x series.
Minor Changes
- ec2_security_group - set type as - listfor rules->group_name as it can accept both- strand- list(https://github.com/ansible-collections/amazon.aws/pull/971).
Bugfixes
- ec2_metadata_facts - fix - 'NoneType' object is not callableexception when using Ansible 2.13+ (https://github.com/ansible-collections/amazon.aws/issues/942).
v3.4.0
Minor Changes
- ec2_instance - expanded the use of the automatic retries on temporary failures (https://github.com/ansible-collections/amazon.aws/issues/927). 
Bugfixes
- elb_application_lb - fix - KeyErrorwhen balancing across two Target Groups (https://github.com/ansible-collections/community.aws/issues/1089).
- elb_classic_lb - fix - 'NoneType' object has no attributebug when creating a new ELB in check mode with a health check (https://github.com/ansible-collections/amazon.aws/pull/915).
- elb_classic_lb - fix - 'NoneType' object has no attributebug when creating a new ELB using security group names (https://github.com/ansible-collections/amazon.aws/issues/914).
v3.3.1
Release Summary
Various minor documentation fixes.
v3.3.0
Minor Changes
- aws_ec2 inventory - Allow for literal strings in hostname that don’t match filter parameters in ec2 describe-instances (https://github.com/ansible-collections/amazon.aws/pull/826). 
- aws_ssm - Add support for - endpointparameter (https://github.com/ansible-collections/amazon.aws/pull/837).
- module.utils.rds - add retry_codes to get_rds_method_attribute return data to use in call_method and add unit tests (https://github.com/ansible-collections/amazon.aws/pull/776). 
- module.utils.rds - refactor to utilize get_rds_method_attribute return data (https://github.com/ansible-collections/amazon.aws/pull/776). 
- module_utils - add new aliases - aws_session_tokenand- session_tokento the- security_tokenparameter to be more in-line with the boto SDK (https://github.com/ansible-collections/amazon.aws/pull/631).
- module_utils.rds - Add support and unit tests for addition/removal of IAM roles to/from a db instance in module_utils.rds with waiters (https://github.com/ansible-collections/amazon.aws/pull/714). 
Bugfixes
- Include - PSF-license.txtfile for- plugins/module_utils/_version.py.
- aws_account_attribute lookup plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701). 
- aws_ec2 inventory plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701). 
- aws_rds inventory plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701). 
- aws_resource_actions callback plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701). 
- aws_secret lookup plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701). 
- aws_service_ip_ranges lookup plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701). 
- aws_ssm - Fix environment variables for client configuration (e.g., AWS_PROFILE, AWS_ACCESS_KEY_ID) (https://github.com/ansible-collections/amazon.aws/pull/837). 
- aws_ssm lookup plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701). 
- ec2_instance - ec2_instance module broken in Python 3.8 - dict keys modified during iteration (https://github.com/ansible-collections/amazon.aws/issues/709). 
- module.utils.rds - Add waiter for promoting read replica to fix idempotency issue (https://github.com/ansible-collections/amazon.aws/pull/714). 
- module.utils.rds - Catch InvalidDBSecurityGroupStateFault when modifying a db instance (https://github.com/ansible-collections/amazon.aws/pull/776). 
- module.utils.s3 - Update validate_bucket_name minimum length to 3 (https://github.com/ansible-collections/amazon.aws/pull/802). 
v3.2.0
Minor Changes
- aws_secret - add pagination for - bypathfunctionality (https://github.com/ansible-collections/amazon.aws/pull/591).
- ec2_instance - Fix scope of deprecation warning to not show warning when - statein- absent(https://github.com/ansible-collections/amazon.aws/pull/719).
- ec2_vpc_route_table - support associating internet gateways (https://github.com/ansible-collections/amazon.aws/pull/690). 
- module_utils.elbv2 - Add support for alb specific attributes and compare_elb_attributes method to support check_mode in module_utils.elbv2 (https://github.com/ansible-collections/amazon.aws/pull/696). 
- s3_bucket - Add support for enforced bucket owner object ownership (https://github.com/ansible-collections/amazon.aws/pull/694). 
Bugfixes
- aws_ec2 inventory - use the iam_role_arn configuration parameter to assume the role before trying to call DescribeRegions if the regions configuration is not set and AWS credentials provided without enough privilege to perform the DescribeRegions action. (https://github.com/ansible-collections/amazon.aws/issues/566). 
- ec2_vol - changing a volume from a type that does not support IOPS (like - standard) to a type that does (like- gp3) fails (https://github.com/ansible-collections/amazon.aws/issues/626).
- ec2_vpc_igw - fix ‘NoneType’ object is not subscriptable error (https://github.com/ansible-collections/amazon.aws/pull/691). 
- ec2_vpc_igw - use paginator for describe internet gateways and add retry to fix NoneType object is not subscriptable error (https://github.com/ansible-collections/amazon.aws/pull/695). 
- ec2_vpc_net - In check mode, ensure the module does not change the configuration. Handle case when Amazon-provided ipv6 block is enabled, then disabled, then enabled again. Do not disable IPv6 CIDR association (using Amazon pool) if ipv6_cidr property is not present in the task. If the VPC already exists and ipv6_cidr property, retain the current config (https://github.com/ansible-collections/amazon.aws/pull/631). 
v3.1.1
Minor Changes
- bump the release version of the amazon.aws collection from 3.1.0 to 3.1.1 because of a bug that occurred while uploading to Galaxy. 
v3.1.0
Minor Changes
- add new parameters hostvars_prefix and hostvars_suffix for inventory plugins aws_ec2 and aws_rds (https://github.com/ansible-collections/amazon.aws/issues/535). 
- aws_s3 - Add - validate_bucket_nameoption, to control bucket name validation (https://github.com/ansible-collections/amazon.aws/pull/615).
- aws_s3 - add latest choice on - overwriteparameter to get latest object on S3 (https://github.com/ansible-collections/amazon.aws/pull/595).
- ec2_vol - add support for OutpostArn param (https://github.com/ansible-collections/amazon.aws/pull/597). 
- ec2_vol - tag volume on creation (https://github.com/ansible-collections/amazon.aws/pull/603). 
- ec2_vpc_route_table - add support for IPv6 in creating route tables (https://github.com/ansible-collections/amazon.aws/pull/601). 
- s3_bucket - Add - validate_bucket_nameoption, to control bucket name validation (https://github.com/ansible-collections/amazon.aws/pull/615).
Deprecated Features
- ec2_instance - The default value for - `instance_type`has been deprecated, in the future release you must set an instance_type or a launch_template (https://github.com/ansible-collections/amazon.aws/pull/587).
Bugfixes
- Various modules and plugins - use vendored version of - distutils.versioninstead of the deprecated Python standard library- distutils(https://github.com/ansible-collections/amazon.aws/pull/599).
- aws_acm - No longer raising ResourceNotFound exception while retrieving ACM certificates. 
- aws_s3 - fix exception raised when using module to copy from source to destination and key is missing from source (https://github.com/ansible-collections/amazon.aws/issues/602). 
- ec2_instance - Add a condition to handle default - `instance_type`value for fix breaking on instance creation with launch template (https://github.com/ansible-collections/amazon.aws/pull/587).
- ec2_key - add support for ED25519 key type (https://github.com/ansible-collections/amazon.aws/issues/572). 
- ec2_vol - Sets the Iops value in req_obj even if the iops value has not changed, to allow modifying volume types that require passing an iops value to boto. (https://github.com/ansible-collections/amazon.aws/pull/606) 
- elb_classic_lb - handle security_group_ids when providing security_group_names and fix broken tasks in integration test (https://github.com/ansible-collections/amazon.aws/pull/592). 
- s3_bucket - Enable the management of bucket-level ACLs (https://github.com/ansible-collections/amazon.aws/issues/573). 
v3.0.0
Major Changes
- amazon.aws collection - The amazon.aws collection has dropped support for - botocore<1.19.0and- boto3<1.16.0. Most modules will continue to work with older versions of the AWS SDK, however compatibility with older versions of the SDK is not guaranteed and will not be tested. When using older versions of the SDK a warning will be emitted by Ansible (https://github.com/ansible-collections/amazon.aws/pull/574).
Minor Changes
- ec2_instance - add count parameter support (https://github.com/ansible-collections/amazon.aws/pull/539). 
Breaking Changes / Porting Guide
- aws_caller_facts - Remove deprecated - aws_caller_factsalias. Please use- aws_caller_infoinstead.
- cloudformation_facts - Remove deprecated - cloudformation_factsalias. Please use- cloudformation_infoinstead.
- ec2_ami_facts - Remove deprecated - ec2_ami_factsalias. Please use- ec2_ami_infoinstead.
- ec2_eni_facts - Remove deprecated - ec2_eni_factsalias. Please use- ec2_eni_infoinstead.
- ec2_group_facts - Remove deprecated - ec2_group_factsalias. Please use- ec2_group_infoinstead.
- ec2_instance_facts - Remove deprecated - ec2_instance_factsalias. Please use- ec2_instance_infoinstead.
- ec2_snapshot_facts - Remove deprecated - ec2_snapshot_factsalias. Please use- ec2_snapshot_infoinstead.
- ec2_vol_facts - Remove deprecated - ec2_vol_factsalias. Please use- ec2_vol_infoinstead.
- ec2_vpc_dhcp_option_facts - Remove deprecated - ec2_vpc_dhcp_option_factsalias. Please use- ec2_vpc_dhcp_option_infoinstead.
- ec2_vpc_endpoint_facts - Remove deprecated - ec2_vpc_endpoint_factsalias. Please use- ec2_vpc_endpoint_infoinstead.
- ec2_vpc_igw_facts - Remove deprecated - ec2_vpc_igw_factsalias. Please use- ec2_vpc_igw_infoinstead.
- ec2_vpc_nat_gateway_facts - Remove deprecated - ec2_vpc_nat_gateway_factsalias. Please use- ec2_vpc_nat_gateway_infoinstead.
- ec2_vpc_net_facts - Remove deprecated - ec2_vpc_net_factsalias. Please use- ec2_vpc_net_infoinstead.
- ec2_vpc_route_table_facts - Remove deprecated - ec2_vpc_route_table_factsalias. Please use- ec2_vpc_route_table_infoinstead.
- ec2_vpc_subnet_facts - Remove deprecated - ec2_vpc_subnet_factsalias. Please use- ec2_vpc_subnet_infoinstead.
Deprecated Features
- module_utils - support for the original AWS SDK - botohas been deprecated in favour of the- boto3/- botocoreSDK. All- botobased modules have either been deprecated or migrated to- botocore, and the remaining support code in module_utils will be removed in release 4.0.0 of the amazon.aws collection. Any modules outside of the amazon.aws and community.aws collections based on the- botolibrary will need to be migrated to the- boto3/- botocorelibraries (https://github.com/ansible-collections/amazon.aws/pull/575).
v2.3.0
Bugfixes
- aws_account_attribute lookup plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701). 
- aws_ec2 inventory plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701). 
- aws_rds inventory plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701). 
- aws_resource_actions callback plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701). 
- aws_secret lookup plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701). 
- aws_service_ip_ranges lookup plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701). 
- aws_ssm lookup plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701). 
- ec2_instance - ec2_instance module broken in Python 3.8 - dict keys modified during iteration (https://github.com/ansible-collections/amazon.aws/issues/709). 
- module.utils.s3 - Update validate_bucket_name minimum length to 3 (https://github.com/ansible-collections/amazon.aws/pull/802). 
v2.2.0
Minor Changes
- ec2_instance - add count parameter support (https://github.com/ansible-collections/amazon.aws/pull/539). 
Bugfixes
- aws_ec2 inventory - use the iam_role_arn configuration parameter to assume the role before trying to call DescribeRegions if the regions configuration is not set and AWS credentials provided without enough privilege to perform the DescribeRegions action. (https://github.com/ansible-collections/amazon.aws/issues/566). 
- ec2_vol - Sets the Iops value in req_obj even if the iops value has not changed, to allow modifying volume types that require passing an iops value to boto. (https://github.com/ansible-collections/amazon.aws/pull/606) 
- ec2_vol - changing a volume from a type that does not support IOPS (like - standard) to a type that does (like- gp3) fails (https://github.com/ansible-collections/amazon.aws/issues/626).
- ec2_vpc_igw - fix ‘NoneType’ object is not subscriptable error (https://github.com/ansible-collections/amazon.aws/pull/691). 
- ec2_vpc_igw - use paginator for describe internet gateways and add retry to fix NoneType object is not subscriptable error (https://github.com/ansible-collections/amazon.aws/pull/695). 
- elb_classic_lb - handle security_group_ids when providing security_group_names and fix broken tasks in integration test (https://github.com/ansible-collections/amazon.aws/pull/592). 
v2.1.0
Minor Changes
- aws_service_ip_ranges - add new option - ipv6_prefixesto get only IPV6 addresses and prefixes for Amazon services (https://github.com/ansible-collections/amazon.aws/pull/430)
- cloudformation - fix detection when there are no changes. Sometimes when there are no changes, the change set will have a status FAILED with StatusReason No updates are to be performed (https://github.com/ansible-collections/amazon.aws/pull/507). 
- ec2_ami - add check_mode support (https://github.com/ansible-collections/amazon.aws/pull/516). 
- ec2_ami - use module_util helper for tagging AMIs (https://github.com/ansible-collections/amazon.aws/pull/520). 
- ec2_ami - when creating an AMI from an instance pass the tagging options at creation time (https://github.com/ansible-collections/amazon.aws/pull/551). 
- ec2_elb_lb - module renamed to - elb_classic_lb(https://github.com/ansible-collections/amazon.aws/pull/377).
- ec2_eni - add check mode support (https://github.com/ansible-collections/amazon.aws/pull/534). 
- ec2_eni - use module_util helper for tagging ENIs (https://github.com/ansible-collections/amazon.aws/pull/522). 
- ec2_instance - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/527). 
- ec2_key - add support for tagging key pairs (https://github.com/ansible-collections/amazon.aws/pull/548). 
- ec2_snapshot - add check_mode support (https://github.com/ansible-collections/amazon.aws/pull/512). 
- ec2_vol - add check_mode support (https://github.com/ansible-collections/amazon.aws/pull/509). 
- ec2_vpc_dhcp_option - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). 
- ec2_vpc_endpoint - added - vpc_endpoint_security_groupsparameter to support defining the security group attached to an interface endpoint (https://github.com/ansible-collections/amazon.aws/pull/544).
- ec2_vpc_endpoint - added - vpc_endpoint_subnetsparameter to support defining the subnet attached to an interface or gateway endpoint (https://github.com/ansible-collections/amazon.aws/pull/544).
- ec2_vpc_endpoint - use module_util helper for tagging (https://github.com/ansible-collections/amazon.aws/pull/525). 
- ec2_vpc_endpoint - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). 
- ec2_vpc_igw - use module_util helper for tagging (https://github.com/ansible-collections/amazon.aws/pull/523). 
- ec2_vpc_igw - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). 
- ec2_vpc_nat_gateway - use module_util helper for tagging (https://github.com/ansible-collections/amazon.aws/pull/524). 
- ec2_vpc_nat_gateway - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). 
- elb_classic_lb - added retries on common AWS temporary API failures (https://github.com/ansible-collections/amazon.aws/pull/377). 
- elb_classic_lb - added support for check_mode (https://github.com/ansible-collections/amazon.aws/pull/377). 
- elb_classic_lb - added support for wait during creation (https://github.com/ansible-collections/amazon.aws/pull/377). 
- elb_classic_lb - added support for wait during instance addition and removal (https://github.com/ansible-collections/amazon.aws/pull/377). 
- elb_classic_lb - migrated to boto3 SDK (https://github.com/ansible-collections/amazon.aws/pull/377). 
- elb_classic_lb - various error messages changed due to refactor (https://github.com/ansible-collections/amazon.aws/pull/377). 
- module_utils.ec2 - moved generic tagging helpers into module_utils.tagging (https://github.com/ansible-collections/amazon.aws/pull/527). 
- module_utils.tagging - add new helper to generate TagSpecification lists (https://github.com/ansible-collections/amazon.aws/pull/527). 
Deprecated Features
- ec2_classic_lb - setting of the - ec2_elbfact has been deprecated and will be removed in release 4.0.0 of the collection. The module now returns- elbwhich can be accessed using the register keyword (https://github.com/ansible-collections/amazon.aws/pull/552).
Bugfixes
- AWS action group - added missing - ec2_instance_factsentry (https://github.com/ansible-collections/amazon.aws/issues/557)
- ec2_ami - fix problem when creating an AMI from an instance with ephemeral volumes (https://github.com/ansible-collections/amazon.aws/issues/511). 
- ec2_instance - ensure that ec2_instance falls back to the tag(Name) parameter when no filter and no name parameter is passed (https://github.com/ansible-collections/amazon.aws/issues/526). 
- s3_bucket - update error handling to better support DigitalOcean Space (https://github.com/ansible-collections/amazon.aws/issues/508). 
v2.0.0
Major Changes
- amazon.aws collection - Due to the AWS SDKs announcing the end of support for Python less than 3.6 (https://boto3.amazonaws.com/v1/documentation/api/1.17.64/guide/migrationpy3.html) this collection now requires Python 3.6+ (https://github.com/ansible-collections/amazon.aws/pull/298). 
- amazon.aws collection - The amazon.aws collection has dropped support for - botocore<1.18.0and- boto3<1.15.0. Most modules will continue to work with older versions of the AWS SDK, however compatibility with older versions of the SDK is not guaranteed and will not be tested. When using older versions of the SDK a warning will be emitted by Ansible (https://github.com/ansible-collections/amazon.aws/pull/502).
- ec2_instance - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_instance.
- ec2_instance_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_instance_info.
- ec2_vpc_endpoint - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_vpc_endpoint.
- ec2_vpc_endpoint_facts - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_vpc_endpoint_info.
- ec2_vpc_endpoint_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_vpc_endpoint_info.
- ec2_vpc_endpoint_service_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_vpc_endpoint_service_info.
- ec2_vpc_igw - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_vpc_igw.
- ec2_vpc_igw_facts - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_vpc_igw_facts.
- ec2_vpc_igw_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_vpc_igw_info.
- ec2_vpc_nat_gateway - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_vpc_nat_gateway.
- ec2_vpc_nat_gateway_facts - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_vpc_nat_gateway_info.
- ec2_vpc_nat_gateway_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_vpc_nat_gateway_info.
- ec2_vpc_route_table - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_vpc_route_table.
- ec2_vpc_route_table_facts - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_vpc_route_table_facts.
- ec2_vpc_route_table_info - The module has been migrated from the - community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use- amazon.aws.ec2_vpc_route_table_info.
Minor Changes
- aws_ec2 - use a generator rather than list comprehension (https://github.com/ansible-collections/amazon.aws/pull/465). 
- aws_s3 - Tests for compatibility with older versions of the AWS SDKs have been removed (https://github.com/ansible-collections/amazon.aws/pull/442). 
- aws_s3 - Tests for compatibility with older versions of the AWS SDKs have been removed (https://github.com/ansible-collections/amazon.aws/pull/442). 
- aws_s3 - add - tagsand- purge_tagsfeatures for an S3 object (https://github.com/ansible-collections/amazon.aws/pull/335)
- aws_s3 - new mode to copy existing on another bucket (https://github.com/ansible-collections/amazon.aws/pull/359). 
- aws_secret - added support for gracefully handling deleted secrets (https://github.com/ansible-collections/amazon.aws/pull/455). 
- aws_ssm - add - on_missingand- on_deniedoption (https://github.com/ansible-collections/amazon.aws/pull/370).
- cloudformation - Tests for compatibility with older versions of the AWS SDKs have been removed (https://github.com/ansible-collections/amazon.aws/pull/442). 
- cloudformation - Tests for compatibility with older versions of the AWS SDKs have been removed (https://github.com/ansible-collections/amazon.aws/pull/442). 
- ec2_ami - ensure tags are propagated to the snapshot(s) when creating an AMI (https://github.com/ansible-collections/amazon.aws/pull/437). 
- ec2_eni - fix idempotency when - security_groupsattribute is specified (https://github.com/ansible-collections/amazon.aws/pull/337).
- ec2_eni - timeout increased when waiting for ENIs to finish detaching (https://github.com/ansible-collections/amazon.aws/pull/501). 
- ec2_group - Tests for compatibility with older versions of the AWS SDKs have been removed (https://github.com/ansible-collections/amazon.aws/pull/442). 
- ec2_group - Tests for compatibility with older versions of the AWS SDKs have been removed (https://github.com/ansible-collections/amazon.aws/pull/442). 
- ec2_group - use a generator rather than list comprehension (https://github.com/ansible-collections/amazon.aws/pull/465). 
- ec2_group - use system ipaddress module, available with Python >= 3.3, instead of vendored copy (https://github.com/ansible-collections/amazon.aws/pull/461). 
- ec2_instance - Tests for compatibility with older versions of the AWS SDKs have been removed (https://github.com/ansible-collections/amazon.aws/pull/442). 
- ec2_instance - Tests for compatibility with older versions of the AWS SDKs have been removed (https://github.com/ansible-collections/amazon.aws/pull/442). 
- ec2_instance - add - throughputparameter for gp3 volume types (https://github.com/ansible-collections/amazon.aws/pull/433).
- ec2_instance - add support for controlling metadata options (https://github.com/ansible-collections/amazon.aws/pull/414). 
- ec2_instance - remove unnecessary raise when exiting with a failure (https://github.com/ansible-collections/amazon.aws/pull/460). 
- ec2_instance_info - Tests for compatibility with older versions of the AWS SDKs have been removed (https://github.com/ansible-collections/amazon.aws/pull/442). 
- ec2_instance_info - Tests for compatibility with older versions of the AWS SDKs have been removed (https://github.com/ansible-collections/amazon.aws/pull/442). 
- ec2_snapshot - migrated to use the boto3 python library (https://github.com/ansible-collections/amazon.aws/pull/356). 
- ec2_spot_instance_info - Added a new module that describes the specified Spot Instance requests (https://github.com/ansible-collections/amazon.aws/pull/487). 
- ec2_vol - add parameter - multi_attachto support Multi-Attach on volume creation/update (https://github.com/ansible-collections/amazon.aws/pull/362).
- ec2_vol - relax the boto3/botocore requirements and only require botocore 1.19.27 for modifying the - throughputparameter (https://github.com/ansible-collections/amazon.aws/pull/346).
- ec2_vpc_dhcp_option - Now also returns a boto3-style resource description in the - dhcp_optionsresult key. This includes any tags for the- dhcp_options_idand has the same format as the current return value of- ec2_vpc_dhcp_option_info. (https://github.com/ansible-collections/amazon.aws/pull/252)
- ec2_vpc_dhcp_option_info - Now also returns a user-friendly - dhcp_configkey that matches the historical- new_configkey from ec2_vpc_dhcp_option, and alleviates the need to use- items2dict(key_name='key', value_name='values')when parsing the output of the module. (https://github.com/ansible-collections/amazon.aws/pull/252)
- ec2_vpc_subnet - Tests for compatibility with older versions of the AWS SDKs have been removed (https://github.com/ansible-collections/amazon.aws/pull/442). 
- ec2_vpc_subnet - Tests for compatibility with older versions of the AWS SDKs have been removed (https://github.com/ansible-collections/amazon.aws/pull/442). 
- integration tests - remove dependency with collection - community.general(https://github.com/ansible-collections/amazon.aws/pull/361).
- module_utils/waiter - add RDS cluster - cluster_availablewaiter (https://github.com/ansible-collections/amazon.aws/pull/464).
- module_utils/waiter - add RDS cluster - cluster_deletedwaiter (https://github.com/ansible-collections/amazon.aws/pull/464).
- module_utils/waiter - add Route53 - resource_record_sets_changedwaiter (https://github.com/ansible-collections/amazon.aws/pull/350).
- s3_bucket - Tests for compatibility with older versions of the AWS SDKs have been removed (https://github.com/ansible-collections/amazon.aws/pull/442). 
- s3_bucket - Tests for compatibility with older versions of the AWS SDKs have been removed (https://github.com/ansible-collections/amazon.aws/pull/442). 
- s3_bucket - add new option - object_ownershipto configure object ownership (https://github.com/ansible-collections/amazon.aws/pull/311)
- s3_bucket - updated to use HeadBucket instead of ListBucket when testing for bucket existence (https://github.com/ansible-collections/amazon.aws/pull/357). 
Breaking Changes / Porting Guide
- ec2_instance - instance wait for state behaviour has changed. If plays require the old behavior of waiting for the instance monitoring status to become - OKwhen launching a new instance, the action will need to specify- state: started(https://github.com/ansible-collections/amazon.aws/pull/481).
- ec2_snapshot - support for waiting indefinitely has been dropped, new default is 10 minutes (https://github.com/ansible-collections/amazon.aws/pull/356). 
- ec2_vol_info - return - attachment_setis now a list of attachments with Multi-Attach support on disk. (https://github.com/ansible-collections/amazon.aws/pull/362).
- ec2_vpc_dhcp_option - The module has been refactored to use boto3. Keys and value types returned by the module are now consistent, which is a change from the previous behaviour. A - purge_tagsoption has been added, which defaults to- True. (https://github.com/ansible-collections/amazon.aws/pull/252)
- ec2_vpc_dhcp_option_info - Now preserves case for tag keys in return value. (https://github.com/ansible-collections/amazon.aws/pull/252) 
- module_utils.core - The boto3 switch has been removed from the region parameter (https://github.com/ansible-collections/amazon.aws/pull/287). 
- module_utils/compat - vendored copy of ipaddress removed (https://github.com/ansible-collections/amazon.aws/pull/461). 
- module_utils/core - updated the - scrub_none_parametersfunction so that- descend_into_listsis set to- Trueby default (https://github.com/ansible-collections/amazon.aws/pull/297).
Deprecated Features
- ec2 - the boto based - ec2module has been deprecated in favour of the boto3 based- ec2_instancemodule. The- ec2module will be removed in release 4.0.0 (https://github.com/ansible-collections/amazon.aws/pull/424).
- ec2_vpc_dhcp_option - The - new_configreturn key has been deprecated and will be removed in a future release. It will be replaced by- dhcp_config. Both values are returned in the interim. (https://github.com/ansible-collections/amazon.aws/pull/252)
Bugfixes
- aws_s3 - Fix upload permission when an S3 bucket ACL policy requires a particular canned ACL (https://github.com/ansible-collections/amazon.aws/pull/318) 
- ec2_ami - Fix ami issue when creating an ami with no_device parameter (https://github.com/ansible-collections/amazon.aws/pull/386) 
- ec2_instance - - ec2_instancewas waiting on EC2 instance monitoring status to be- OKwhen launching a new instance. This could cause a play to wait multiple minutes for AWS’s monitoring to complete status checks (https://github.com/ansible-collections/amazon.aws/pull/481).
- ec2_snapshot - Fix snapshot issue when capturing a snapshot of a volume without tags (https://github.com/ansible-collections/amazon.aws/pull/383) 
- ec2_vol - Fixes - changedstatus when- modify_volumeis used, but no new disk is being attached. The module incorrectly reported that no change had occurred even when disks had been modified (iops, throughput, type, etc.). (https://github.com/ansible-collections/amazon.aws/issues/482).
- ec2_vol - fix iops setting and enforce iops/throughput parameters usage (https://github.com/ansible-collections/amazon.aws/pull/334) 
- inventory - - include_filterswon’t be ignored anymore if- filtersis not set (https://github.com/ansible-collections/amazon.aws/issues/457).
- s3_bucket - Fix error handling when attempting to set a feature that is not implemented (https://github.com/ansible-collections/amazon.aws/pull/391). 
- s3_bucket - Gracefully handle - NotImplementedexceptions when fetching encryption settings (https://github.com/ansible-collections/amazon.aws/issues/390).
New Modules
- ec2_spot_instance - request, stop, reboot or cancel spot instance 
- ec2_spot_instance_info - Gather information about ec2 spot instance requests 
v1.5.1
Minor Changes
- ec2_instance - remove unnecessary raise when exiting with a failure (https://github.com/ansible-collections/amazon.aws/pull/460). 
Bugfixes
- ec2_vol - Fixes - changedstatus when- modify_volumeis used, but no new disk is being attached. The module incorrectly reported that no change had occurred even when disks had been modified (iops, throughput, type, etc.). (https://github.com/ansible-collections/amazon.aws/issues/482).
- ec2_vol - fix iops setting and enforce iops/throughput parameters usage (https://github.com/ansible-collections/amazon.aws/pull/334) 
v1.5.0
Minor Changes
- AWS inventory plugins - use shared HAS_BOTO3 helper rather than copying code (https://github.com/ansible-collections/amazon.aws/pull/288). 
- AWS lookup plugins - use shared HAS_BOTO3 helper rather than copying code (https://github.com/ansible-collections/amazon.aws/pull/288). 
- aws_account_attribute - add retries on common AWS failures (https://github.com/ansible-collections/amazon.aws/pull/295). 
- aws_ec2 inventory - expose a new configuration key - use_contrib_script_compatible_ec2_tag_keysto reproduce a behavior of the old- ec2.pyinventory script. With this option enabled, each tag is exposed using a- ec2_tag_TAGNAMEkey (https://github.com/ansible-collections/amazon.aws/pull/331).
- aws_ec2 inventory - expose to new keys called - include_filtersand- exclude_filtersto give the user the ability to compose an inventory with multiple queries (https://github.com/ansible-collections/amazon.aws/pull/328).
- aws_ec2 inventory plugin - Added support for using Jinja2 templates in the authentication fields (https://github.com/ansible-collections/amazon.aws/pull/57). 
- cloudformation - added support for StackPolicyDuringUpdateBody (https://github.com/ansible-collections/amazon.aws/pull/155). 
- ec2_metadata_facts - add support for IMDSv2 (https://github.com/ansible-collections/amazon.aws/pull/43). 
- ec2_snapshot_info - add the - max_resultsalong with- next_token_idoption (https://github.com/ansible-collections/amazon.aws/pull/321).
- ec2_tag - use common code for tagging resources (https://github.com/ansible-collections/amazon.aws/pull/309). 
- ec2_tag_info - use common code for tagging resources (https://github.com/ansible-collections/amazon.aws/pull/309). 
- ec2_vol - add the - purge_tagsoption (https://github.com/ansible-collections/amazon.aws/pull/242).
- ec2_vol - use common code for tagging resources (https://github.com/ansible-collections/amazon.aws/pull/309). 
- ec2_vpc_net - use a custom waiter which can handle API rate limiting (https://github.com/ansible-collections/amazon.aws/pull/270). 
- ec2_vpc_subnet - use AWSRetry decorator to more consistently handle API rate limiting (https://github.com/ansible-collections/amazon.aws/pull/270). 
- ec2_vpc_subnet - use common code for tagging resources (https://github.com/ansible-collections/amazon.aws/pull/309). 
- module_utils.cloudfront_facts - linting cleanup (https://github.com/ansible-collections/amazon.aws/pull/291). 
- module_utils.ec2 - linting cleanup (https://github.com/ansible-collections/amazon.aws/pull/291). 
- module_utils/core - add a helper function - normalize_boto3_result(https://github.com/ansible-collections/amazon.aws/pull/271).
- module_utils/core - add parameter - descend_into_liststo- scrub_none_parametershelper function (https://github.com/ansible-collections/amazon.aws/pull/262).
- module_utils/ec2 - added additional helper functions for tagging EC2 resources (https://github.com/ansible-collections/amazon.aws/pull/309). 
- sanity tests - add ignore.txt for 2.12 (https://github.com/ansible-collections/amazon.aws/pull/315). 
Bugfixes
- ec2_vol - create or update now preserves the existing tags, including Name (https://github.com/ansible-collections/amazon.aws/issues/229) 
- ec2_vol - fix exception when platform information isn’t available (https://github.com/ansible-collections/amazon.aws/issues/305). 
v1.4.1
Minor Changes
- module_utils - the ipaddress module utility has been vendored into this collection. This eliminates the collection dependency on ansible.netcommon (which had removed the library in its 2.0 release). The ipaddress library is provided for internal use in this collection only. (https://github.com/ansible-collections/amazon.aws/issues/273)- 
v1.4.0
Minor Changes
- aws_ec2 - Add hostname options concatenation 
- aws_ec2 inventory plugin - avoid a superfluous import of - ansible.utils.display.Display(https://github.com/ansible-collections/amazon.aws/pull/226).
- aws_ec2 module - Replace inverse aws instance-state-name filters !terminated, !shutting-down in favor of postive filters pending, running, stopping, stopped. Issue 235. (https://github.com/ansible-collections/amazon.aws/pull/237) 
- aws_secret - add - bypathfunctionality (https://github.com/ansible-collections/amazon.aws/pull/192).
- ec2_key - add AWSRetry decorator to automatically retry on common temporary failures (https://github.com/ansible-collections/amazon.aws/pull/213). 
- ec2_vol - Add support for gp3 volumes and support for modifying existing volumes (https://github.com/ansible-collections/amazon.aws/issues/55). 
- module_utils/elbv2 - add logic to compare_rules to suit Values list nested within dicts unique to each field type. Fixes issue (https://github.com/ansible-collections/amazon.aws/issues/187) 
- various AWS plugins and module_utils - Cleanup unused imports (https://github.com/ansible-collections/amazon.aws/pull/217). 
Bugfixes
- ec2_vol - a creation or update now returns a structure with an up to date list of tags (https://github.com/ansible-collections/amazon.aws/pull/241). 
v1.3.0
Minor Changes
- aws_caller_info - add AWSRetry decorator to automatically retry on common temporary failures (https://github.com/ansible-collections/amazon.aws/pull/208) 
- aws_s3 - Add support for uploading templated content (https://github.com/ansible-collections/amazon.aws/pull/20). 
- aws_secret - add - on_missingand- on_deniedoption (https://github.com/ansible-collections/amazon.aws/pull/122).
- ec2_ami - Add retries for ratelimiting related errors (https://github.com/ansible-collections/amazon.aws/pull/195). 
- ec2_ami - fixed and streamlined - max_attemptslogic when waiting for AMI creation to finish (https://github.com/ansible-collections/amazon.aws/pull/194).
- ec2_ami - increased default - wait_timeoutto 1200 seconds (https://github.com/ansible-collections/amazon.aws/pull/194).
- ec2_ami_info - Add retries for ratelimiting related errors (https://github.com/ansible-collections/amazon.aws/pull/195). 
- ec2_eni - Improve reliability of the module by adding waiters and performing lookups by ENI ID rather than repeated searches (https://github.com/ansible-collections/amazon.aws/pull/180). 
- ec2_eni_info - Improve reliability of the module by adding waiters and performing lookups by ENI ID rather than repeated searches (https://github.com/ansible-collections/amazon.aws/pull/180). 
- ec2_group - add AWSRetry decorator to automatically retry on common temporary failures (https://github.com/ansible-collections/amazon.aws/pull/207) 
- ec2_group_info - add AWSRetry decorator to automatically retry on common temporary failures (https://github.com/ansible-collections/amazon.aws/pull/207) 
- ec2_snapshot_info - add AWSRetry decorator to automatically retry on common temporary failures (https://github.com/ansible-collections/amazon.aws/pull/208) 
- ec2_vol - Add automatic retries on AWS rate limit errors (https://github.com/ansible-collections/amazon.aws/pull/199). 
- ec2_vol - ported ec2_vol to use boto3 (https://github.com/ansible-collections/amazon.aws/pull/53). 
- ec2_vpc_dhcp_option_info - add AWSRetry decorator to automatically retry on common temporary failures (https://github.com/ansible-collections/amazon.aws/pull/208) 
- module_utils/core - add helper function - scrub_none_parametersto remove params set to- None(https://github.com/ansible-collections/community.aws/issues/251).
- module_utils/waiters - Add retries to our waiters for the same failure codes that we retry with AWSRetry (https://github.com/ansible-collections/amazon.aws/pull/185) 
- s3_bucket - Add support for managing the - public_accesssettings (https://github.com/ansible-collections/amazon.aws/pull/171).
Bugfixes
- ec2 - Code fix so module can create ec2 instances with - ec2_volume_iopsoption (https://github.com/ansible-collections/amazon.aws/pull/177).
- ec2 - ignore terminated instances and instances that are shutting down when starting and stopping (https://github.com/ansible-collections/amazon.aws/issues/146). 
- ec2_group - Fixes error handling during tagging failures (https://github.com/ansible-collections/amazon.aws/issues/210). 
- ec2_group_info - Code fix so module works with Python 3.8 (make dict immutable in loop) (https://github.com/ansible-collections/amazon.aws/pull/181) 
v1.2.1
Minor Changes
- ec2_eni - Add support for tagging. 
- ec2_eni - Port ec2_eni module to boto3 and add an integration test suite. 
- ec2_eni_info - Add retries on transient AWS failures. 
- ec2_eni_info - Add support for providing an ENI ID. 
v1.2.0
Minor Changes
- ec2 module_utils - Update - ec2_connect(boto2) behaviour so that- ec2_urloverrides- region.
- module_utils.core - Support passing arbitrary extra keys to fail_json_aws, matching capabilities of fail_json. 
Deprecated Features
- All AWS Modules - - aws_access_key,- aws_secret_keyand- security_tokenwill be made mutually exclusive with- profileafter 2022-06-01.
Bugfixes
- ec2 module_utils - Ensure boto3 verify parameter isn’t overridden by setting a profile (https://github.com/ansible-collections/amazon.aws/issues/129) 
- s3_bucket - Ceph compatibility: treat error code NoSuchTagSetError used by Ceph synonymously to NoSuchTagSet used by AWS 
v1.1.0
Major Changes
- ec2 module_utils - The - AWSRetrydecorator no longer catches- NotFoundexceptions by default.- NotFoundexceptions need to be explicitly added using- catch_extra_error_codes. Some AWS modules may see an increase in transient failures due to AWS’’s eventual consistency model.
Minor Changes
- Add - aws_security_token,- aws_endpoint_urland- endpoint_urlaliases to improve AWS module parameter naming consistency.
- Add support for - aws_ca_bundleto boto3 based AWS modules
- Add support for configuring boto3 profiles using - AWS_PROFILEand- AWS_DEFAULT_PROFILE
- Added check_mode support to aws_az_info 
- Added check_mode support to ec2_eni_info 
- Added check_mode support to ec2_snapshot_info 
- ansible_dict_to_boto3_filter_list - convert integers and bools to strings before using them in filters. 
- aws_direct_connect_virtual_interface - add direct_connect_gateway_id parameter. This field is only applicable in private VIF cases (public=False) and is mutually exclusive to virtual_gateway_id. 
- cloudformation - Return change_set_id in the cloudformation output if a change set was created. 
- ec2 - deprecate allowing both group and group_id - currently we ignore group_id if both are passed. 
- ec2_ami_info - allow integer and bool values for filtering images (https://github.com/ansible/ansible/issues/43570). 
- ec2_asg - Add support for Max Instance Lifetime 
- ec2_asg - Add the ability to use mixed_instance_policy in launch template driven autoscaling groups 
- ec2_asg - Migrated to AnsibleAWSModule 
- ec2_placement_group - make - namea required field.
- ec2_vol_info - Code cleanup and use of the AWSRetry decorator to improve stability 
- ec2_vpc_net - Enable IPv6 CIDR assignment 
Breaking Changes / Porting Guide
- aws_s3 - can now delete versioned buckets even when they are not empty - set mode to delete to delete a versioned bucket and everything in it. 
Deprecated Features
- cloudformation - The - template_formatoption had no effect since Ansible 2.3 and will be removed after 2022-06-01
- cloudformation - the - template_formatoption has been deprecated and will be removed in a later release. It has been ignored by the module since Ansible 2.3.
- data_pipeline - The - versionoption had no effect and will be removed in after 2022-06-01
- ec2 - in a later release, the - groupand- group_idoptions will become mutually exclusive. Currently- group_idis ignored if you pass both.
- ec2_ami - The - no_devicealias- NoDevicehas been deprecated and will be removed after 2022-06-01
- ec2_ami - The - virtual_namealias- VirtualNamehas been deprecated and will be removed after 2022-06-01
- ec2_eip - The - wait_timeoutoption had no effect and will be removed after 2022-06-01
- ec2_key - The - wait_timeoutoption had no effect and will be removed after 2022-06-01
- ec2_key - The - waitoption had no effect and will be removed after 2022-06-01
- ec2_key - the - wait_timeoutoption has been deprecated and will be removed in a later release. It has had no effect since Ansible 2.5.
- ec2_key - the - waitoption has been deprecated and will be removed in a later release. It has had no effect since Ansible 2.5.
- ec2_lc - The - associate_public_ip_addressoption had no effect and will be removed after 2022-06-01
- ec2_tag - deprecate the - listoption in favor of ec2_tag_info
- ec2_tag - support for - listas a state has been deprecated and will be removed in a later release. The- ec2_tag_infocan be used to fetch the tags on an EC2 resource.
Bugfixes
- aws_ec2 - fix idempotency when managing tags 
- aws_ec2 - fix idempotency when metrics are enable 
- aws_s3 - Delete objects and delete markers so versioned buckets can be removed. 
- aws_s3 - Try to wait for the bucket to exist before setting the access control list. 
- cloudformation_info - Fix a KeyError returning information about the stack(s). 
- ec2_asg - Ensure - waitis honored during replace operations
- ec2_launch_template - Update output to include latest_version and default_version, matching the documentation 
- ec2_transit_gateway - Use AWSRetry before ClientError is handled when describing transit gateways 
- ec2_transit_gateway - fixed issue where auto_attach set to yes was not being honored (https://github.com/ansible/ansible/issues/61907) 
- ec2_vol - fix filtering bug 
- s3_bucket - Accept XNotImplemented response to support NetApp StorageGRID. 
