diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5c4cd69383b..99c43f7fd65 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,67 @@ community.aws Release Notes .. contents:: Topics +v6.0.0 +====== + +Release Summary +--------------- + +This release brings some new plugins and features. Several bugfixes, breaking changes and deprecated features are also included. +The community.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 +------------- + +- The ``black`` code formatter has been run across the collection to improve code consistency (https://github.com/ansible-collections/community.aws/pull/1784). +- aws_config_delivery_channel - add support for encrypted objects in S3 via KMS key (https://github.com/ansible-collections/community.aws/pull/1786). +- aws_ssm - Updated the documentation to explicitly mention that the ``ansible_user`` and ``remote_user`` variables are not supported by the plugin (https://github.com/ansible-collections/community.aws/pull/1682). +- bulk migration of ``%`` and ``.format()`` to fstrings (https://github.com/ansible-collections/community.aws/pull/1810). +- cloudfront_distribution - add ``http3`` support via parameter value ``http2and3`` for parameter ``http_version`` (https://github.com/ansible-collections/community.aws/pull/1753). +- cloudfront_distribution - add ``origin_shield`` options (https://github.com/ansible-collections/community.aws/pull/1557). +- cloudfront_distribution - documented ``connection_attempts`` and ``connection_timeout`` the module was already capable of using them +- community.aws - updated document fragments based on changes in amazon.aws (https://github.com/ansible-collections/community.aws/pull/1738). +- community.aws - updated imports based on changes in amazon.aws (https://github.com/ansible-collections/community.aws/pull/1738). +- ecs_ecr - use ``compare_policies`` when comparing lifecycle policies instead of naive ``sort_json_policy_dict`` comparisons (https://github.com/ansible-collections/community.aws/pull/1551). +- elasticache - Use the ``cache.t3.small`` node type in the example. ``cache.m1.small`` is not deprecated. +- minor code fixes and enable integration tests for modules cloudfront_distribution, cloudfront_invalidation and cloudfront_origin_access_identity (https://github.com/ansible-collections/community.aws/pull/1596). +- module_utils.botocore - Add Ansible AWS User-Agent identification (https://github.com/ansible-collections/community.aws/pull/1632). +- wafv2_rule_group_info - remove unused and deprecated ``state`` parameter (https://github.com/ansible-collections/community.aws/pull/1555). + +Breaking Changes / Porting Guide +-------------------------------- + +- The community.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 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/community.aws/pull/1743). +- aws_ssm - the AWS SSM plugin was incorrectly prepending ``sudo`` to most commands. This behaviour was incorrect and has been removed. To execute commands as a specific user, including the ``root`` user, the ``become`` and ``become_user`` directives should be used. See the `Ansible documentation for more information `_ (https://github.com/ansible-collections/community.aws/issues/853). +- codebuild_project - ``tags`` parameter now accepts a dict representing the tags, rather than the boto3 format (https://github.com/ansible-collections/community.aws/pull/1643). + +Deprecated Features +------------------- + +- community.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/community.aws/pull/1743). +- community.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/community.aws/pull/1743). + +Bugfixes +-------- + +- opensearch_info - Fix the name of the domain_name key in the example (https://github.com/ansible-collections/community.aws/pull/1811). +- ses_identity - fix clearing notification topic (https://github.com/ansible-collections/community.aws/issues/150). + +New Modules +----------- + +- ec2_carrier_gateway - Manage an AWS VPC Carrier gateway +- ec2_carrier_gateway_info - Gather information about carrier gateways in AWS +- lightsail_snapshot - Creates snapshots of AWS Lightsail instances +- mq_broker - MQ broker management +- mq_broker_config - Update Amazon MQ broker configuration +- mq_broker_info - Retrieve MQ Broker details +- mq_user - Manage users in existing Amazon MQ broker +- mq_user_info - List users of an Amazon MQ broker +- ssm_inventory_info - Get SSM inventory information for EC2 instance + v5.5.0 ====== @@ -156,7 +217,7 @@ Bugfixes -------- - aws_ssm - fixes S3 bucket region detection by ensuring boto client has correct credentials and exists in correct partition (https://github.com/ansible-collections/community.aws/pull/1428). -- ec2_snapshot_copy - including tags caused the erorr "Tag specification resource type must have a value". Fix sets the ResourceType to snapshot to resolve this issue (https://github.com/ansible-collections/community.aws/pull/1419). +- ec2_snapshot_copy - including tags caused the erorr ``Tag specification resource type must have a value``. Fix sets the ResourceType to snapshot to resolve this issue (https://github.com/ansible-collections/community.aws/pull/1419). - ecs_ecr - fix a ``RepositoryNotFound`` exception when trying to create repositories in check mode (https://github.com/ansible-collections/community.aws/pull/1550). - opensearch - Fix cluster creation when using advanced security options (https://github.com/ansible-collections/community.aws/pull/1613). @@ -321,7 +382,7 @@ Bugfixes - ec2_placement_group - Handle a potential race creation during the creation of a new Placement Group (https://github.com/ansible-collections/community.aws/pull/1477). - elb_network_lb - fixes bug where ``ip_address_type`` in return value was not updated (https://github.com/ansible-collections/community.aws/pull/1365). -- rds_cluster - fixes bug where specifiying an rds cluster parameter group raises a `KeyError` (https://github.com/ansible-collections/community.aws/pull/1417). +- rds_cluster - fixes bug where specifiying an rds cluster parameter group raises a ``KeyError`` (https://github.com/ansible-collections/community.aws/pull/1417). - s3_sync - fix etag generation when running in FIPS mode (https://github.com/ansible-collections/community.aws/issues/757). New Modules @@ -412,7 +473,7 @@ Bugfixes -------- - ec2_placement_group - Handle a potential race creation during the creation of a new Placement Group (https://github.com/ansible-collections/community.aws/pull/1477). -- rds_cluster - fixes bug where specifiying an rds cluster parameter group raises a `KeyError` (https://github.com/ansible-collections/community.aws/pull/1417). +- rds_cluster - fixes bug where specifiying an rds cluster parameter group raises a ``KeyError`` (https://github.com/ansible-collections/community.aws/pull/1417). v4.2.0 ====== @@ -470,7 +531,7 @@ Deprecated Features - community.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/community.aws/pull/1361). - iam_policy - the ``policies`` return value has been renamed ``policy_names`` and will be removed in a release after 2024-08-01, both values are currently returned (https://github.com/ansible-collections/community.aws/pull/1375). - lambda_info - The ``function`` return key returns a dictionary of dictionaries and has been deprecated. In a release after 2025-01-01, this key will be removed in favor of ``functions``, which returns a list of dictionaries (https://github.com/ansible-collections/community.aws/pull/1239). -- route53_info - The CamelCase return values for ``DelegationSets``, ``CheckerIpRanges``, and ``HealthCheck`` have been deprecated, in the future release you must use snake_case return values ``delegation_sets``, ``checker_ip_ranges``, and ``health_check`` instead respectively" (https://github.com/ansible-collections/community.aws/pull/1322). +- route53_info - The CamelCase return values for ``DelegationSets``, ``CheckerIpRanges``, and ``HealthCheck`` have been deprecated, in the future release you must use snake_case return values ``delegation_sets``, ``checker_ip_ranges``, and ``health_check`` instead respectively (https://github.com/ansible-collections/community.aws/pull/1322). Bugfixes -------- @@ -633,7 +694,7 @@ Removed Features (previously deprecated) ---------------------------------------- - aws_kms_info - the unused and deprecated ``keys_attr`` parameter has been removed (https://github.com/ansible-collections/amazon.aws/pull/1172). -- data_pipeline - the ``version`` option has always been ignored and has been removed (https://github.com/ansible-collections/community.aws/pull/1160" +- data_pipeline - the ``version`` option has always been ignored and has been removed (https://github.com/ansible-collections/community.aws/pull/1160 - ec2_eip - The ``wait_timeout`` option has been removed. It has always been ignored by the module (https://github.com/ansible-collections/community.aws/pull/1159). - ec2_lc - the ``associate_public_ip_address`` option has been removed. It has always been ignored by the module (https://github.com/ansible-collections/community.aws/pull/1158). - ec2_metric_alarm - support for using the ``<=``, ``<``, ``>`` and ``>=`` operators for comparison has been dropped. Please use ``LessThanOrEqualToThreshold``, ``LessThanThreshold``, ``GreaterThanThreshold`` or ``GreaterThanOrEqualToThreshold`` instead (https://github.com/ansible-collections/amazon.aws/pull/1164). @@ -734,7 +795,7 @@ Deprecated Features ------------------- - aws_codebuild - The ``tags`` parameter currently uses a non-standard format and has been deprecated. In release 6.0.0 this parameter will accept a simple key/value pair dictionary instead of the current list of dictionaries. It is recommended to migrate to using the resource_tags parameter which already accepts the simple dictionary format (https://github.com/ansible-collections/community.aws/pull/1221). -- route53_info - The CamelCase return values for ``HostedZones``, ``ResourceRecordSets``, and ``HealthChecks`` have been deprecated, in the future release you must use snake_case return values ``hosted_zones``, ``resource_record_sets``, and ``health_checks`` instead respectively". +- route53_info - The CamelCase return values for ``HostedZones``, ``ResourceRecordSets``, and ``HealthChecks`` have been deprecated, in the future release you must use snake_case return values ``hosted_zones``, ``resource_record_sets``, and ``health_checks`` instead respectively. Bugfixes -------- @@ -1619,7 +1680,7 @@ Bugfixes - cloudfront_distribution - Always add field_level_encryption_id to cache behaviour to match AWS requirements - cloudwatchlogs_log_group - Fix a KeyError when updating a log group that does not have a retention period (https://github.com/ansible/ansible/issues/47945) - cloudwatchlogs_log_group_info - remove limitation of max 50 results -- ec2_asg - Ensure "wait" is honored during replace operations +- 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) diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 5f6a1962ccb..a84d0d53e90 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -28,7 +28,7 @@ releases: - cloudwatchlogs_log_group - Fix a KeyError when updating a log group that does not have a retention period (https://github.com/ansible/ansible/issues/47945) - cloudwatchlogs_log_group_info - remove limitation of max 50 results - - ec2_asg - Ensure "wait" is honored during replace operations + - 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 @@ -1988,7 +1988,7 @@ releases: - route53_info - The CamelCase return values for ``HostedZones``, ``ResourceRecordSets``, and ``HealthChecks`` have been deprecated, in the future release you must use snake_case return values ``hosted_zones``, ``resource_record_sets``, and - ``health_checks`` instead respectively". + ``health_checks`` instead respectively. minor_changes: - aws_codebuild - add support for ``purge_tags`` parameter (https://github.com/ansible-collections/community.aws/pull/1221). - aws_codebuild - add the ``resource_tags`` parameter which takes the dictionary @@ -2328,7 +2328,7 @@ releases: - aws_kms_info - the unused and deprecated ``keys_attr`` parameter has been removed (https://github.com/ansible-collections/amazon.aws/pull/1172). - data_pipeline - the ``version`` option has always been ignored and has been - removed (https://github.com/ansible-collections/community.aws/pull/1160" + removed (https://github.com/ansible-collections/community.aws/pull/1160 - ec2_eip - The ``wait_timeout`` option has been removed. It has always been ignored by the module (https://github.com/ansible-collections/community.aws/pull/1159). - ec2_lc - the ``associate_public_ip_address`` option has been removed. It has @@ -2485,7 +2485,7 @@ releases: - route53_info - The CamelCase return values for ``DelegationSets``, ``CheckerIpRanges``, and ``HealthCheck`` have been deprecated, in the future release you must use snake_case return values ``delegation_sets``, ``checker_ip_ranges``, and ``health_check`` - instead respectively" (https://github.com/ansible-collections/community.aws/pull/1322). + instead respectively (https://github.com/ansible-collections/community.aws/pull/1322). minor_changes: - aws_glue_connection - added new ``raw_connection_parameters`` return key which doesn't snake case the connection parameters (https://github.com/ansible-collections/community.aws/pull/518). @@ -2596,7 +2596,7 @@ releases: - ec2_placement_group - Handle a potential race creation during the creation of a new Placement Group (https://github.com/ansible-collections/community.aws/pull/1477). - rds_cluster - fixes bug where specifiying an rds cluster parameter group raises - a `KeyError` (https://github.com/ansible-collections/community.aws/pull/1417). + a ``KeyError`` (https://github.com/ansible-collections/community.aws/pull/1417). minor_changes: - autoscaling_group_info - minor sanity test fixes (https://github.com/ansible-collections/community.aws/pull/1410). - cloudfront_distribution - minor sanity test fixes (https://github.com/ansible-collections/community.aws/pull/1410). @@ -2847,7 +2847,7 @@ releases: - elb_network_lb - fixes bug where ``ip_address_type`` in return value was not updated (https://github.com/ansible-collections/community.aws/pull/1365). - rds_cluster - fixes bug where specifiying an rds cluster parameter group raises - a `KeyError` (https://github.com/ansible-collections/community.aws/pull/1417). + a ``KeyError`` (https://github.com/ansible-collections/community.aws/pull/1417). - s3_sync - fix etag generation when running in FIPS mode (https://github.com/ansible-collections/community.aws/issues/757). deprecated_features: - community.aws collection - due to the AWS SDKs announcing the end of support @@ -3100,8 +3100,8 @@ releases: bugfixes: - aws_ssm - fixes S3 bucket region detection by ensuring boto client has correct credentials and exists in correct partition (https://github.com/ansible-collections/community.aws/pull/1428). - - ec2_snapshot_copy - including tags caused the erorr "Tag specification resource - type must have a value". Fix sets the ResourceType to snapshot to resolve + - ec2_snapshot_copy - including tags caused the erorr ``Tag specification resource + type must have a value``. Fix sets the ResourceType to snapshot to resolve this issue (https://github.com/ansible-collections/community.aws/pull/1419). - ecs_ecr - fix a ``RepositoryNotFound`` exception when trying to create repositories in check mode (https://github.com/ansible-collections/community.aws/pull/1550). @@ -3323,3 +3323,118 @@ releases: - elasticache_info-ignore-CacheClusterNotFound-when-reading-tags.yaml - release-notes.yml release_date: '2023-05-05' + 6.0.0: + changes: + breaking_changes: + - The community.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 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/community.aws/pull/1743). + - aws_ssm - the AWS SSM plugin was incorrectly prepending ``sudo`` to most commands. This + behaviour was incorrect and has been removed. To execute commands as a specific + user, including the ``root`` user, the ``become`` and ``become_user`` directives + should be used. See the `Ansible documentation for more information `_ + (https://github.com/ansible-collections/community.aws/issues/853). + - codebuild_project - ``tags`` parameter now accepts a dict representing the + tags, rather than the boto3 format (https://github.com/ansible-collections/community.aws/pull/1643). + bugfixes: + - opensearch_info - Fix the name of the domain_name key in the example (https://github.com/ansible-collections/community.aws/pull/1811). + - ses_identity - fix clearing notification topic (https://github.com/ansible-collections/community.aws/issues/150). + deprecated_features: + - community.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/community.aws/pull/1743). + - community.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/community.aws/pull/1743). + minor_changes: + - The ``black`` code formatter has been run across the collection to improve + code consistency (https://github.com/ansible-collections/community.aws/pull/1784). + - aws_config_delivery_channel - add support for encrypted objects in S3 via + KMS key (https://github.com/ansible-collections/community.aws/pull/1786). + - aws_ssm - Updated the documentation to explicitly mention that the ``ansible_user`` + and ``remote_user`` variables are not supported by the plugin (https://github.com/ansible-collections/community.aws/pull/1682). + - bulk migration of ``%`` and ``.format()`` to fstrings (https://github.com/ansible-collections/community.aws/pull/1810). + - cloudfront_distribution - add ``http3`` support via parameter value ``http2and3`` + for parameter ``http_version`` (https://github.com/ansible-collections/community.aws/pull/1753). + - cloudfront_distribution - add ``origin_shield`` options (https://github.com/ansible-collections/community.aws/pull/1557). + - cloudfront_distribution - documented ``connection_attempts`` and ``connection_timeout`` the module was already capable of using them + - community.aws - updated document fragments based on changes in amazon.aws + (https://github.com/ansible-collections/community.aws/pull/1738). + - community.aws - updated imports based on changes in amazon.aws (https://github.com/ansible-collections/community.aws/pull/1738). + - ecs_ecr - use ``compare_policies`` when comparing lifecycle policies instead + of naive ``sort_json_policy_dict`` comparisons (https://github.com/ansible-collections/community.aws/pull/1551). + - elasticache - Use the ``cache.t3.small`` node type in the example. ``cache.m1.small`` + is not deprecated. + - minor code fixes and enable integration tests for modules cloudfront_distribution, + cloudfront_invalidation and cloudfront_origin_access_identity (https://github.com/ansible-collections/community.aws/pull/1596). + - module_utils.botocore - Add Ansible AWS User-Agent identification (https://github.com/ansible-collections/community.aws/pull/1632). + - wafv2_rule_group_info - remove unused and deprecated ``state`` parameter (https://github.com/ansible-collections/community.aws/pull/1555). + release_summary: 'This release brings some new plugins and features. Several + bugfixes, breaking changes and deprecated features are also included. + + The community.aws collection has dropped support for ``botocore<1.25.0`` and + ``boto3<1.22.0``. + + Support for Python 3.6 has also been dropped. + + ' + fragments: + - 1435-connection-attempt-timeout.yml + - 1551-ecs_ecr-sort_json_policy.yml + - 1555-wafv2_rule_group_info.yml + - 1557-cloudfront-add-origin-shield.yml + - 1634-networkfirewall_rule_group-tests.yml + - 1643-codebuild_project.yml + - 1730-ses-identity-fix-clearing-notification-topic.yml + - 1738-headers.yml + - 1753-cloudfront-add-http3.yml + - 1784-black.yml + - 1798-aws_ssm-black.yml + - 20221103-autoscaling_scheduled_action.yml + - 20230307-blueprint.yml + - 20230423-update_readme_and_runtime.yml + - 20230424-config-delivery-channel.yml + - 6.0.0-release.yml + - 853-aws_ssm-sudo.yml + - ansible-user-agent-identification.yaml + - botocore-tests.yml + - cloudfront_integration_tests_activate.yaml + - elasticache-use-up-to-date-node-type-in-example.yaml + - fstring-1.yml + - integration_tests_max_duration_increase.yaml + - opensearch_info_example_key_name.yaml + - python37.yml + - release-6-botocore.yml + - version_added.yml + modules: + - description: Manage an AWS VPC Carrier gateway + name: ec2_carrier_gateway + namespace: '' + - description: Gather information about carrier gateways in AWS + name: ec2_carrier_gateway_info + namespace: '' + - description: Creates snapshots of AWS Lightsail instances + name: lightsail_snapshot + namespace: '' + - description: MQ broker management + name: mq_broker + namespace: '' + - description: Update Amazon MQ broker configuration + name: mq_broker_config + namespace: '' + - description: Retrieve MQ Broker details + name: mq_broker_info + namespace: '' + - description: Manage users in existing Amazon MQ broker + name: mq_user + namespace: '' + - description: List users of an Amazon MQ broker + name: mq_user_info + namespace: '' + - description: Get SSM inventory information for EC2 instance + name: ssm_inventory_info + namespace: '' + release_date: '2023-05-10' diff --git a/changelogs/fragments/1435-connection-attempt-timeout.yml b/changelogs/fragments/1435-connection-attempt-timeout.yml deleted file mode 100644 index d995590f416..00000000000 --- a/changelogs/fragments/1435-connection-attempt-timeout.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- cloudfront_distribution - documented `connection_attempts` and `connection_timeout` - the module was already capable of using them diff --git a/changelogs/fragments/1551-ecs_ecr-sort_json_policy.yml b/changelogs/fragments/1551-ecs_ecr-sort_json_policy.yml deleted file mode 100644 index 2f6442c86f9..00000000000 --- a/changelogs/fragments/1551-ecs_ecr-sort_json_policy.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- ecs_ecr - use ``compare_policies`` when comparing lifecycle policies instead of naive ``sort_json_policy_dict`` comparisons (https://github.com/ansible-collections/community.aws/pull/1551). diff --git a/changelogs/fragments/1555-wafv2_rule_group_info.yml b/changelogs/fragments/1555-wafv2_rule_group_info.yml deleted file mode 100644 index 29b82eab36e..00000000000 --- a/changelogs/fragments/1555-wafv2_rule_group_info.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- wafv2_rule_group_info - remove unused and deprecated ``state`` parameter (https://github.com/ansible-collections/community.aws/pull/1555). diff --git a/changelogs/fragments/1557-cloudfront-add-origin-shield.yml b/changelogs/fragments/1557-cloudfront-add-origin-shield.yml deleted file mode 100644 index dc9ad39f4d3..00000000000 --- a/changelogs/fragments/1557-cloudfront-add-origin-shield.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - cloudfront_distribution - add `origin_shield` options (https://github.com/ansible-collections/community.aws/pull/1557). diff --git a/changelogs/fragments/1634-networkfirewall_rule_group-tests.yml b/changelogs/fragments/1634-networkfirewall_rule_group-tests.yml deleted file mode 100644 index 572697f45ca..00000000000 --- a/changelogs/fragments/1634-networkfirewall_rule_group-tests.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: -- disable networkfirewall_rule_group integration tests, they're failing due to an idempotency issue. diff --git a/changelogs/fragments/1643-codebuild_project.yml b/changelogs/fragments/1643-codebuild_project.yml deleted file mode 100644 index ba590969a73..00000000000 --- a/changelogs/fragments/1643-codebuild_project.yml +++ /dev/null @@ -1,2 +0,0 @@ -breaking_changes: -- codebuild_project - ``tags`` parameter now accepts a dict representing the tags, rather than the boto3 format (https://github.com/ansible-collections/community.aws/pull/1643). diff --git a/changelogs/fragments/1730-ses-identity-fix-clearing-notification-topic.yml b/changelogs/fragments/1730-ses-identity-fix-clearing-notification-topic.yml deleted file mode 100644 index bf290138ff7..00000000000 --- a/changelogs/fragments/1730-ses-identity-fix-clearing-notification-topic.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - ses_identity - fix clearing notification topic (https://github.com/ansible-collections/community.aws/issues/150). diff --git a/changelogs/fragments/1738-headers.yml b/changelogs/fragments/1738-headers.yml deleted file mode 100644 index 585fe6a5ca6..00000000000 --- a/changelogs/fragments/1738-headers.yml +++ /dev/null @@ -1,7 +0,0 @@ -minor_changes: -- community.aws - updated imports based on changes in amazon.aws (https://github.com/ansible-collections/community.aws/pull/1738). -- community.aws - updated document fragments based on changes in amazon.aws (https://github.com/ansible-collections/community.aws/pull/1738). -trivial: -- Add file encoding comment to all plugins -- Replace full GPL prefix entries with one line version -- Add missing copyright notices diff --git a/changelogs/fragments/1753-cloudfront-add-http3.yml b/changelogs/fragments/1753-cloudfront-add-http3.yml deleted file mode 100644 index 493d72145af..00000000000 --- a/changelogs/fragments/1753-cloudfront-add-http3.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - cloudfront_distribution - add ``http3`` support via parameter value ``http2and3`` for parameter ``http_version`` (https://github.com/ansible-collections/community.aws/pull/1753). diff --git a/changelogs/fragments/1784-black.yml b/changelogs/fragments/1784-black.yml deleted file mode 100644 index 981396488ef..00000000000 --- a/changelogs/fragments/1784-black.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- The ``black`` code formatter has been run across the collection to improve code consistency (https://github.com/ansible-collections/community.aws/pull/1784). diff --git a/changelogs/fragments/1798-aws_ssm-black.yml b/changelogs/fragments/1798-aws_ssm-black.yml deleted file mode 100644 index 13dbaf0a0b4..00000000000 --- a/changelogs/fragments/1798-aws_ssm-black.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: -- Include aws_ssm black changes (https://github.com/ansible-collections/community.aws/pull/1798) diff --git a/changelogs/fragments/20221103-autoscaling_scheduled_action.yml b/changelogs/fragments/20221103-autoscaling_scheduled_action.yml deleted file mode 100644 index d3c05668b88..00000000000 --- a/changelogs/fragments/20221103-autoscaling_scheduled_action.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: -- Bump scheduled date for autoscaling_scheduled_action integration tests diff --git a/changelogs/fragments/20230307-blueprint.yml b/changelogs/fragments/20230307-blueprint.yml deleted file mode 100644 index 410a2448fcc..00000000000 --- a/changelogs/fragments/20230307-blueprint.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: -- lightsail - update blueprint used by integration test to ``amazon_linux_2`` diff --git a/changelogs/fragments/20230423-update_readme_and_runtime.yml b/changelogs/fragments/20230423-update_readme_and_runtime.yml deleted file mode 100644 index dd24677bb69..00000000000 --- a/changelogs/fragments/20230423-update_readme_and_runtime.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: - - "Update README.md and meta/runtime.yml to reflect our ansible core testing versions." diff --git a/changelogs/fragments/20230424-config-delivery-channel.yml b/changelogs/fragments/20230424-config-delivery-channel.yml deleted file mode 100644 index 819bcc42edb..00000000000 --- a/changelogs/fragments/20230424-config-delivery-channel.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - aws_config_delivery_channel - add support for encrypted objects in S3 via KMS key (https://github.com/ansible-collections/community.aws/pull/1786). diff --git a/changelogs/fragments/6.0.0.yml b/changelogs/fragments/6.0.0.yml new file mode 100644 index 00000000000..3b81e021119 --- /dev/null +++ b/changelogs/fragments/6.0.0.yml @@ -0,0 +1,2 @@ +trivial: +- Add a fragment to work around ansible-test-changelog, updating the version triggers an update to common.py which ``needs`` a changelog fragment. diff --git a/changelogs/fragments/853-aws_ssm-sudo.yml b/changelogs/fragments/853-aws_ssm-sudo.yml deleted file mode 100644 index fbbd423c02f..00000000000 --- a/changelogs/fragments/853-aws_ssm-sudo.yml +++ /dev/null @@ -1,9 +0,0 @@ -breaking_changes: -- aws_ssm - the AWS SSM plugin was incorrectly prepending ``sudo`` to most commands. This behaviour was incorrect and has been removed. - To execute commands as a specific user, including the ``root`` user, the ``become`` and ``become_user`` directives should be used. See the - `Ansible documentation for more information `_ - (https://github.com/ansible-collections/community.aws/issues/853). - -minor_changes: -- aws_ssm - Updated the documentation to explicitly mention that the ``ansible_user`` and ``remote_user`` variables are not supported by the - plugin (https://github.com/ansible-collections/community.aws/pull/1682). diff --git a/changelogs/fragments/ansible-user-agent-identification.yaml b/changelogs/fragments/ansible-user-agent-identification.yaml deleted file mode 100644 index 420e9528a68..00000000000 --- a/changelogs/fragments/ansible-user-agent-identification.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- module_utils.botocore - Add Ansible AWS User-Agent identification (https://github.com/ansible-collections/community.aws/pull/1632). diff --git a/changelogs/fragments/botocore-tests.yml b/changelogs/fragments/botocore-tests.yml deleted file mode 100644 index 7d36d3f3575..00000000000 --- a/changelogs/fragments/botocore-tests.yml +++ /dev/null @@ -1,4 +0,0 @@ -trivial: -- s3_lifecycle - drop custom botocore installation for tests -- dynamodb_table - drop custom botocore installation for tests -- networkfirewall_policy - drop custom botocore installation for tests diff --git a/changelogs/fragments/cloudfront_integration_tests_activate.yaml b/changelogs/fragments/cloudfront_integration_tests_activate.yaml deleted file mode 100644 index dbe5d68946e..00000000000 --- a/changelogs/fragments/cloudfront_integration_tests_activate.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- minor code fixes and enable integration tests for modules cloudfront_distribution, cloudfront_invalidation and cloudfront_origin_access_identity (https://github.com/ansible-collections/community.aws/pull/1596). diff --git a/changelogs/fragments/elasticache-use-up-to-date-node-type-in-example.yaml b/changelogs/fragments/elasticache-use-up-to-date-node-type-in-example.yaml deleted file mode 100644 index 867a605cf1c..00000000000 --- a/changelogs/fragments/elasticache-use-up-to-date-node-type-in-example.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- "elasticache - Use the ``cache.t3.small`` node type in the example. ``cache.m1.small`` is not deprecated." diff --git a/changelogs/fragments/fstring-1.yml b/changelogs/fragments/fstring-1.yml deleted file mode 100644 index 94809541a76..00000000000 --- a/changelogs/fragments/fstring-1.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- bulk migration of ``%`` and ``.format()`` to fstrings (https://github.com/ansible-collections/community.aws/pull/1810). diff --git a/changelogs/fragments/integration_tests_max_duration_increase.yaml b/changelogs/fragments/integration_tests_max_duration_increase.yaml deleted file mode 100644 index b3efeb70285..00000000000 --- a/changelogs/fragments/integration_tests_max_duration_increase.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -trivial: -- "s2_lifecycle - Increase the max duration of the integration tests (https://github.com/ansible-collections/community.aws/pull/1578)." -- "secretsmanager_secret - Increase the max duration of the integration tests (https://github.com/ansible-collections/community.aws/pull/1578)." diff --git a/changelogs/fragments/opensearch_info_example_key_name.yaml b/changelogs/fragments/opensearch_info_example_key_name.yaml deleted file mode 100644 index 283203b67e6..00000000000 --- a/changelogs/fragments/opensearch_info_example_key_name.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: -- "opensearch_info - Fix the name of the domain_name key in the example (https://github.com/ansible-collections/community.aws/pull/1811)." diff --git a/changelogs/fragments/python37.yml b/changelogs/fragments/python37.yml deleted file mode 100644 index ab1dbecd421..00000000000 --- a/changelogs/fragments/python37.yml +++ /dev/null @@ -1,9 +0,0 @@ -deprecated_features: -- community.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/community.aws/pull/1743). -- community.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/community.aws/pull/1743). diff --git a/changelogs/fragments/release-6-botocore.yml b/changelogs/fragments/release-6-botocore.yml deleted file mode 100644 index 7f43621c305..00000000000 --- a/changelogs/fragments/release-6-botocore.yml +++ /dev/null @@ -1,6 +0,0 @@ -breaking_changes: -- The community.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 - 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/community.aws/pull/1743). diff --git a/changelogs/fragments/version_added.yml b/changelogs/fragments/version_added.yml deleted file mode 100644 index 93b283d07d7..00000000000 --- a/changelogs/fragments/version_added.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: -- cloudfront_distribution - fix version_added information diff --git a/galaxy.yml b/galaxy.yml index ad267f83e87..9903f043367 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: community name: aws -version: 6.0.0-dev0 +version: 6.0.0 readme: README.md authors: - Ansible (https://github.com/ansible) @@ -8,7 +8,7 @@ description: null license_file: COPYING tags: [community, aws, cloud, amazon] dependencies: - amazon.aws: '>=6.0.0-dev0' + amazon.aws: '>=6.0.0' repository: https://github.com/ansible-collections/community.aws documentation: https://ansible-collections.github.io/community.aws/branch/stable-6/collections/community/aws/index.html homepage: https://github.com/ansible-collections/community.aws diff --git a/plugins/module_utils/common.py b/plugins/module_utils/common.py index fec3684aacb..791828041c8 100644 --- a/plugins/module_utils/common.py +++ b/plugins/module_utils/common.py @@ -5,4 +5,4 @@ COMMUNITY_AWS_COLLECTION_NAME = "community.aws" -COMMUNITY_AWS_COLLECTION_VERSION = "6.0.0-dev0" +COMMUNITY_AWS_COLLECTION_VERSION = "6.0.0"