From 42b0b8fc404e8bd2532ebedbad9fe2ed6d626cd2 Mon Sep 17 00:00:00 2001 From: mandar242 Date: Wed, 22 Jun 2022 12:29:16 -0700 Subject: [PATCH] Prep 2.6.0 release, Run add_docs, generate changelog, add release_summary changelog --- CHANGELOG.rst | 24 ++ README.md | 2 - changelogs/changelog.yaml | 28 ++ .../fragments/0001-ecs-service-aliases.yml | 3 - .../1211-wafv2_ip_set-description.yml | 2 - ...2-ecs_service-fix-broken-change-detect.yml | 4 - ...ice-deployment-circuit-breaker-support.yml | 2 - ...munity.aws.ec2_customer_gateway_module.rst | 3 +- .../community.aws.ecs_service_info_module.rst | 1 + docs/community.aws.ecs_service_module.rst | 357 +++++++++++++----- docs/community.aws.ecs_task_module.rst | 3 +- docs/community.aws.lambda_facts_module.rst | 2 +- galaxy.yml | 2 +- tests/requirements.yml | 4 +- 14 files changed, 326 insertions(+), 111 deletions(-) delete mode 100644 changelogs/fragments/0001-ecs-service-aliases.yml delete mode 100644 changelogs/fragments/1211-wafv2_ip_set-description.yml delete mode 100644 changelogs/fragments/1212-ecs_service-fix-broken-change-detect.yml delete mode 100644 changelogs/fragments/1215-ecs-service-deployment-circuit-breaker-support.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 97ac49b5e97..c5853efd852 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,30 @@ community.aws Release Notes .. contents:: Topics +v2.6.0 +====== + +Release Summary +--------------- + +This is the last planned 2.x release of the ``community.aws`` collection. +Consider upgrading to the latest version of ``community.aws`` soon. + +Minor Changes +------------- + +- ecs_service - ``deployment_circuit_breaker`` has been added as a supported feature (https://github.com/ansible-collections/community.aws/pull/1215). +- ecs_service - add ``service`` alias to address the ecs service name with the same parameter as the ecs_service_info module is doing (https://github.com/ansible-collections/community.aws/pull/1187). +- ecs_service_info - add ``name`` alias to address the ecs service name with the same parameter as the ecs_service module is doing (https://github.com/ansible-collections/community.aws/pull/1187). + +Bugfixes +-------- + +- ecs_service - fix broken change detect of ``health_check_grace_period_seconds`` parameter when not specified (https://github.com/ansible-collections/community.aws/pull/1212). +- ecs_service - use default cluster name of ``default`` when not input (https://github.com/ansible-collections/community.aws/pull/1212). +- ecs_task - dont require ``cluster`` and use name of ``default`` when not input (https://github.com/ansible-collections/community.aws/pull/1212). +- wafv2_ip_set - fix bug where incorrect changed state was returned when only changing the description (https://github.com/ansible-collections/community.aws/pull/1211). + v2.5.0 ====== diff --git a/README.md b/README.md index eca444635fd..6aa0cb05641 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,6 @@ AWS related modules and plugins supported by the Ansible Cloud team are in the [ This collection has been tested against following Ansible versions: **>=2.9.10**. -For collections that support Ansible 2.9, please ensure you update your `network_os` to use the -fully qualified collection name (for example, `cisco.ios.ios`). Plugins and modules within a collection may be tested with only specific Ansible versions. A collection may contain metadata that identifies these versions. PEP440 is the schema used to describe the versions of Ansible. diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index a246dd492a9..a4635160486 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -1613,3 +1613,31 @@ releases: - 1300-ecs_service-placementConstraints.yml - 2.5.0.yml release_date: '2022-05-30' + 2.6.0: + changes: + bugfixes: + - ecs_service - fix broken change detect of ``health_check_grace_period_seconds`` + parameter when not specified (https://github.com/ansible-collections/community.aws/pull/1212). + - ecs_service - use default cluster name of ``default`` when not input (https://github.com/ansible-collections/community.aws/pull/1212). + - ecs_task - dont require ``cluster`` and use name of ``default`` when not input + (https://github.com/ansible-collections/community.aws/pull/1212). + - wafv2_ip_set - fix bug where incorrect changed state was returned when only + changing the description (https://github.com/ansible-collections/community.aws/pull/1211). + minor_changes: + - ecs_service - ``deployment_circuit_breaker`` has been added as a supported + feature (https://github.com/ansible-collections/community.aws/pull/1215). + - ecs_service - add ``service`` alias to address the ecs service name with the + same parameter as the ecs_service_info module is doing (https://github.com/ansible-collections/community.aws/pull/1187). + - ecs_service_info - add ``name`` alias to address the ecs service name with + the same parameter as the ecs_service module is doing (https://github.com/ansible-collections/community.aws/pull/1187). + release_summary: 'This is the last planned 2.x release of the ``community.aws`` + collection. + + Consider upgrading to the latest version of ``community.aws`` soon.' + fragments: + - 0001-ecs-service-aliases.yml + - 1211-wafv2_ip_set-description.yml + - 1212-ecs_service-fix-broken-change-detect.yml + - 1215-ecs-service-deployment-circuit-breaker-support.yml + - 2.6.0.yml + release_date: '2022-06-22' diff --git a/changelogs/fragments/0001-ecs-service-aliases.yml b/changelogs/fragments/0001-ecs-service-aliases.yml deleted file mode 100644 index 1860536b600..00000000000 --- a/changelogs/fragments/0001-ecs-service-aliases.yml +++ /dev/null @@ -1,3 +0,0 @@ -minor_changes: -- ecs_service - add ``service`` alias to address the ecs service name with the same parameter as the ecs_service_info module is doing (https://github.com/ansible-collections/community.aws/pull/1187). -- ecs_service_info - add ``name`` alias to address the ecs service name with the same parameter as the ecs_service module is doing (https://github.com/ansible-collections/community.aws/pull/1187). \ No newline at end of file diff --git a/changelogs/fragments/1211-wafv2_ip_set-description.yml b/changelogs/fragments/1211-wafv2_ip_set-description.yml deleted file mode 100644 index 1dd955452c2..00000000000 --- a/changelogs/fragments/1211-wafv2_ip_set-description.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- wafv2_ip_set - fix bug where incorrect changed state was returned when only changing the description (https://github.com/ansible-collections/community.aws/pull/1211). diff --git a/changelogs/fragments/1212-ecs_service-fix-broken-change-detect.yml b/changelogs/fragments/1212-ecs_service-fix-broken-change-detect.yml deleted file mode 100644 index 78618b78466..00000000000 --- a/changelogs/fragments/1212-ecs_service-fix-broken-change-detect.yml +++ /dev/null @@ -1,4 +0,0 @@ -bugfixes: - - ecs_service - fix broken change detect of ``health_check_grace_period_seconds`` parameter when not specified (https://github.com/ansible-collections/community.aws/pull/1212). - - ecs_service - use default cluster name of ``default`` when not input (https://github.com/ansible-collections/community.aws/pull/1212). - - ecs_task - dont require ``cluster`` and use name of ``default`` when not input (https://github.com/ansible-collections/community.aws/pull/1212). diff --git a/changelogs/fragments/1215-ecs-service-deployment-circuit-breaker-support.yml b/changelogs/fragments/1215-ecs-service-deployment-circuit-breaker-support.yml deleted file mode 100644 index b3476cf960c..00000000000 --- a/changelogs/fragments/1215-ecs-service-deployment-circuit-breaker-support.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- ecs_service - ``deployment_circuit_breaker`` has been added as a supported feature (https://github.com/ansible-collections/community.aws/pull/1215). \ No newline at end of file diff --git a/docs/community.aws.ec2_customer_gateway_module.rst b/docs/community.aws.ec2_customer_gateway_module.rst index a38ee5dfe0c..1db6f88d368 100644 --- a/docs/community.aws.ec2_customer_gateway_module.rst +++ b/docs/community.aws.ec2_customer_gateway_module.rst @@ -123,7 +123,8 @@ Parameters -
Border Gateway Protocol (BGP) Autonomous System Number (ASN), required when state=present.
+
Border Gateway Protocol (BGP) Autonomous System Number (ASN).
+
Defaults to 65000 if not specified when state=present.
diff --git a/docs/community.aws.ecs_service_info_module.rst b/docs/community.aws.ecs_service_info_module.rst index 39b3f073f96..d94ba6a4ace 100644 --- a/docs/community.aws.ecs_service_info_module.rst +++ b/docs/community.aws.ecs_service_info_module.rst @@ -265,6 +265,7 @@ Parameters
One or more services to get details for
+

aliases: name
diff --git a/docs/community.aws.ecs_service_module.rst b/docs/community.aws.ecs_service_module.rst index d97a19d896f..6e17fb566c0 100644 --- a/docs/community.aws.ecs_service_module.rst +++ b/docs/community.aws.ecs_service_module.rst @@ -37,12 +37,12 @@ Parameters - + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ParameterParameter Choices/Defaults Comments
+
aws_access_key @@ -60,7 +60,7 @@ Parameters
+
aws_ca_bundle @@ -77,7 +77,7 @@ Parameters
+
aws_config @@ -94,7 +94,7 @@ Parameters
+
aws_secret_key @@ -112,7 +112,7 @@ Parameters
+
client_token @@ -127,7 +127,7 @@ Parameters
+
cluster @@ -136,13 +136,15 @@ Parameters
+ Default:
"default"
The name of the cluster in which the service exists.
+
If not specified, the cluster name will be default.
+
debug_botocore_endpoint_logs @@ -161,7 +163,7 @@ Parameters
+
delay @@ -177,7 +179,7 @@ Parameters
+
deployment_configuration @@ -194,7 +196,66 @@ Parameters
+
+ deployment_circuit_breaker + +
+ dictionary +
+
+ +
The deployment circuit breaker determines whether a service deployment will fail if the service can't reach a steady state.
+
+
+ enable + +
+ boolean +
+
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
If enabled, a service deployment will transition to a failed state and stop launching new tasks.
+
+
+ rollback + +
+ boolean +
+
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
If enabled, ECS will roll back your service to the last completed deployment after a failure.
+
maximum_percent @@ -210,7 +271,7 @@ Parameters
+
minimum_healthy_percent @@ -226,7 +287,7 @@ Parameters
+
desired_count @@ -242,7 +303,7 @@ Parameters
+
ec2_url @@ -258,7 +319,7 @@ Parameters
+
force_deletion @@ -278,7 +339,7 @@ Parameters
+
force_new_deployment @@ -297,7 +358,7 @@ Parameters
+
health_check_grace_period_seconds @@ -312,7 +373,7 @@ Parameters
+
launch_type @@ -331,7 +392,7 @@ Parameters
+
load_balancers @@ -347,7 +408,7 @@ Parameters
+
name @@ -360,10 +421,11 @@ Parameters
The name of the service.
+

aliases: service
+
network_configuration @@ -379,7 +441,7 @@ Parameters
+
assign_public_ip @@ -399,7 +461,7 @@ Parameters
+
security_groups @@ -416,7 +478,7 @@ Parameters
+
subnets @@ -433,7 +495,7 @@ Parameters
+
placement_constraints @@ -451,7 +513,7 @@ Parameters
+
expression @@ -467,7 +529,7 @@ Parameters
+
type @@ -483,7 +545,7 @@ Parameters
+
placement_strategy @@ -500,7 +562,7 @@ Parameters
+
field @@ -516,7 +578,7 @@ Parameters
+
type @@ -532,7 +594,7 @@ Parameters
+
platform_version @@ -549,7 +611,7 @@ Parameters
+
profile @@ -566,7 +628,7 @@ Parameters
+
region @@ -582,7 +644,7 @@ Parameters
+
repeat @@ -598,7 +660,7 @@ Parameters
+
role @@ -614,7 +676,7 @@ Parameters
+
scheduling_strategy @@ -634,7 +696,7 @@ Parameters
+
security_token @@ -652,7 +714,7 @@ Parameters
+
service_registries @@ -669,7 +731,7 @@ Parameters
+
arn @@ -685,7 +747,7 @@ Parameters
+
container_name @@ -701,7 +763,7 @@ Parameters
+
container_port @@ -717,7 +779,7 @@ Parameters
+
state @@ -738,7 +800,7 @@ Parameters
+
task_definition @@ -754,7 +816,7 @@ Parameters
+
validate_certs @@ -850,13 +912,13 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a .. raw:: html - - + + - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - diff --git a/docs/community.aws.lambda_facts_module.rst b/docs/community.aws.lambda_facts_module.rst index 8abc4cb5149..417f3d17179 100644 --- a/docs/community.aws.lambda_facts_module.rst +++ b/docs/community.aws.lambda_facts_module.rst @@ -388,7 +388,7 @@ Status ------ -- This module will be removed in a release after 2021-12-01. *[deprecated]* +- This module will be removed in version . *[deprecated]* - For more information see `DEPRECATED`_. diff --git a/galaxy.yml b/galaxy.yml index 99d0b8d7eb7..8362c49a147 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: community name: aws -version: 2.5.0 +version: 2.6.0 readme: README.md authors: - Ansible (https://github.com/ansible) diff --git a/tests/requirements.yml b/tests/requirements.yml index 8038ae1d456..fa9a1660147 100644 --- a/tests/requirements.yml +++ b/tests/requirements.yml @@ -1,7 +1,7 @@ integration_tests_dependencies: -- amazon.aws >= 2.1.0 +- amazon.aws >= 2.3.0 - ansible.windows - community.crypto - community.general unit_tests_dependencies: -- amazon.aws >= 2.1.0 +- amazon.aws >= 2.3.0
Fact
Fact Returned Description
+
service @@ -873,7 +935,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
clusterArn @@ -890,7 +952,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
deploymentConfiguration @@ -908,7 +970,64 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
+ deploymentCircuitBreaker + +
+ complex +
+
always +
dictionary of deploymentCircuitBreaker +
+
+
+
+ enable + +
+ boolean +
+
always +
The state of the circuit breaker feature. +
+
+
+
+ rollback + +
+ boolean +
+
always +
The state of the rollback feature of the circuit breaker. +
+
+
maximumPercent @@ -926,7 +1045,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
minimumHealthyPercent @@ -944,7 +1063,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
deployments @@ -962,7 +1081,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
desiredCount @@ -979,7 +1098,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
events @@ -997,7 +1116,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
loadBalancers @@ -1015,7 +1134,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
containerName @@ -1033,7 +1152,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
containerPort @@ -1051,7 +1170,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
loadBalancerName @@ -1069,7 +1188,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
pendingCount @@ -1086,7 +1205,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
placementConstraints @@ -1105,7 +1224,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
expression @@ -1123,7 +1242,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
type @@ -1141,7 +1260,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
placementStrategy @@ -1160,7 +1279,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
field @@ -1178,7 +1297,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
type @@ -1196,7 +1315,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
runningCount @@ -1213,7 +1332,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
serviceArn @@ -1230,7 +1349,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
serviceName @@ -1247,7 +1366,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
status @@ -1264,7 +1383,7 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a
+
taskDefinition @@ -1292,12 +1411,12 @@ Common return values are documented `here
KeyKey Returned Description
+
service @@ -1313,7 +1432,7 @@ Common return values are documented `here
  +
clusterArn @@ -1329,7 +1448,7 @@ Common return values are documented `here
  +
deploymentConfiguration @@ -1346,7 +1465,61 @@ Common return values are documented `here
    +
+ deploymentCircuitBreaker + +
+ complex +
+
always +
dictionary of deploymentCircuitBreaker
+
+
    +
+ enable + +
+ boolean +
+
always +
The state of the circuit breaker feature.
+
+
    +
+ rollback + +
+ boolean +
+
always +
The state of the rollback feature of the circuit breaker.
+
+
  
maximumPercent @@ -1363,7 +1536,7 @@ Common return values are documented `here
    +
minimumHealthyPercent @@ -1380,7 +1553,7 @@ Common return values are documented `here
  +
deployments @@ -1397,7 +1570,7 @@ Common return values are documented `here
  +
desiredCount @@ -1413,7 +1586,7 @@ Common return values are documented `here
  +
events @@ -1430,7 +1603,7 @@ Common return values are documented `here
  +
loadBalancers @@ -1447,7 +1620,7 @@ Common return values are documented `here
    +
containerName @@ -1464,7 +1637,7 @@ Common return values are documented `here
    +
containerPort @@ -1481,7 +1654,7 @@ Common return values are documented `here
    +
loadBalancerName @@ -1498,7 +1671,7 @@ Common return values are documented `here
  +
pendingCount @@ -1514,7 +1687,7 @@ Common return values are documented `here
  +
placementConstraints @@ -1532,7 +1705,7 @@ Common return values are documented `here
    +
expression @@ -1549,7 +1722,7 @@ Common return values are documented `here
    +
type @@ -1566,7 +1739,7 @@ Common return values are documented `here
  +
placementStrategy @@ -1584,7 +1757,7 @@ Common return values are documented `here
    +
field @@ -1601,7 +1774,7 @@ Common return values are documented `here
    +
type @@ -1618,7 +1791,7 @@ Common return values are documented `here
  +
runningCount @@ -1634,7 +1807,7 @@ Common return values are documented `here
  +
serviceArn @@ -1650,7 +1823,7 @@ Common return values are documented `here
  +
serviceName @@ -1666,7 +1839,7 @@ Common return values are documented `here
  +
status @@ -1682,7 +1855,7 @@ Common return values are documented `here
  +
taskDefinition diff --git a/docs/community.aws.ecs_task_module.rst b/docs/community.aws.ecs_task_module.rst index 5847ab1df45..cfa5dc8a307 100644 --- a/docs/community.aws.ecs_task_module.rst +++ b/docs/community.aws.ecs_task_module.rst @@ -118,13 +118,14 @@ Parameters
string - / required
+ Default:
"default"
The name of the cluster to run the task on.
+
If not specified, the cluster name will be default.