Repository URL to install this package:
Version:
6.0.0 ▾
|
ancestor: null
releases:
1.1.0:
changes:
breaking_changes:
- 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.
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.
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.
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
fragments:
- 107_info_check_mode.yml
- 108-ec2_vol-deprecate-list.yml
- 27800-ec2_vpc_net-ipv6-support.yml
- 28-ec2_ami_info_int_bool_filter.yml
- 52_direct_connect_gateway_id.yml
- 54435_aws_s3_fix_removing_versioned_buckets.yaml
- 61279-ec2_launch_template-output.yml
- 61284-ec2_asg-idempotency.yml
- 61735-wait-for-s3-bucket-to-exist-before-modifying.yaml
- 61933-ec2_transit_gateway-honor-auto_attach-setting.yaml
- 62290-fix-cloudformation_info-KeyError.yaml
- 63752-cloudformation-return-changeset-id.yaml
- 64230-deprecate-unused.yml
- 64368-deprecate-unused.yml
- 65555-amazon-sanity-required.yml
- 65960-ec2_vol-filtering-bugfix.yml
- 66840-ec2_tag-deprecate-list.yaml
- 66863-ec2_asg-max_instance_lifetime-and-honor-wait-on-replace.yaml
- 66966-ec2-group-and-group_id.yml
- 66979-ec2_vol_info-ansibleawsmodule.yaml
- 67045-ec2_asg_mixed_instance_policy.yml
- 67247-fix-ec2_transit_gateway-retries.yaml
- 67462-s3_bucket-accept-storagegrid-response.yaml
- 93-deprecate-accidental.yml
- 99-awsmodule.yml
- porting-guide.yml
release_date: '2020-08-13'
1.2.0:
changes:
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'
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.
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.
fragments:
- 121-ec2_url-resolution-order.yaml
- 129-verify_overridden.yml
- 140-fail_json_aws_keys.yml
- 151-deprecate-profile-credential-combination.yml
- 71484-ceph-tag-set-compat.yaml
release_date: '2020-08-28'
1.2.1:
changes:
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.
fragments:
- 141-ec2_eni-boto3.yml
release_date: '2020-10-07'
1.3.0:
changes:
bugfixes:
- ec2 - Code fix so module can create ec2 instances with ``ec2_volume_iops``
option (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)
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_missing" and "on_denied" option (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_attempts`` logic when waiting for AMI
creation to finish (https://github.com/ansible-collections/amazon.aws/pull/194).
- ec2_ami - increased default ``wait_timeout`` to 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_parameters`` to 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_access`` settings (https://github.com/ansible-collections/amazon.aws/pull/171).
fragments:
- 122-aws_secret-add-on_missing-and-on_denied-option.yml
- 171-s3_bucket-public_access.yml
- 177-fix-ec2-volume-creation-issue-with-iops.yaml
- 180-ec2_eni-stabilisation.yml
- 181-ec2-group-info-python-fix.yaml
- 184-scrub-none-params.yaml
- 185-waiter-retry-failures.yml
- 194-ec2-ami-max-attempts.yaml
- 195-ec2_ami-retries.yml
- 197-ignore-terminated-instances.yaml
- 199-ec2_vol-retries.yml
- 20-aws_s3-content.yml
- 207-ec2_group-retries.yml
- 208-info-retries.yaml
- 211-fix-error-handling-during-tagging-failure.yaml
- 53-ec2_vol-boto3-port.yml
release_date: '2020-12-10'
1.4.0:
changes:
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).
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 ``bypath`` functionality (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).
fragments:
- 188-httprequestmethodconfig-keyerror.yaml
- 192-aws_secret-bypath-option.yaml
- 213-ec2_key-retries.yml
- 215-gp3-and-change-support-for-ec2_vol.yaml
- 217-duplicate-imports.yml
- 226_avoid_extra_Display_import.yaml
- 237_replace_inverse_ec2_aws_filter.yaml
- 241_ec2_vol-returns-an-up-to-date-tag-dict-of-the-volume.yaml
- 25-aws_ec2-hostname-options-concatenation.yaml
release_date: '2021-02-05'
1.4.1:
changes:
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)-
fragments:
- 273-vendor-ipaddress-utility.yml
release_date: '2021-03-05'
1.5.0:
changes:
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).
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_keys``
to reproduce a behavior of the old ``ec2.py`` inventory script. With this
option enabled, each tag is exposed using a ``ec2_tag_TAGNAME`` key (https://github.com/ansible-collections/amazon.aws/pull/331).
- aws_ec2 inventory - expose to new keys called ``include_filters`` and ``exclude_filters``
to 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_results`` along with ``next_token_id`` option
(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_tags`` option (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_lists`` to ``scrub_none_parameters``
helper 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).
fragments:
- 155-support-for-StackPolicyDuringUpdateBody.yaml
- 241_ec2_vol-add_purge_tags_parameter.yaml
- 242_ec2_vol-preset-the-name-tag-of-the-volume.yaml
- 261-scrub-params-descend-into-lists.yml
- 270-vpc-waiters.yaml
- 271-normalize_boto3_result.yml
- 288-has_boto3.yml
- 291-lint-cleanup.yml
- 295-aws_account_attribute-awsretry.yml
- 305-ec2_vol-no-platform.yml
- 309-ec2_tags.yml
- 321-ec2_snapshot_info-add_max_results_and_next_token_parameters.yaml
- 328_aws_ec2_inventory_includes_entries_matching.yaml
- 331_aws_ec2_inventory_use_contrib_script_compatible_ec2_tag_keys.yaml
- 43-ec2_metadata_facts-IMDSv2.yml
- 57-aws_ec2-support-for-templates.yml
- ignore_212.yml
release_date: '2021-04-27'
2.0.0:
changes:
breaking_changes:
- 'ec2_instance - instance wait for state behaviour has changed. If plays require
the old behavior of waiting for the instance monitoring status to become ``OK``
when 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_set`` is 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_tags`` option 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_parameters`` function so that
``descend_into_lists`` is set to ``True`` by default (https://github.com/ansible-collections/amazon.aws/pull/297).
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_instance`` was waiting on EC2 instance monitoring status
to be ``OK`` when 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 ``changed`` status when ``modify_volume`` is 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_filters`` won't be ignored anymore if ``filters`` is
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 ``NotImplemented`` exceptions when fetching
encryption settings (https://github.com/ansible-collections/amazon.aws/issues/390).
deprecated_features:
- ec2 - the boto based ``ec2`` module has been deprecated in favour of the boto3
based ``ec2_instance`` module. The ``ec2`` module will be removed in release
4.0.0 (https://github.com/ansible-collections/amazon.aws/pull/424).
- ec2_vpc_dhcp_option - The ``new_config`` return 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)
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 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/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:
- aws_ec2 - use a generator rather than list comprehension (https://github.com/ansible-collections/amazon.aws/pull/465).
- aws_s3 - Tests for compatability with older versions of the AWS SDKs have
been removed (https://github.com/ansible-collections/amazon.aws/pull/442).
- aws_s3 - Tests for compatability with older versions of the AWS SDKs have
been removed (https://github.com/ansible-collections/amazon.aws/pull/442).
- aws_s3 - add ``tags`` and ``purge_tags`` features 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_missing" and "on_denied" option (https://github.com/ansible-collections/amazon.aws/pull/370).
- cloudformation - Tests for compatability with older versions of the AWS SDKs
have been removed (https://github.com/ansible-collections/amazon.aws/pull/442).
- cloudformation - Tests for compatability 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_groups`` attribute 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 compatability with older versions of the AWS SDKs have
been removed (https://github.com/ansible-collections/amazon.aws/pull/442).
- ec2_group - Tests for compatability 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 compatability with older versions of the AWS SDKs
have been removed (https://github.com/ansible-collections/amazon.aws/pull/442).
- ec2_instance - Tests for compatability with older versions of the AWS SDKs
have been removed (https://github.com/ansible-collections/amazon.aws/pull/442).
- ec2_instance - add ``throughput`` parameter 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 compatability with older versions of the AWS
SDKs have been removed (https://github.com/ansible-collections/amazon.aws/pull/442).
- ec2_instance_info - Tests for compatability 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_attach`` to 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 ``throughput`` parameter (https://github.com/ansible-collections/amazon.aws/pull/346).
- ec2_vpc_dhcp_option - Now also returns a boto3-style resource description
in the ``dhcp_options`` result key. This includes any tags for the ``dhcp_options_id``
and 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_config``
key that matches the historical ``new_config`` key 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 compatability with older versions of the AWS SDKs
have been removed (https://github.com/ansible-collections/amazon.aws/pull/442).
- ec2_vpc_subnet - Tests for compatability 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_available`` waiter (https://github.com/ansible-collections/amazon.aws/pull/464).
- module_utils/waiter - add RDS cluster ``cluster_deleted`` waiter (https://github.com/ansible-collections/amazon.aws/pull/464).
- module_utils/waiter - add Route53 ``resource_record_sets_changed`` waiter
(https://github.com/ansible-collections/amazon.aws/pull/350).
- s3_bucket - Tests for compatability with older versions of the AWS SDKs have
been removed (https://github.com/ansible-collections/amazon.aws/pull/442).
- s3_bucket - Tests for compatability 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_ownership`` to 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).
fragments:
- 252_boto3_refactor_ec2_vpc_dhcp_option.yaml
- 290-lint-cleanup.yml
- 297-scrub_none_parameters-descend-default.yml
- 298-python3.6.yml
- 311-s3_bucket-allow-object-ownership-configuration.yaml
- 318-s3-upload-acl.yml
- 334-ec2_vol-iops-and-throughput-issues.yaml
- 335-aws_s3-tagging-object-feature.yaml
- 337-ec2_eni-fix-idempotency-security-groups.yml
- 346-ec2_vol-boto3-requirements.yml
- 350-route53-waiter.yml
- 356-ec2_snapshot-boto3-migration.yml
- 357-s3_bucket-use-head.yml
- 359-aws_s3-add-copy-mode.yml
- 361-drop-community.general-support-for-integration.tests.yml
- 362-ec2_vol-add-multi-attach-parameter.yml
- 370-aws_ssm-add-on_missing-and-on_denied-option.yml
- 383_ec2_snapshot_tags.yml
- 386_ec2_ami_no_device.yml
- 391-s3_bucket-enc_notimplemented.yml
- 414-ec2_instance-support-controlling-metadata-options.yml
- 424-deprecate-ec2.yml
- 433-ec2_instance-throughput.yml
- 437-ec2_ami-propagate-tags-to-snapshot.yml
- 442-boto3-minimums.yml
- 442-boto3-minimums.yml
- 455-lookup_aws_secret-deleted.yml
- 460-pylint.yml
- 461-ipaddress.yml
- 464-rds_cluster-waiter.yml
- 465-pylint.yml
- 481-ec2_instance-wait_sanity.yml
- 483-ec2_vol_fix_returned_changed_var.yml
- 487-ec2_spot_instance_info-add-new-module.yml
- 501-ec2_eni-timeout.yml
- include_filters_with_filter.yaml
- migrate_ec2_instance.yml
- migrate_ec2_vpc_endpoint.yml
- migrate_ec2_vpc_igw.yml
- migrate_ec2_vpc_nat_gateway.yml
- migrate_ec2_vpc_route_table.yml
modules:
- description: request, stop, reboot or cancel spot instance
name: ec2_spot_instance
namespace: ''
- description: Gather information about ec2 spot instance requests
name: ec2_spot_instance_info
namespace: ''
release_date: '2021-09-03'
2.1.0:
changes:
bugfixes:
- AWS action group - added missing ``ec2_instance_facts`` entry (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).
deprecated_features:
- ec2_classic_lb - setting of the ``ec2_elb`` fact has been deprecated and will
be removed in release 4.0.0 of the collection. The module now returns ``elb``
which can be accessed using the register keyword (https://github.com/ansible-collections/amazon.aws/pull/552).
minor_changes:
- aws_service_ip_ranges - add new option ``ipv6_prefixes`` to 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_groups`` parameter 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_subnets`` parameter 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).
fragments:
- 377-ec2_elb_lb-boto3.yml
- 430-add_support_for_ipv6_addresses.yml
- 507-fix_cloudformation_changeset_detection.yml
- 508-s3_bucket-digital_ocean.yml
- 509-ec2_vol_add_check_mode_support.yml
- 512-ec2_snapshot_add_check_mode_support.yml.yml
- 516-ec2_ami_add_check_mode_support.yml
- 520-ec2_ami-tagging.yml
- 522-ec2_eni-tagging.yml
- 523-ec2_vpc_igw-tagging.yml
- 524-ec2_vpc_nat_gateway-tagging.yml
- 525-ec2_vpc_endpoint-tagging.yml
- 526-ec2_instance_search_tags.yml
- 527-ec2_instance-tagging.yml
- 531-use_tags_handlers.yml
- 534-ec2_eni_add_check_mode_support.yml
- 544-vpc-endpoint-add-subnets-sg-option.yml
- 548-ec2_key-tagging.yml
- 551-ec2_ami-tag-on-create.yml
- 552-elb_classic_lb-fact.yml
- 557-action_group-missing-entry.yml
release_date: '2021-11-11'
3.0.0:
changes:
breaking_changes:
- 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).
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 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/574).
minor_changes:
- ec2_instance - add count parameter support (https://github.com/ansible-collections/amazon.aws/pull/539).
fragments:
- 539-ec2_instance_add_count_param.yml
- 574-botocore-1-19-0.yml
- 575-deprecate-boto.yml
- remove_deprecated_facts.yml
release_date: '2021-12-06'
3.1.0:
changes:
bugfixes:
- Various modules and plugins - use vendored version of ``distutils.version``
instead 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).
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).
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_name`` option, to control bucket name validation
(https://github.com/ansible-collections/amazon.aws/pull/615).
- aws_s3 - add latest choice on ``overwrite`` parameter 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_name`` option, to control bucket name validation
(https://github.com/ansible-collections/amazon.aws/pull/615).
fragments:
- 587-ec2_instance-default-instance-type-launch-template.yml
- 592-elb_classic_lb-handle-sg-ids-fix-tests.yml
- 593-aws_s3-fix-copy-when-missing-key.yml
- 595-aws_s3-add-latest-choice-on-overwrite-parameter.yml
- 597-ec2_vol-add-outpostarn-support.yml
- 601-ec2_vpc_route_table-ipv6-support.yml
- 603-ec2_vol-add-tags-on-creation.yml
- 606-ec2_vol-set-iops-even-if-unchanged-for-boto-req.yml
- 611-s3_bucket-add-support-for-acl.yml
- 614-ec2_key-add-support-for-ed25519-key-type.yml
- 615-s3-validate_bucket_name.yml
- 619-aws_ec2-aws_rds-add-support-for-hostvars_prefix-and-hostvars_suffix.yml
- 646-acm-resource-not-found.yml
- disutils.version.yml
release_date: '2022-02-10'
3.1.1:
changes:
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.
fragments:
- bump_release_version.yml
release_date: '2022-02-15'
3.2.0:
changes:
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).
minor_changes:
- aws_secret - add pagination for ``bypath`` functionality (https://github.com/ansible-collections/amazon.aws/pull/591).
- ec2_instance - Fix scope of deprecation warning to not show warning when ``state``
in ``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).
fragments:
- 591-aws_secrets-handle-pagination.yml
- 619-inventory-aws_ec2-assume-arn-role-when-listing-regions.yml
- 626-ec2_vol-iops-when-source-does-not-have-iops.yml
- 631-ec2_vpc_net-check_mode.yml
- 690-ec2_vpc_route_table-associate-igw.yml
- 691-ec2_vpc_igw-fix-null-igw-error.yml
- 694-s3_bucket-owner_enforcement.yml
- 695-ec2_vpc_igw-fix-nonetype-with-paginator.yml
- 696-elbv2-support-alb-attributes.yml
- 719-ec2_instance-fix-deprecation-warning-scope.yml
release_date: '2022-04-05'