Releases: ansible-collections/amazon.aws
amazon.aws 6.3.0
Release Summary
This release brings some new features and several bugfixes.
Minor Changes
- rds_cluster - add support for another state choice called started. This starts the rds cluster (#1647).
- rds_cluster - add support for another state choice called stopped. This stops the rds cluster (#1647).
- route53 - add a wait_id return value when a change is done (#1683).
- route53_health_check - add support for a string list parameter called child_health_checks to specify health checks that must be healthy for the calculated health check (#1631).
- route53_health_check - add support for an integer parameter called health_threshold to specify the minimum number of healthy child health checks that must be healthy for the calculated health check (#1631).
- route53_health_check - add support for another type choice called CALCULATED (#1631).
Bugfixes
- ec2_vpc_route_table_info - default filters to empty dictionary (#1668).
- rds_cluster - Add AllocatedStorage, DBClusterInstanceClass, StorageType, Iops, and EngineMode to the list of parameters that can be passed when creating or modifying a Multi-AZ RDS cluster (#1657).
- rds_cluster - Allow to pass GlobalClusterIdentifier to rds cluster on creation (#1663).
amazon.aws 5.5.3
Release Summary
This release contains a few bugfixes for rds_cluster.
Bugfixes
amazon.aws 6.2.0
Release Summary
This release brings some new modules, features, and several bugfixes.
Minor Changes
- backup_selection - add validation and documentation for all conditions suboptions (#1633).
- ec2_instance - refactored ARN validation handling (#1619).
- iam_user - refactored ARN validation handling (#1619).
- module_utils.arn - add
resource_id
andresource_type
toparse_aws_arn
return values (#1619). - module_utils.arn - added
validate_aws_arn
function to handle common pattern matching for ARNs (#1619).
Bugfixes
- backup_plan - Use existing
scrub_none_values
function from module_utils to remove None values from nested dicts in supplied params. Nested None values were being retained and causing an error when sent through to the boto3 client operation (#1611). - backup_vault - fix error when updating tags on a backup vault by using the correct boto3 client methods for tagging and untagging backup resources (#1610).
- cloudwatchevent_rule - Fixes changed status to report False when no change has been made. The module had incorrectly always reported a change. (#1589)
- ec2_vpc_nat_gateway - adding a boolean parameter called
default_create
to allow users to have the option to choose whether they want to display an error message or create a NAT gateway when an EIP address is not found. The module (ec2_vpc_nat_gateway) had incorrectly failed silently if EIP didn't exist (#1295). - ec2_vpc_nat_gateway - fixes to nat gateway so that when the user creates a private NAT gateway, an Elastic IP address should not be allocated. The module had inncorrectly always allocate elastic IP address when creating private nat gateway (#1632).
- lambda_execute - Fixes to the stack trace output, where it does not contain spaces between each character. The module had incorrectly always outputted extra spaces between each character. (#1615)
- module_utils.backup - get_selection_details fix empty list returned when multiple backup selections exist (#1633).
New Modules
- iam_instance_profile - manage IAM instance profiles
- iam_instance_profile_info - gather information on IAM instance profiles
amazon.aws 5.5.2
Bugfixes
- cloudwatchevent_rule - Fixes changed status to report False when no change has been made. The module had incorrectly always reported a change. (#1589)
- ec2_vpc_nat_gateway - fixes to nat gateway so that when the user creates a private NAT gateway, an Elastic IP address should not be allocated. The module had inncorrectly always allocate elastic IP address when creating private nat gateway (#1632).
- lambda_execute - Fixes to the stack trace output, where it does not contain spaces between each character. The module had incorrectly always outputted extra spaces between each character. (#1615)
amazon.aws 6.1.0
Release Summary
This release brings some new features, several bugfixes, and deprecated features are also included.
Minor Changes
- ec2_snapshot - Add support for modifying createVolumePermission (#1464).
- ec2_snapshot_info - Add createVolumePermission to output result (#1464).
Deprecated Features
- s3_object - support for passing object keys with a leading
/
has been deprecated and will be removed in a release after 2025-12-01 (#1549).
Bugfixes
- autoscaling_group - fix ValidationError when describing an autoscaling group that has more than 20 target groups attached to it by breaking the request into chunks (#1593).
- autoscaling_group_info - fix ValidationError when describing an autoscaling group that has more than 20 target groups attached to it by breaking the request into chunks (#1593).
- ec2_instance - fix check_mode issue when adding network interfaces (#1403).
- ec2_metadata_facts - Handle decompression when EC2 instance user-data is gzip compressed. The fetch_url method from ansible.module_utils.urls does not decompress the user-data unless the header explicitly contains
Content-Encoding: gzip
(#1575). - elb_application_lb - fix missing attributes on creation of ALB. The
create_or_update_alb()
was including ALB-specific attributes when updating an existing ALB but not when creating a new ALB (#1510). - module_utils.acm - fixes list_certificates returning only RSA_2048 certificates (#1567).
- rds_instance - add support for CACertificateIdentifier to create/update rds instance (#1459)."
amazon.aws 5.5.1
Release Summary
This release brings few bugfixes.
Bugfixes
- autoscaling_group - fix ValidationError when describing an autoscaling group that has more than 20 target groups attached to it by breaking the request into chunks (#1593).
- autoscaling_group_info - fix ValidationError when describing an autoscaling group that has more than 20 target groups attached to it by breaking the request into chunks (#1593).
- aws_account_attribute - raise correct
AnsibleLookupError
rather thanAnsibleError
(#1528). - aws_secret - raise correct
AnsibleLookupError
rather thanAnsibleError
(#1528). - aws_service_ip_ranges raise correct
AnsibleLookupError
rather thanAnsibleError
(#1528). - aws_ssm - raise correct
AnsibleLookupError
rather thanAnsibleError
(#1528). - ec2_instance - fix check_mode issue when adding network interfaces (#1403).
- elb_application_lb - fix missing attributes on creation of ALB. The
create_or_update_alb()
was including ALB-specific attributes when updating an existing ALB but not when creating a new ALB (#1510).
amazon.aws 6.0.1
Release Summary
This is a patch release that includes some bug fixes for the aws_ec2 inventory plugin and the s3_bucket and s3_object modules.
Bugfixes
amazon.aws 6.0.0
Release Summary
This release brings some new plugins and features. Several bugfixes, breaking changes and deprecated features are also included. The amazon.aws collection has dropped support for botocore<1.25.0
and boto3<1.22.0
. Support for Python 3.6 has also been dropped.
Minor Changes
- Add github actions to run unit and sanity tests.(#1393).
- AnsibleAWSModule - add support to the
client
andresource
methods for overriding the default parameters (#1303). - CONTRIBUTING.md - refactors and adds to contributor documentation (#924)
- Refactor inventory plugins and add aws_rds inventory unit tests (#1218).
- Refactor module_utils/cloudfront_facts.py and add unit tests (#1265).
- The
black
code formatter has been run across the collection to improve code consistency (#1465). - amazon.aws inventory plugins - additional refactorization of inventory plugin connection handling (#1271).
- amazon.aws lookup plugins -
aws_access_key
has been renamed toaccess_key
for consistency between modules and plugins,aws_access_key
remains as an alias. This change should have no observable effect for users outside the module/plugin documentation (#1225). - amazon.aws lookup plugins -
aws_profile
has been renamed toprofile
for consistency between modules and plugins,aws_profile
remains as an alias. This change should have no observable effect for users outside the module/plugin documentation (#1225). - amazon.aws lookup plugins -
aws_secret_key
has been renamed tosecret_key
for consistency between modules and plugins,aws_secret_key
remains as an alias. This change should have no observable effect for users outside the module/plugin documentation (#1225). - amazon.aws lookup plugins -
aws_security_token
has been renamed tosession_token
for consistency between modules and plugins,aws_security_token
remains as an alias. This change should have no observable effect for users outside the module/plugin documentation (#1225). - amazon.aws modules - bulk update of import statements following various refactors (#1310).
- autoscaling_group - minor linting fixes (#1181).
- aws_account_attribute - the
aws_account_attribute
lookup plugin has been refactored to useAWSLookupBase
as its base class (#1225). - aws_ec2 inventory - minor linting fixes (#1181).
- aws_secret - the
aws_secret
lookup plugin has been refactored to useAWSLookupBase
as its base class (#1225). - aws_secret - the
aws_secret
lookup plugin has been renamedsecretsmanager_secret
,aws_secret
remains as an alias (#1225). - aws_ssm - the
aws_ssm
lookup plugin has been refactored to useAWSLookupBase
as its base class (#1225). - aws_ssm - the
aws_ssm
lookup plugin has been renamedssm_parameter
,aws_ssm
remains as an alias (#1225). - backup - Add logic for backup_selection* modules (#1530).
- bulk migration of
%
and.format()
to fstrings (#1483). - cloud module_utils - minor linting fixes (#1181).
- cloudtrail_info - minor linting fixes (#1181).
- cloudwatchlogs_log_group - minor linting fixes (#1181).
- docs_fragments -
amazon.aws.boto3
fragment now pulls the botocore version requirements frommodule_utils.botocore
(#1248). - docs_fragments - common parameters for modules and plugins have been synchronised and moved to
amazon.aws.common.modules
andamazon.aws.common.plugins
(#1248). - docs_fragments - region parameters for modules and plugins have been synchronised and moved to
amazon.aws.region.modules
andamazon.aws.region.plugins
(#1248). - ec2_ami - Extend the unit-test coverage of the module (#1159).
- ec2_ami - allow
ImageAvailable
waiter to retry when the image can't be found (#1321). - ec2_ami_info - Add unit-tests coverage (#1252).
- ec2_eip - minor linting fixes (#1181).
- ec2_eni_info - Add unit-tests coverage (#1236).
- ec2_instance - avoid changing
module.params
(#1187). - ec2_instance - updated to avoid manipulating
module.params
(#1337). - ec2_security_group - added rule options to argument specifications to improve handling of inputs (#1214).
- ec2_security_group - refacter
get_target_from_rule()
(#1221). - ec2_security_group - refactor rule expansion and add unit tests (#1261).
- ec2_snapshot - Reenable the integration tests (#1235).
- ec2_snapshot_info - Add unit-tests coverage (#1211).
- ec2_vpc_route_table - add support for Carrier Gateway entry (#926).
- ec2_vpc_subnet - retry fetching subnet details after creation if the first attempt fails (#1526).
- inventory aws ec2 - add parameter
use_ssm_inventory
allowing to query ssm inventory information for configured EC2 instances and populate hostvars (#704). - inventory plugins - refactor cache handling (#1285).
- inventory plugins - refactor file verification handling (#1285).
- inventory_aws_ec2 integration tests - replace local module
test_get_ssm_inventory
bycommunity.aws.ssm_inventory_info
(#1416). - kms_key_info - minor linting fixes (#1181).
- lambda - minor linting fixes (#1181).
- lambda - use common
get_aws_account_info
helper rather than reimplementing (#1181). - lambda_alias - refactored to avoid passing around the complex
module
resource (#1336). - lambda_alias - updated to avoid manipulating
module.params
(#1336). - lambda_execute - minor linting fixes (#1181).
- lambda_info - updated to avoid manipulating
module.params
(#1336). - lambda_layer_info - add support for parameter version_number to retrieve detailed information for a specific layer version (#1293).
- module_utils - move RetryingBotoClientWrapper into module_utils.retries for reuse with other plugin types (#1230).
- module_utils - move exceptions into dedicated python module (#1246).
- module_utils - refacter botocore version validation into module_utils.botocore for future reuse (#1227).
- module_utils.acm - Refactor ACMServiceManager class and add unit tests (#1273).
- module_utils.botocore - Add Ansible AWS User-Agent identification (#1306).
- module_utils.botocore - refactorization of
get_aws_region
,get_aws_connection_info
so that the code can be reused by non-module plugins (#1231). - module_utils.policy - minor refacter of code to reduce complexity and improve test coverage (#1136).
- module_utils.s3 - Refactor get_s3_connection into a module_utils for S3 modules and expand module_utils.s3 unit tests (#1139).
- module_utils/botocore - added support to
_boto3_conn
for passing dictionaries of configuration (#1307). - plugin_utils - Added
AWSConnectionBase
to support refactoring connection plugins (<...
amazon.aws 5.5.0
Release Summary
This release contains a number of bugfixes, new features and new modules. This is the last planned minor release prior to the release of version 6.0.0.
Minor Changes
- Add connectivity_type to ec2_vpc_nat_gateway module (#1267).
- cloudwatch - Add metrics and extended_statistic keys to cloudwatch module (#1133).
- ec2_ami - add support for BootMode, TpmSupport, UefiData params (#1037).
- ec2_metadata_facts - added support to query instance tags in metadata (#1186).
- kms_key - Add multi_region option to create_key (#1290).
- lambda - add support for function layers when creating or updating lambda function (#1118).
- lambda_event - Added support to set FunctionResponseTypes when creating lambda event source mappings (#1209).
- module_utils/elbv2 - removed compatibility code for
botocore < 1.10.30
(#1477). - rds_cluster - New
engine_mode
parameter (#941). - rds_cluster - add new options (e.g.,
db_cluster_instance_class
,allocated_storage
,storage_type
,iops
) (#1191). - rds_cluster - update list of supported engines with
mysql
andpostgres
(#1191). - s3_bucket - ensure
public_access
is configured before updating policies (#1511).
Bugfixes
- cloudwatch_metric_alarm - Don't consider
StateTransitionedTimestamp
in change detection. (#1440). - ec2_instance - Pick up
app_callback -> set_password
rather thanapp_callback -> set_passwd
(#1449). - lambda_info - Do not convert environment variables to snake_case when querying lambda config. (#1457).
- rds_instance - fix type of
promotion_tier
as passed to the APIs (#1475).
New Modules
- lambda_layer - Creates an AWS Lambda layer or deletes an AWS Lambda layer version
- lambda_layer_info - List lambda layer or lambda layer versions
amazon.aws 4.5.0
Release Summary
This release contains a minor bugfix for the ec2_vol
module, some minor work on the ec2_key
module, and various documentation fixes. This is the last planned release of the 4.x series.
Minor Changes
- ec2_key - minor refactoring and improved unit-tests coverage (#1288).
Bugfixes
- ec2_vol - handle ec2_vol.tags when the associated instance already exists (#1071).