Skip to content

amazon.aws 6.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 10 Aug 11:50
· 479 commits to main since this release
d72b87f

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

  • The amazon.aws collection has dropped support for botocore<1.25.0 and 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 (ansible-collections#1342).
  • amazon.aws - compatibility code for Python < 3.6 has been removed (ansible-collections#1257).
  • ec2_eip - the previously deprecated instance_id alias for the device_id parameter has been removed. Please use the device_id parameter name instead (ansible-collections#1176).
  • ec2_instance - the default value for instance_type has been removed. At least one of instance_type or launch_template must be specified when launching new instances (ansible-collections#1315).
  • ec2_vpc_dhcp_options - the new_options return value has been deprecated after being renamed to dhcp_config. Please use the dhcp_config or dhcp_options return values (ansible-collections#1327).
  • ec2_vpc_endpoint - the policy_file parameter has been removed. I(policy) with a file lookup can be used instead (ansible-collections#1178).
  • ec2_vpc_net - the classic_link_enabled return value has been removed. Support for EC2 Classic networking was dropped by AWS (ansible-collections#1374).
  • ec2_vpc_net_info - the classic_link_dns_status return value has been removed. Support for EC2 Classic networking was dropped by AWS (ansible-collections#1374).
  • ec2_vpc_net_info - the classic_link_enabled return value has been removed. Support for EC2 Classic networking was dropped by AWS (ansible-collections#1374).
  • module_utils.cloud - the previously deprecated CloudRetry.backoff has been removed. Please use CloudRetry.exponential_backoff or CloudRetry.jittered_backoff instead (ansible-collections#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 (ansible-collections#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. (ansible-collections#1342).
  • amazon.aws lookup plugins - the boto3_profile alias for the profile option has been deprecated, please use profile instead (ansible-collections#1225).
  • docs_fragments - amazon.aws.aws_credentials docs fragment has been deprecated please use amazon.aws.common.plugins instead (ansible-collections#1248).
  • docs_fragments - amazon.aws.aws_region docs fragment has been deprecated please use amazon.aws.region.plugins instead (ansible-collections#1248).
  • docs_fragments - amazon.aws.aws docs fragment has been deprecated please use amazon.aws.common.modules instead (ansible-collections#1248).
  • docs_fragments - amazon.aws.ec2 docs fragment has been deprecated please use amazon.aws.region.modules instead (ansible-collections#1248).
  • module_utils.policy - ansible_collections.amazon.aws.module_utils.policy.sort_json_policy_dict has been deprecated consider using ansible_collections.amazon.aws.module_utils.poilcies.compare_policies instead (ansible-collections#1136).
  • s3_object - Support for passing dualstack and endpoint_url at the same time has been deprecated, the dualstack parameter is ignored when endpoint_url is passed. Support will be removed in a release after 2024-12-01 (ansible-collections#1305).
  • s3_object - Support for passing values of overwrite other than always, never, different or last last has been deprecated. Boolean values should be replaced by the strings always or never Support will be removed in a release after 2024-12-01 (ansible-collections#1305).
  • s3_object_info - Support for passing dualstack and endpoint_url at the same time has been deprecated, the dualstack parameter is ignored when endpoint_url is passed. Support will be removed in a release after 2024-12-01 (ansible-collections#1305).

Removed Features (previously deprecated)

  • ec2_vpc_endpoint_info - support for the query parameter was removed. The amazon.aws.ec2_vpc_endpoint_info module now only queries for endpoints. Services can be queried using the amazon.aws.ec2_vpc_endpoint_service_info module (ansible-collections#1308).
  • s3_object - support for creating and deleting buckets using the s3_object module has been removed. S3 buckets can be created and deleted using the amazon.aws.s3_bucket module (ansible-collections#1112).

Bugfixes

  • ec2_security_group - file included unreachable code. Fix now removes unreachable code by removing an inapproproate logic (ansible-collections#1348).
  • ec2_vpc_dhcp_option - retry describe_dhcp_options after creation when InvalidDhcpOptionID.NotFound is raised (ansible-collections#1320).
  • lambda_execute - Fix waiter error when function_arn is passed instead of name(ansible-collections#1268).
  • module_utils - fixes TypeError: deciding_wrapper() got multiple values for argument 'aws_retry' when passing positional arguments to functions wrapped by AnsibleAWSModule.client (ansible-collections#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. (ansible-collections#1169).
  • route53_health_check - Fix Name tag key removal idempotentcy issue when creating health_check with use_unique_names and tags set (ansible-collections#1253).
  • s3_bucket - Handle setting of permissions while acl is disabled.(ansible-collections#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