Update dependency amazon.aws to v5 - autoclosed #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.2.1->5.0.2⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the logs for more information.
Release Notes
ansible-collections/amazon.aws
v5.0.2Compare Source
======
Bugfixes
AttributeError(ec2_metadata_facts returns "AttributeError: 'int' object has no attribute 'items'" ansible-collections/amazon.aws#1134).v5.0.1Compare Source
======
Bugfixes
ClassicLinkEnabledparameter when request forClassicLinkDnsSupportedfailed (ec2_vpc_net_info: fix keyerror ansible-collections/amazon.aws#1109).s3.get_bucket_ownership_controls(5.0.0 : aws_s3 may fail on some S3 compatible provider that do not implement OwnershipControls ansible-collections/amazon.aws#1115).v5.0.0Compare Source
======
Release Summary
In this release we promoted many community modules to Red Hat supported status. Those modules have been moved from the commuity.aws to amazon.aws collection. This release also brings some new features, bugfixes, breaking changes and deprecated features. The amazon.aws collection has dropped support for
botocore<1.21.0andboto3<1.18.0. Support foransible-core<2.11has also been dropped.Major Changes
community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.autoscaling_group.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.autoscaling_group_info.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.cloudtrail.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.cloudwatch_metric_alarm.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.cloudwatchevent_rule.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.cloudwatchlogs_log_group.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.cloudwatchlogs_log_group_info.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.cloudwatchlogs_log_group_metric_filter.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_eip.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_eip_info.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.elb_application_lb.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.elb_application_lb_info.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.execute_lambda.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_policy.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_policy_info.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_user.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_user_info.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.kms_key.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.kms_key_info.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.lambda.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.lambda_alias.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.lambda_event.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.lambda_execute.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.lambda_info.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.lambda_policy.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_cluster.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_cluster_info.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_cluster_snapshot.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_instance.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_instance_info.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_instance_snapshot.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_option_group.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_option_group_info.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_param_group.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_snapshot_info.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_subnet_group.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.route53.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.route53_health_check.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.route53_info.community.awscollection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.route53_zone.Minor Changes
ec2_urlparameter has been renamed toendpoint_urlfor consistency,ec2_urlremains as an alias (Rename ec2_url ansible-collections/amazon.aws#992).allow_duplicated_hostsconfiguration key (inventory/aws_ec2: allow multi-entries for one host ansible-collections/amazon.aws#1026).Exception, catch more specific errors instead (Minor sanity test fixes (new devel) ansible-collections/amazon.aws#968).ec2_groupmodule has been renamed toec2_security_group,ec2_groupremains as an alias (Rename ec2_group to ec2_security_group ansible-collections/amazon.aws#897).ec2_group_infomodule has been renamed toec2_security_group_info,ec2_group_inforemains as an alias (Rename ec2_group to ec2_security_group ansible-collections/amazon.aws#897).InsuffienctInstanceCapacity(UseAWSRetryon ec2 launch failures due to lack of capacity (InsuffienctInstanceCapacity) ansible-collections/amazon.aws#1038).Exception, catch more specific errors instead (Minor sanity test fixes (new devel) ansible-collections/amazon.aws#968).Exception, catch more specific errors instead (Minor sanity test fixes (new devel) ansible-collections/amazon.aws#968).ip_address_typeis set on creation rather than re-setting it after creation (More work on ELBv2 module_utils ansible-collections/amazon.aws#940).rgwwas added as an alias for thecephparameter for consistency with thes3_objectmodule (merge s3_url parameter into endpoint_url ansible-collections/amazon.aws#994).s3_urlparameter was merged into theendpoint_urlparameter,s3_urlremains as an alias (merge s3_url parameter into endpoint_url ansible-collections/amazon.aws#994).sig_v4paramater, enbling the user to opt in to signature version 4 for download/get operations. (Add Param to to s3_object module to enforce SigV4 for get operations ansible-collections/amazon.aws#1014)rgwparameter was renamed tocephfor consistency with thes3_bucketmodule,rgwremains as an alias (merge s3_url parameter into endpoint_url ansible-collections/amazon.aws#994).s3_urlparameter was merged into theendpoint_urlparameter,s3_urlremains as an alias (merge s3_url parameter into endpoint_url ansible-collections/amazon.aws#994).acl_disabledto handle uploading files to buckets with ACL disabled. ansible-collections/amazon.aws#921).Breaking Changes / Porting Guide
botocore<1.21.0andboto3<1.18.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 (Bump botocore requirements ansible-collections/amazon.aws#934).purge_tagshas been changed fromFalsetoTrue(Update default value for purge_tags ansible-collections/amazon.aws#916).DeviceName,VirtualNameandNoDevicewere previously deprecated and have been removed, please usedevice_name,virtual_nameandno_deviceinstead (Drop deprecated (CamelCase) aliases ansible-collections/amazon.aws#913).eni_idandfiltersparameters is now enforced, previouslyfilterswould be ignored ifeni_idwas set (Minor Linting fixups - 2022-08-05 ansible-collections/amazon.aws#954).purge_tagshas been changed fromFalsetoTrue(Update default value for purge_tags ansible-collections/amazon.aws#916).purge_tagshas been changed fromFalsetoTrue(Update default value for purge_tags ansible-collections/amazon.aws#916).purge_tagshas been changed fromFalsetoTrue(Update default value for purge_tags ansible-collections/amazon.aws#916).DhcpOptionIdsandDryRunwere previously deprecated and have been removed, please usedhcp_options_idsandno_deviceinstead (Drop deprecated (CamelCase) aliases ansible-collections/amazon.aws#913).purge_tagshas been changed fromFalsetoTrue(Update default value for purge_tags ansible-collections/amazon.aws#916).purge_tagshas been changed fromFalsetoTrue(Update default value for purge_tags ansible-collections/amazon.aws#916).purge_tagshas been changed fromFalsetoTrue(Update default value for purge_tags ansible-collections/amazon.aws#916).S3_URLfor thes3_urlparameter has been removed. Playbooks shuold be updated to uses3_url(S3 - remove deprecated S3_URL alias ansible-collections/amazon.aws#908).S3_URLfor thes3_urlparameter has been removed. Playbooks should be updated to uses3_url(S3 - remove deprecated S3_URL alias ansible-collections/amazon.aws#908).Deprecated Features
include_extra_api_callsis now deprecated, its value is silently ignored (inventory/aws_ec2: deprecate include_extra_api_calls ansible-collections/amazon.aws#1097).Bugfixes
instance_typewhencountorexact_countare specified (https://github.com//issues/980).'NoneType' object is not callableexception when using Ansible 2.13+ (ec2_metadata_facts may fail with ansible-core 2.13+ ansible-collections/amazon.aws#942).object has no attribute 'fail'error in error handling (FixAttributeError: 'AnsibleAWSModule' object has no attribute 'fail'error ansible-collections/amazon.aws#1045).KeyErrorwhen usingUseExistingClientSecretrather thanClientSecret(More work on ELBv2 module_utils ansible-collections/amazon.aws#940).ignore_nonexistent_bucketwhen listing a bucket (s3_object - ignore_nonexistent_bucket is not used when listing a bucket ansible-collections/amazon.aws#966).New Modules
v4.3.0Compare Source
======
Release Summary
The amazon.aws 4.3.0 release includes a number of minor bug fixes and improvements.
Following the release of amazon.aws 5.0.0, backports to the 4.x series will be limited to
security issues and bugfixes.
Minor Changes
InsuffienctInstanceCapacity(UseAWSRetryon ec2 launch failures due to lack of capacity (InsuffienctInstanceCapacity) ansible-collections/amazon.aws#1038).Bugfixes
'NoneType' object is not callableexception when using Ansible 2.13+ (ec2_metadata_facts may fail with ansible-core 2.13+ ansible-collections/amazon.aws#942).ValueError: ansible_collections.amazon.aws.plugins.module_utils.core.__spec__ is Noneerror on Ansible 2.9 (failure in last version ansible-collections/amazon.aws#1083).v4.2.0Compare Source
======
Minor Changes
listfor rules->group_name as it can accept bothstrandlist(ec2_security_group: Set rules->group_name's datatype as raw ansible-collections/amazon.aws#971).Deprecated Features
CloudRetry.backoffhas been delayed until release 6.0.0. It is recommended to update custom modules to usejittered_backofforexponential_backoffinstead (Bump CloudRetry.backoff deprecation to 6.0.0 ansible-collections/amazon.aws#951).v4.1.0Compare Source
======
Minor Changes
ec2_instanceare not usingAWSRetryansible-collections/amazon.aws#927).Deprecated Features
Bugfixes
KeyErrorwhen balancing across two Target Groups (Issue with community.aws.elb_application_lb ansible-collections/community.aws#1089).'NoneType' object has no attributebug when creating a new ELB in check mode with a health check (Fix NoneType errors with elb_classic_lb ansible-collections/amazon.aws#915).'NoneType' object has no attributebug when creating a new ELB using security group names (elb_classic_lb still failing on creation if security_group_names given ansible-collections/amazon.aws#914).v4.0.0Compare Source
======
Major Changes
botocore<1.20.0andboto3<1.17.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 ([3.0.0] Bump minimal botocore version to 1.19.0 ansible-collections/amazon.aws#574).Minor Changes
validate_bucket_nameoption, to control bucket name validation (Add the ability to disable the validate_bucket_name check ansible-collections/amazon.aws#615).aws_s3module has been renamed tos3_object(Rename aws_s3 to s3_object (and deprecate bucket creation/deleting) ansible-collections/amazon.aws#869).resource_tagshas been added as an alias for thetagsparameter (Tagging - switch simplest cases to use doc fragment ansible-collections/amazon.aws#845).device_indexdata type to string when passing todescribe_network_interapi call (ec2_eni: change data type ofdevice_indexto str when passing it to api as expected by api call ansible-collections/amazon.aws#877).resource_tagshas been added as an alias for thetagsparameter (Tagging - switch simplest cases to use doc fragment ansible-collections/amazon.aws#845).egress_rulesas an alias forrules_egress(ec2_group - Add egress_rules and purge_egress_rules aliases ansible-collections/amazon.aws#878).purge_egress_rulesas an alias forpurge_rules_egress(ec2_group - Add egress_rules and purge_egress_rules aliases ansible-collections/amazon.aws#878).metadata_optionsparameters (ec2_instance: add missing metadata_options parameters ansible-collections/amazon.aws#715).resource_tagshas been added as an alias for thetagsparameter (Tagging - switch simplest cases to use doc fragment ansible-collections/amazon.aws#845).resource_tagshas been added as an alias for thetagsparameter (Tagging - switch simplest cases to use doc fragment ansible-collections/amazon.aws#845).validate_bucket_nameoption, to control bucket name validation (Add the ability to disable the validate_bucket_name check ansible-collections/amazon.aws#615).resource_tagshas been added as an alias for thetagsparameter (Tagging - switch simplest cases to use doc fragment ansible-collections/amazon.aws#845).Breaking Changes / Porting Guide
aws:will not be removed when purging tags, these tags are reserved by Amazon and may not be updated or deleted (compare_aws_tags should ignore tags with the prefix 'aws:' ansible-collections/amazon.aws#817).profileparameter is now mutually exclusive with theaws_access_key,aws_secret_keyandsecurity_tokenparameters (Make profile mutually exclusive with other access tokens ansible-collections/amazon.aws#834).aws_az_factswas deprecated in Ansible 2.9 and has now been removed (aws_az_info remove aws_az_facts alias ansible-collections/amazon.aws#832).ensure overwritehas been changed todifferentinstead ofalwaysso that the module is idempotent by default (aws_s3 - ensure overwrite: different ansible-collections/amazon.aws#811).ec2module has been removed in release 4.0.0 and replaced by theec2_instancemodule ([Breaking Change] Remove support for old boto SDK (not boto3/botocore) ansible-collections/amazon.aws#630).convert_tagshas been changed toTrue(ec2_vpc_igw - convert tags by default ansible-collections/amazon.aws#835).ec2_elbfact has been removed (elb_classic_lb - Remove deprecated ec2_elb fact ansible-collections/amazon.aws#827).botohas been removed, including all relevant helper functions. All modules should now use theboto3/botocoreAWS SDK ([Breaking Change] Remove support for old boto SDK (not boto3/botocore) ansible-collections/amazon.aws#630)Deprecated Features
S3_URLalias for the s3_url option has been deprecated and will be removed in release 5.0.0 (Add asg refresh and asg refresh info modules ansible-collections/community.aws#795).DeviceNamealias for the device_name option has been deprecated and will be removed in release 5.0.0 (Add asg refresh and asg refresh info modules ansible-collections/community.aws#795).NoDevicealias for the no_device option has been deprecated and will be removed in release 5.0.0 (Add asg refresh and asg refresh info modules ansible-collections/community.aws#795).VirtualNamealias for the virtual_name option has been deprecated and will be removed in release 5.0.0 (Add asg refresh and asg refresh info modules ansible-collections/community.aws#795).Falseforpurge_tagshas been deprecated and will be updated in release 5.0.0 toTrue(Tagging - deprecate defaults of purge_tags=False ansible-collections/amazon.aws#846).instance_typehas been deprecated, in the future release you must set an instance_type or a launch_template (ec2_instance: Fix launch template condition, handle launch template - default value for instance_type ansible-collections/amazon.aws#587).Falseforpurge_tagshas been deprecated and will be updated in release 5.0.0 toTrue(ec2_instance - deprecate purge_tags=False ansible-collections/amazon.aws#849).Falseforpurge_tagshas been deprecated and will be updated in release 5.0.0 toTrue(Tagging - deprecate defaults of purge_tags=False ansible-collections/amazon.aws#846).Falseforpurge_tagshas been deprecated and will be updated in release 5.0.0 toTrue(Tagging - deprecate defaults of purge_tags=False ansible-collections/amazon.aws#846).DhcpOptionIdsalias for the dhcp_option_ids option has been deprecated and will be removed in release 5.0.0 (Add asg refresh and asg refresh info modules ansible-collections/community.aws#795).DryRunalias for the dry_run option has been deprecated and will be removed in release 5.0.0 (Add asg refresh and asg refresh info modules ansible-collections/community.aws#795).Falseforpurge_tagshas been deprecated and will be updated in release 5.0.0 toTrue(Tagging - deprecate defaults of purge_tags=False ansible-collections/amazon.aws#846).Falseforpurge_tagshas been deprecated and will be updated in release 5.0.0 toTrue(ec2_vpc_net - Deprecate purge_tags=False and support management by ID ansible-collections/amazon.aws#848).Falseforpurge_tagshas been deprecated and will be updated in release 5.0.0 toTrue(Tagging - deprecate defaults of purge_tags=False ansible-collections/amazon.aws#846).S3_URLalias for the s3_url option has been deprecated and will be removed in release 5.0.0 (Add asg refresh and asg refresh info modules ansible-collections/community.aws#795).amazon.aws.s3_bucketmodule to create and delete buckets (Rename aws_s3 to s3_object (and deprecate bucket creation/deleting) ansible-collections/amazon.aws#869).Removed Features (previously deprecated)
template_formatoption has been removed. It has been ignored by the module since Ansible 2.3 (cloudformation - remove unused template_format parameter ansible-collections/amazon.aws#833).wait_timeoutoption had no effect, was deprecated in release 1.0.0, and has now been removed (ec2_key - remove unused wait and wait_timeout parameters ansible-collections/amazon.aws#830).waitoption had no effect, was deprecated in release 1.0.0, and has now been removed (ec2_key - remove unused wait and wait_timeout parameters ansible-collections/amazon.aws#830).listhas been removed. To list tags on an EC2 resource theec2_tag_infomodule can be used (ec2_tag - remove deprecated 'state=list' ansible-collections/amazon.aws#829).listhas been removed. To list volumes theec2_vol_infomodule can be used (ec2_vol - remove deprecated state=list ansible-collections/amazon.aws#828).ansible_collections.amazon.aws.plugins.module_utils.batch.AWSConnectionhas been removed. Please useAnsibleAWSModule.client()instead (module_utils.batch remove unused AWSConnection ansible-collections/amazon.aws#831).Bugfixes
--diffand--checkto create a new security group (ec2_group tests regularly failing ansible-collections/amazon.aws#440).instance_typevalue for fix breaking on instance creation with launch template (ec2_instance: Fix launch template condition, handle launch template - default value for instance_type ansible-collections/amazon.aws#587).stateis set to ``rebooted``` (No error when missing permission to reboot instance ansible-collections/amazon.aws#671).v3.5.0Compare Source
======
Release Summary
Following the release of amazon.aws 5.0.0, 3.5.0 is a bugfix release and the final planned release for the 3.x series.
Minor Changes
listfor rules->group_name as it can accept bothstrandlist(ec2_security_group: Set rules->group_name's datatype as raw ansible-collections/amazon.aws#971).Bugfixes
'NoneType' object is not callableexception when using Ansible 2.13+ (ec2_metadata_facts may fail with ansible-core 2.13+ ansible-collections/amazon.aws#942).v3.4.0Compare Source
======
Minor Changes
ec2_instanceare not usingAWSRetryansible-collections/amazon.aws#927).Bugfixes
KeyErrorwhen balancing across two Target Groups (Issue with community.aws.elb_application_lb ansible-collections/community.aws#1089).'NoneType' object has no attributebug when creating a new ELB in check mode with a health check (Fix NoneType errors with elb_classic_lb ansible-collections/amazon.aws#915).'NoneType' object has no attributebug when creating a new ELB using security group names (elb_classic_lb still failing on creation if security_group_names given ansible-collections/amazon.aws#914).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.