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.2
Compare Source
======
Bugfixes
AttributeError
(ec2_metadata_facts returns "AttributeError: 'int' object has no attribute 'items'" ansible-collections/amazon.aws#1134).v5.0.1
Compare Source
======
Bugfixes
ClassicLinkEnabled
parameter when request forClassicLinkDnsSupported
failed (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.0
Compare 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.0
andboto3<1.18.0
. Support foransible-core<2.11
has also been dropped.Major Changes
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.autoscaling_group
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.autoscaling_group_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.cloudtrail
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.cloudwatch_metric_alarm
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.cloudwatchevent_rule
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.cloudwatchlogs_log_group
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.cloudwatchlogs_log_group_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.cloudwatchlogs_log_group_metric_filter
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_eip
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_eip_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.elb_application_lb
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.elb_application_lb_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.execute_lambda
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_policy
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_policy_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_user
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_user_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.kms_key
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.kms_key_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.lambda
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.lambda_alias
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.lambda_event
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.lambda_execute
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.lambda_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.lambda_policy
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_cluster
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_cluster_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_cluster_snapshot
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_instance
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_instance_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_instance_snapshot
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_option_group
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_option_group_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_param_group
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_snapshot_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.rds_subnet_group
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.route53
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.route53_health_check
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.route53_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.route53_zone
.Minor Changes
ec2_url
parameter has been renamed toendpoint_url
for consistency,ec2_url
remains as an alias (Rename ec2_url ansible-collections/amazon.aws#992).allow_duplicated_hosts
configuration 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_group
module has been renamed toec2_security_group
,ec2_group
remains as an alias (Rename ec2_group to ec2_security_group ansible-collections/amazon.aws#897).ec2_group_info
module has been renamed toec2_security_group_info
,ec2_group_info
remains as an alias (Rename ec2_group to ec2_security_group ansible-collections/amazon.aws#897).InsuffienctInstanceCapacity
(UseAWSRetry
on 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_type
is set on creation rather than re-setting it after creation (More work on ELBv2 module_utils ansible-collections/amazon.aws#940).rgw
was added as an alias for theceph
parameter for consistency with thes3_object
module (merge s3_url parameter into endpoint_url ansible-collections/amazon.aws#994).s3_url
parameter was merged into theendpoint_url
parameter,s3_url
remains as an alias (merge s3_url parameter into endpoint_url ansible-collections/amazon.aws#994).sig_v4
paramater, 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)rgw
parameter was renamed toceph
for consistency with thes3_bucket
module,rgw
remains as an alias (merge s3_url parameter into endpoint_url ansible-collections/amazon.aws#994).s3_url
parameter was merged into theendpoint_url
parameter,s3_url
remains as an alias (merge s3_url parameter into endpoint_url ansible-collections/amazon.aws#994).acl_disabled
to handle uploading files to buckets with ACL disabled. ansible-collections/amazon.aws#921).Breaking Changes / Porting Guide
botocore<1.21.0
andboto3<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_tags
has been changed fromFalse
toTrue
(Update default value for purge_tags ansible-collections/amazon.aws#916).DeviceName
,VirtualName
andNoDevice
were previously deprecated and have been removed, please usedevice_name
,virtual_name
andno_device
instead (Drop deprecated (CamelCase) aliases ansible-collections/amazon.aws#913).eni_id
andfilters
parameters is now enforced, previouslyfilters
would be ignored ifeni_id
was set (Minor Linting fixups - 2022-08-05 ansible-collections/amazon.aws#954).purge_tags
has been changed fromFalse
toTrue
(Update default value for purge_tags ansible-collections/amazon.aws#916).purge_tags
has been changed fromFalse
toTrue
(Update default value for purge_tags ansible-collections/amazon.aws#916).purge_tags
has been changed fromFalse
toTrue
(Update default value for purge_tags ansible-collections/amazon.aws#916).DhcpOptionIds
andDryRun
were previously deprecated and have been removed, please usedhcp_options_ids
andno_device
instead (Drop deprecated (CamelCase) aliases ansible-collections/amazon.aws#913).purge_tags
has been changed fromFalse
toTrue
(Update default value for purge_tags ansible-collections/amazon.aws#916).purge_tags
has been changed fromFalse
toTrue
(Update default value for purge_tags ansible-collections/amazon.aws#916).purge_tags
has been changed fromFalse
toTrue
(Update default value for purge_tags ansible-collections/amazon.aws#916).S3_URL
for thes3_url
parameter has been removed. Playbooks shuold be updated to uses3_url
(S3 - remove deprecated S3_URL alias ansible-collections/amazon.aws#908).S3_URL
for thes3_url
parameter 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_calls
is now deprecated, its value is silently ignored (inventory/aws_ec2: deprecate include_extra_api_calls ansible-collections/amazon.aws#1097).Bugfixes
instance_type
whencount
orexact_count
are specified (https://github.com//issues/980).'NoneType' object is not callable
exception 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).KeyError
when usingUseExistingClientSecret
rather thanClientSecret
(More work on ELBv2 module_utils ansible-collections/amazon.aws#940).ignore_nonexistent_bucket
when listing a bucket (s3_object - ignore_nonexistent_bucket is not used when listing a bucket ansible-collections/amazon.aws#966).New Modules
v4.3.0
Compare 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
(UseAWSRetry
on ec2 launch failures due to lack of capacity (InsuffienctInstanceCapacity
) ansible-collections/amazon.aws#1038).Bugfixes
'NoneType' object is not callable
exception 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 None
error on Ansible 2.9 (failure in last version ansible-collections/amazon.aws#1083).v4.2.0
Compare Source
======
Minor Changes
list
for rules->group_name as it can accept bothstr
andlist
(ec2_security_group: Set rules->group_name's datatype as raw ansible-collections/amazon.aws#971).Deprecated Features
CloudRetry.backoff
has been delayed until release 6.0.0. It is recommended to update custom modules to usejittered_backoff
orexponential_backoff
instead (Bump CloudRetry.backoff deprecation to 6.0.0 ansible-collections/amazon.aws#951).v4.1.0
Compare Source
======
Minor Changes
ec2_instance
are not usingAWSRetry
ansible-collections/amazon.aws#927).Deprecated Features
Bugfixes
KeyError
when balancing across two Target Groups (Issue with community.aws.elb_application_lb ansible-collections/community.aws#1089).'NoneType' object has no attribute
bug 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 attribute
bug 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.0
Compare Source
======
Major Changes
botocore<1.20.0
andboto3<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_name
option, to control bucket name validation (Add the ability to disable the validate_bucket_name check ansible-collections/amazon.aws#615).aws_s3
module has been renamed tos3_object
(Rename aws_s3 to s3_object (and deprecate bucket creation/deleting) ansible-collections/amazon.aws#869).resource_tags
has been added as an alias for thetags
parameter (Tagging - switch simplest cases to use doc fragment ansible-collections/amazon.aws#845).device_index
data type to string when passing todescribe_network_inter
api call (ec2_eni: change data type ofdevice_index
to str when passing it to api as expected by api call ansible-collections/amazon.aws#877).resource_tags
has been added as an alias for thetags
parameter (Tagging - switch simplest cases to use doc fragment ansible-collections/amazon.aws#845).egress_rules
as an alias forrules_egress
(ec2_group - Add egress_rules and purge_egress_rules aliases ansible-collections/amazon.aws#878).purge_egress_rules
as an alias forpurge_rules_egress
(ec2_group - Add egress_rules and purge_egress_rules aliases ansible-collections/amazon.aws#878).metadata_options
parameters (ec2_instance: add missing metadata_options parameters ansible-collections/amazon.aws#715).resource_tags
has been added as an alias for thetags
parameter (Tagging - switch simplest cases to use doc fragment ansible-collections/amazon.aws#845).resource_tags
has been added as an alias for thetags
parameter (Tagging - switch simplest cases to use doc fragment ansible-collections/amazon.aws#845).validate_bucket_name
option, to control bucket name validation (Add the ability to disable the validate_bucket_name check ansible-collections/amazon.aws#615).resource_tags
has been added as an alias for thetags
parameter (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).profile
parameter is now mutually exclusive with theaws_access_key
,aws_secret_key
andsecurity_token
parameters (Make profile mutually exclusive with other access tokens ansible-collections/amazon.aws#834).aws_az_facts
was deprecated in Ansible 2.9 and has now been removed (aws_az_info remove aws_az_facts alias ansible-collections/amazon.aws#832).ensure overwrite
has been changed todifferent
instead ofalways
so that the module is idempotent by default (aws_s3 - ensure overwrite: different ansible-collections/amazon.aws#811).ec2
module has been removed in release 4.0.0 and replaced by theec2_instance
module ([Breaking Change] Remove support for old boto SDK (not boto3/botocore) ansible-collections/amazon.aws#630).convert_tags
has been changed toTrue
(ec2_vpc_igw - convert tags by default ansible-collections/amazon.aws#835).ec2_elb
fact has been removed (elb_classic_lb - Remove deprecated ec2_elb fact ansible-collections/amazon.aws#827).boto
has been removed, including all relevant helper functions. All modules should now use theboto3
/botocore
AWS SDK ([Breaking Change] Remove support for old boto SDK (not boto3/botocore) ansible-collections/amazon.aws#630)Deprecated Features
S3_URL
alias 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).DeviceName
alias 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).NoDevice
alias 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).VirtualName
alias 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).False
forpurge_tags
has 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_type
has 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).False
forpurge_tags
has been deprecated and will be updated in release 5.0.0 toTrue
(ec2_instance - deprecate purge_tags=False ansible-collections/amazon.aws#849).False
forpurge_tags
has been deprecated and will be updated in release 5.0.0 toTrue
(Tagging - deprecate defaults of purge_tags=False ansible-collections/amazon.aws#846).False
forpurge_tags
has been deprecated and will be updated in release 5.0.0 toTrue
(Tagging - deprecate defaults of purge_tags=False ansible-collections/amazon.aws#846).DhcpOptionIds
alias 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).DryRun
alias 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).False
forpurge_tags
has been deprecated and will be updated in release 5.0.0 toTrue
(Tagging - deprecate defaults of purge_tags=False ansible-collections/amazon.aws#846).False
forpurge_tags
has 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).False
forpurge_tags
has 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_URL
alias 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_bucket
module 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_format
option 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_timeout
option 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).wait
option 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).list
has been removed. To list tags on an EC2 resource theec2_tag_info
module can be used (ec2_tag - remove deprecated 'state=list' ansible-collections/amazon.aws#829).list
has been removed. To list volumes theec2_vol_info
module can be used (ec2_vol - remove deprecated state=list ansible-collections/amazon.aws#828).ansible_collections.amazon.aws.plugins.module_utils.batch.AWSConnection
has been removed. Please useAnsibleAWSModule.client()
instead (module_utils.batch remove unused AWSConnection ansible-collections/amazon.aws#831).Bugfixes
--diff
and--check
to create a new security group (ec2_group tests regularly failing ansible-collections/amazon.aws#440).instance_type
value 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).state
is set to ``rebooted``` (No error when missing permission to reboot instance ansible-collections/amazon.aws#671).v3.5.0
Compare 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
list
for rules->group_name as it can accept bothstr
andlist
(ec2_security_group: Set rules->group_name's datatype as raw ansible-collections/amazon.aws#971).Bugfixes
'NoneType' object is not callable
exception when using Ansible 2.13+ (ec2_metadata_facts may fail with ansible-core 2.13+ ansible-collections/amazon.aws#942).v3.4.0
Compare Source
======
Minor Changes
ec2_instance
are not usingAWSRetry
ansible-collections/amazon.aws#927).Bugfixes
KeyError
when balancing across two Target Groups (Issue with community.aws.elb_application_lb ansible-collections/community.aws#1089).'NoneType' object has no attribute
bug 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 attribute
bug 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.