amazon.aws Release Notes

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

Bugfixes

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

Deprecated Features

Bugfixes

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

Bugfixes

v7.2.0

Release Summary

This release includes new features and a bugfix.

Minor Changes

Bugfixes

v7.1.0

Release Summary

This release brings some new features and several bugfixes.

Minor Changes

Bugfixes

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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.sts_assume_role.

Minor Changes

Breaking Changes / Porting Guide

Deprecated Features

Bugfixes

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

Bugfixes

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

Bugfixes

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

Bugfixes

v6.2.0

Release Summary

This release brings some new modules, features, and several bugfixes.

Minor Changes

Bugfixes

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

Deprecated Features

Bugfixes

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

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

Breaking Changes / Porting Guide

Deprecated Features

Removed Features (previously deprecated)

Bugfixes

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

v5.5.2

Bugfixes

v5.5.1

Release Summary

This release brings few bugfixes.

Bugfixes

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

Bugfixes

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

Bugfixes

v5.3.0

Release Summary

This release brings some minor changes, bugfixes, and deprecated features.

Minor Changes

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

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

Bugfixes

v5.1.0

Release Summary

This release brings some minor changes, bugfixes, security fixes and deprecated features.

Minor Changes

Deprecated Features

Security Fixes

Bugfixes

v5.0.2

Bugfixes

v5.0.1

Bugfixes

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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.route53_zone.

Minor Changes

Breaking Changes / Porting Guide

Deprecated Features

Bugfixes

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

Bugfixes

v4.4.0

Release Summary

The amazon.aws 4.4.0 release includes a number of security and minor bug fixes.

Minor Changes

Security Fixes

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

Bugfixes

v4.2.0

Minor Changes

Deprecated Features

v4.1.0

Minor Changes

Deprecated Features

Bugfixes

v4.0.0

Major Changes

  • amazon.aws collection - The amazon.aws collection has dropped support for botocore<1.20.0 and 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

Breaking Changes / Porting Guide

Deprecated Features

Removed Features (previously deprecated)

Bugfixes

v3.5.1

Release Summary

3.5.1 is a security bugfix release.

Minor Changes

Security Fixes

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

Bugfixes

v3.4.0

Minor Changes

Bugfixes

v3.3.1

Release Summary

Various minor documentation fixes.

v3.3.0

Minor Changes

Bugfixes

v3.2.0

Minor Changes

Bugfixes

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

Deprecated Features

Bugfixes

v3.0.0

Major Changes

  • amazon.aws collection - The amazon.aws collection has dropped support for botocore<1.19.0 and 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

Breaking Changes / Porting Guide

  • aws_caller_facts - Remove deprecated aws_caller_facts alias. Please use aws_caller_info instead.

  • cloudformation_facts - Remove deprecated cloudformation_facts alias. Please use cloudformation_info instead.

  • ec2_ami_facts - Remove deprecated ec2_ami_facts alias. Please use ec2_ami_info instead.

  • ec2_eni_facts - Remove deprecated ec2_eni_facts alias. Please use ec2_eni_info instead.

  • ec2_group_facts - Remove deprecated ec2_group_facts alias. Please use ec2_group_info instead.

  • ec2_instance_facts - Remove deprecated ec2_instance_facts alias. Please use ec2_instance_info instead.

  • ec2_snapshot_facts - Remove deprecated ec2_snapshot_facts alias. Please use ec2_snapshot_info instead.

  • ec2_vol_facts - Remove deprecated ec2_vol_facts alias. Please use ec2_vol_info instead.

  • ec2_vpc_dhcp_option_facts - Remove deprecated ec2_vpc_dhcp_option_facts alias. Please use ec2_vpc_dhcp_option_info instead.

  • ec2_vpc_endpoint_facts - Remove deprecated ec2_vpc_endpoint_facts alias. Please use ec2_vpc_endpoint_info instead.

  • ec2_vpc_igw_facts - Remove deprecated ec2_vpc_igw_facts alias. Please use ec2_vpc_igw_info instead.

  • ec2_vpc_nat_gateway_facts - Remove deprecated ec2_vpc_nat_gateway_facts alias. Please use ec2_vpc_nat_gateway_info instead.

  • ec2_vpc_net_facts - Remove deprecated ec2_vpc_net_facts alias. Please use ec2_vpc_net_info instead.

  • ec2_vpc_route_table_facts - Remove deprecated ec2_vpc_route_table_facts alias. Please use ec2_vpc_route_table_info instead.

  • ec2_vpc_subnet_facts - Remove deprecated ec2_vpc_subnet_facts alias. Please use ec2_vpc_subnet_info instead.

Deprecated Features

  • module_utils - support for the original AWS SDK boto has been deprecated in favour of the boto3/botocore SDK. All boto based 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 boto library will need to be migrated to the boto3/botocore libraries (https://github.com/ansible-collections/amazon.aws/pull/575).

v2.3.0

Bugfixes

v2.2.0

Minor Changes

Bugfixes

v2.1.0

Minor Changes

Deprecated Features

Bugfixes

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.0 and 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. 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.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_route_table_info.

Minor Changes

Breaking Changes / Porting Guide

Deprecated Features

Bugfixes

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

Bugfixes

v1.5.0

Minor Changes

Bugfixes

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

Bugfixes

v1.3.0

Minor Changes

Bugfixes

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_url overrides 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_key and security_token will be made mutually exclusive with profile after 2022-06-01.

Bugfixes

v1.1.0

Major Changes

  • ec2 module_utils - The AWSRetry decorator no longer catches NotFound exceptions by default. NotFound exceptions 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_url and endpoint_url aliases to improve AWS module parameter naming consistency.

  • Add support for aws_ca_bundle to boto3 based AWS modules

  • Add support for configuring boto3 profiles using AWS_PROFILE and 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 name a 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_format option had no effect since Ansible 2.3 and will be removed after 2022-06-01

  • cloudformation - the template_format option 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 version option had no effect and will be removed in after 2022-06-01

  • ec2 - in a later release, the group and group_id options will become mutually exclusive. Currently group_id is ignored if you pass both.

  • ec2_ami - The no_device alias NoDevice has been deprecated and will be removed after 2022-06-01

  • ec2_ami - The virtual_name alias VirtualName has been deprecated and will be removed after 2022-06-01

  • ec2_eip - The wait_timeout option had no effect and will be removed after 2022-06-01

  • ec2_key - The wait_timeout option had no effect and will be removed after 2022-06-01

  • ec2_key - The wait option had no effect and will be removed after 2022-06-01

  • ec2_key - the wait_timeout option has been deprecated and will be removed in a later release. It has had no effect since Ansible 2.5.

  • ec2_key - the wait option 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_address option had no effect and will be removed after 2022-06-01

  • ec2_tag - deprecate the list option in favor of ec2_tag_info

  • ec2_tag - support for list as a state has been deprecated and will be removed in a later release. The ec2_tag_info can 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 wait is 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.