diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5bd49f3508b..6f8c5ebd1d3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,55 @@ community.aws Release Notes .. contents:: Topics +v2.1.0 +====== + +Minor Changes +------------- + +- aws_service_ip_ranges - add new option ``ipv6_prefixes`` to get only IPV6 addresses and prefixes for Amazon services (https://github.com/ansible-collections/amazon.aws/pull/430) +- cloudformation - fix detection when there are no changes. Sometimes when there are no changes, the change set will have a status FAILED with StatusReason No updates are to be performed (https://github.com/ansible-collections/amazon.aws/pull/507). +- ec2_ami - add check_mode support (https://github.com/ansible-collections/amazon.aws/pull/516). +- ec2_ami - use module_util helper for tagging AMIs (https://github.com/ansible-collections/amazon.aws/pull/520). +- ec2_ami - when creating an AMI from an instance pass the tagging options at creation time (https://github.com/ansible-collections/amazon.aws/pull/551). +- ec2_elb_lb - module renamed to ``elb_classic_lb`` (https://github.com/ansible-collections/amazon.aws/pull/377). +- ec2_eni - add check mode support (https://github.com/ansible-collections/amazon.aws/pull/534). +- ec2_eni - use module_util helper for tagging ENIs (https://github.com/ansible-collections/amazon.aws/pull/522). +- ec2_instance - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/527). +- ec2_key - add support for tagging key pairs (https://github.com/ansible-collections/amazon.aws/pull/548). +- ec2_snapshot - add check_mode support (https://github.com/ansible-collections/amazon.aws/pull/512). +- ec2_vol - add check_mode support (https://github.com/ansible-collections/amazon.aws/pull/509). +- ec2_vpc_dhcp_option - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). +- ec2_vpc_endpoint - added ``vpc_endpoint_security_groups`` parameter to support defining the security group attached to an interface endpoint (https://github.com/ansible-collections/amazon.aws/pull/544). +- ec2_vpc_endpoint - added ``vpc_endpoint_subnets`` parameter to support defining the subnet attached to an interface or gateway endpoint (https://github.com/ansible-collections/amazon.aws/pull/544). +- ec2_vpc_endpoint - use module_util helper for tagging (https://github.com/ansible-collections/amazon.aws/pull/525). +- ec2_vpc_endpoint - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). +- ec2_vpc_igw - use module_util helper for tagging (https://github.com/ansible-collections/amazon.aws/pull/523). +- ec2_vpc_igw - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). +- ec2_vpc_nat_gateway - use module_util helper for tagging (https://github.com/ansible-collections/amazon.aws/pull/524). +- ec2_vpc_nat_gateway - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). +- elb_classic_lb - added retries on common AWS temporary API failures (https://github.com/ansible-collections/amazon.aws/pull/377). +- elb_classic_lb - added support for check_mode (https://github.com/ansible-collections/amazon.aws/pull/377). +- elb_classic_lb - added support for wait during creation (https://github.com/ansible-collections/amazon.aws/pull/377). +- elb_classic_lb - added support for wait during instance addition and removal (https://github.com/ansible-collections/amazon.aws/pull/377). +- elb_classic_lb - migrated to boto3 SDK (https://github.com/ansible-collections/amazon.aws/pull/377). +- elb_classic_lb - various error messages changed due to refactor (https://github.com/ansible-collections/amazon.aws/pull/377). +- module_utils.ec2 - moved generic tagging helpers into module_utils.tagging (https://github.com/ansible-collections/amazon.aws/pull/527). +- module_utils.tagging - add new helper to generate TagSpecification lists (https://github.com/ansible-collections/amazon.aws/pull/527). + +Deprecated Features +------------------- + +- ec2_classic_lb - setting of the ``ec2_elb`` fact has been deprecated and will be removed in release 4.0.0 of the collection. The module now returns ``elb`` which can be accessed using the register keyword (https://github.com/ansible-collections/amazon.aws/pull/552). + +Bugfixes +-------- + +- AWS action group - added missing ``ec2_instance_facts`` entry (https://github.com/ansible-collections/amazon.aws/issues/557) +- ec2_ami - fix problem when creating an AMI from an instance with ephemeral volumes (https://github.com/ansible-collections/amazon.aws/issues/511). +- ec2_instance - ensure that ec2_instance falls back to the tag(Name) parameter when no filter and no name parameter is passed (https://github.com/ansible-collections/amazon.aws/issues/526). +- s3_bucket - update error handling to better support DigitalOcean Space (https://github.com/ansible-collections/amazon.aws/issues/508). + v2.0.0 ====== diff --git a/README.md b/README.md index 776a5f77983..42040d9e1e6 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,6 @@ Name | Description [amazon.aws.ec2](https://github.com/ansible-collections/amazon.aws/blob/main/docs/amazon.aws.ec2_module.rst)|create, terminate, start or stop an instance in ec2 [amazon.aws.ec2_ami](https://github.com/ansible-collections/amazon.aws/blob/main/docs/amazon.aws.ec2_ami_module.rst)|Create or destroy an image (AMI) in ec2 [amazon.aws.ec2_ami_info](https://github.com/ansible-collections/amazon.aws/blob/main/docs/amazon.aws.ec2_ami_info_module.rst)|Gather information about ec2 AMIs -[amazon.aws.ec2_elb_lb](https://github.com/ansible-collections/amazon.aws/blob/main/docs/amazon.aws.ec2_elb_lb_module.rst)|Creates, updates or destroys an Amazon ELB. [amazon.aws.ec2_eni](https://github.com/ansible-collections/amazon.aws/blob/main/docs/amazon.aws.ec2_eni_module.rst)|Create and optionally attach an Elastic Network Interface (ENI) to an instance [amazon.aws.ec2_eni_info](https://github.com/ansible-collections/amazon.aws/blob/main/docs/amazon.aws.ec2_eni_info_module.rst)|Gather information about ec2 ENI interfaces in AWS [amazon.aws.ec2_group](https://github.com/ansible-collections/amazon.aws/blob/main/docs/amazon.aws.ec2_group_module.rst)|maintain an ec2 VPC security group. @@ -81,6 +80,7 @@ Name | Description [amazon.aws.ec2_vpc_route_table_info](https://github.com/ansible-collections/amazon.aws/blob/main/docs/amazon.aws.ec2_vpc_route_table_info_module.rst)|Gather information about ec2 VPC route tables in AWS [amazon.aws.ec2_vpc_subnet](https://github.com/ansible-collections/amazon.aws/blob/main/docs/amazon.aws.ec2_vpc_subnet_module.rst)|Manage subnets in AWS virtual private clouds [amazon.aws.ec2_vpc_subnet_info](https://github.com/ansible-collections/amazon.aws/blob/main/docs/amazon.aws.ec2_vpc_subnet_info_module.rst)|Gather information about ec2 VPC subnets in AWS +[amazon.aws.elb_classic_lb](https://github.com/ansible-collections/amazon.aws/blob/main/docs/amazon.aws.elb_classic_lb_module.rst)|creates, updates or destroys an Amazon ELB. [amazon.aws.s3_bucket](https://github.com/ansible-collections/amazon.aws/blob/main/docs/amazon.aws.s3_bucket_module.rst)|Manage S3 buckets in AWS, DigitalOcean, Ceph, Walrus, FakeS3 and StorageGRID diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 1785453a503..61572a6fef7 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -520,3 +520,77 @@ releases: name: ec2_spot_instance_info namespace: '' release_date: '2021-09-03' + 2.1.0: + changes: + bugfixes: + - AWS action group - added missing ``ec2_instance_facts`` entry (https://github.com/ansible-collections/amazon.aws/issues/557) + - ec2_ami - fix problem when creating an AMI from an instance with ephemeral + volumes (https://github.com/ansible-collections/amazon.aws/issues/511). + - ec2_instance - ensure that ec2_instance falls back to the tag(Name) parameter + when no filter and no name parameter is passed (https://github.com/ansible-collections/amazon.aws/issues/526). + - s3_bucket - update error handling to better support DigitalOcean Space (https://github.com/ansible-collections/amazon.aws/issues/508). + deprecated_features: + - ec2_classic_lb - setting of the ``ec2_elb`` fact has been deprecated and will + be removed in release 4.0.0 of the collection. The module now returns ``elb`` + which can be accessed using the register keyword (https://github.com/ansible-collections/amazon.aws/pull/552). + minor_changes: + - aws_service_ip_ranges - add new option ``ipv6_prefixes`` to get only IPV6 + addresses and prefixes for Amazon services (https://github.com/ansible-collections/amazon.aws/pull/430) + - cloudformation - fix detection when there are no changes. Sometimes when there + are no changes, the change set will have a status FAILED with StatusReason + No updates are to be performed (https://github.com/ansible-collections/amazon.aws/pull/507). + - ec2_ami - add check_mode support (https://github.com/ansible-collections/amazon.aws/pull/516). + - ec2_ami - use module_util helper for tagging AMIs (https://github.com/ansible-collections/amazon.aws/pull/520). + - ec2_ami - when creating an AMI from an instance pass the tagging options at + creation time (https://github.com/ansible-collections/amazon.aws/pull/551). + - ec2_elb_lb - module renamed to ``elb_classic_lb`` (https://github.com/ansible-collections/amazon.aws/pull/377). + - ec2_eni - add check mode support (https://github.com/ansible-collections/amazon.aws/pull/534). + - ec2_eni - use module_util helper for tagging ENIs (https://github.com/ansible-collections/amazon.aws/pull/522). + - ec2_instance - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/527). + - ec2_key - add support for tagging key pairs (https://github.com/ansible-collections/amazon.aws/pull/548). + - ec2_snapshot - add check_mode support (https://github.com/ansible-collections/amazon.aws/pull/512). + - ec2_vol - add check_mode support (https://github.com/ansible-collections/amazon.aws/pull/509). + - ec2_vpc_dhcp_option - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). + - ec2_vpc_endpoint - added ``vpc_endpoint_security_groups`` parameter to support + defining the security group attached to an interface endpoint (https://github.com/ansible-collections/amazon.aws/pull/544). + - ec2_vpc_endpoint - added ``vpc_endpoint_subnets`` parameter to support defining + the subnet attached to an interface or gateway endpoint (https://github.com/ansible-collections/amazon.aws/pull/544). + - ec2_vpc_endpoint - use module_util helper for tagging (https://github.com/ansible-collections/amazon.aws/pull/525). + - ec2_vpc_endpoint - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). + - ec2_vpc_igw - use module_util helper for tagging (https://github.com/ansible-collections/amazon.aws/pull/523). + - ec2_vpc_igw - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). + - ec2_vpc_nat_gateway - use module_util helper for tagging (https://github.com/ansible-collections/amazon.aws/pull/524). + - ec2_vpc_nat_gateway - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). + - elb_classic_lb - added retries on common AWS temporary API failures (https://github.com/ansible-collections/amazon.aws/pull/377). + - elb_classic_lb - added support for check_mode (https://github.com/ansible-collections/amazon.aws/pull/377). + - elb_classic_lb - added support for wait during creation (https://github.com/ansible-collections/amazon.aws/pull/377). + - elb_classic_lb - added support for wait during instance addition and removal + (https://github.com/ansible-collections/amazon.aws/pull/377). + - elb_classic_lb - migrated to boto3 SDK (https://github.com/ansible-collections/amazon.aws/pull/377). + - elb_classic_lb - various error messages changed due to refactor (https://github.com/ansible-collections/amazon.aws/pull/377). + - module_utils.ec2 - moved generic tagging helpers into module_utils.tagging + (https://github.com/ansible-collections/amazon.aws/pull/527). + - module_utils.tagging - add new helper to generate TagSpecification lists (https://github.com/ansible-collections/amazon.aws/pull/527). + fragments: + - 377-ec2_elb_lb-boto3.yml + - 430-add_support_for_ipv6_addresses.yml + - 507-fix_cloudformation_changeset_detection.yml + - 508-s3_bucket-digital_ocean.yml + - 509-ec2_vol_add_check_mode_support.yml + - 512-ec2_snapshot_add_check_mode_support.yml.yml + - 516-ec2_ami_add_check_mode_support.yml + - 520-ec2_ami-tagging.yml + - 522-ec2_eni-tagging.yml + - 523-ec2_vpc_igw-tagging.yml + - 524-ec2_vpc_nat_gateway-tagging.yml + - 525-ec2_vpc_endpoint-tagging.yml + - 526-ec2_instance_search_tags.yml + - 527-ec2_instance-tagging.yml + - 531-use_tags_handlers.yml + - 534-ec2_eni_add_check_mode_support.yml + - 544-vpc-endpoint-add-subnets-sg-option.yml + - 548-ec2_key-tagging.yml + - 551-ec2_ami-tag-on-create.yml + - 552-elb_classic_lb-fact.yml + - 557-action_group-missing-entry.yml + release_date: '2021-11-11' diff --git a/changelogs/fragments/377-ec2_elb_lb-boto3.yml b/changelogs/fragments/377-ec2_elb_lb-boto3.yml deleted file mode 100644 index e32a65a12ce..00000000000 --- a/changelogs/fragments/377-ec2_elb_lb-boto3.yml +++ /dev/null @@ -1,8 +0,0 @@ -minor_changes: -- ec2_elb_lb - module renamed to ``elb_classic_lb`` (https://github.com/ansible-collections/amazon.aws/pull/377). -- elb_classic_lb - migrated to boto3 SDK (https://github.com/ansible-collections/amazon.aws/pull/377). -- elb_classic_lb - added support for check_mode (https://github.com/ansible-collections/amazon.aws/pull/377). -- elb_classic_lb - added support for wait during creation (https://github.com/ansible-collections/amazon.aws/pull/377). -- elb_classic_lb - added support for wait during instance addition and removal (https://github.com/ansible-collections/amazon.aws/pull/377). -- elb_classic_lb - added retries on common AWS temporary API failures (https://github.com/ansible-collections/amazon.aws/pull/377). -- elb_classic_lb - various error messages changed due to refactor (https://github.com/ansible-collections/amazon.aws/pull/377). diff --git a/changelogs/fragments/430-add_support_for_ipv6_addresses.yml b/changelogs/fragments/430-add_support_for_ipv6_addresses.yml deleted file mode 100644 index b05ea9effcf..00000000000 --- a/changelogs/fragments/430-add_support_for_ipv6_addresses.yml +++ /dev/null @@ -1,4 +0,0 @@ -minor_changes: - - aws_service_ip_ranges - add new option ``ipv6_prefixes`` - to get only IPV6 addresses and prefixes for Amazon services - (https://github.com/ansible-collections/amazon.aws/pull/430) diff --git a/changelogs/fragments/507-fix_cloudformation_changeset_detection.yml b/changelogs/fragments/507-fix_cloudformation_changeset_detection.yml deleted file mode 100644 index b9c819b0e13..00000000000 --- a/changelogs/fragments/507-fix_cloudformation_changeset_detection.yml +++ /dev/null @@ -1,5 +0,0 @@ -minor_changes: - - cloudformation - fix detection when there are no changes. - Sometimes when there are no changes, the change set will have a status FAILED with StatusReason - No updates are to be performed - (https://github.com/ansible-collections/amazon.aws/pull/507). diff --git a/changelogs/fragments/508-s3_bucket-digital_ocean.yml b/changelogs/fragments/508-s3_bucket-digital_ocean.yml deleted file mode 100644 index e38b5e7340e..00000000000 --- a/changelogs/fragments/508-s3_bucket-digital_ocean.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- s3_bucket - update error handling to better support DigitalOcean Space (https://github.com/ansible-collections/amazon.aws/issues/508). diff --git a/changelogs/fragments/509-ec2_vol_add_check_mode_support.yml b/changelogs/fragments/509-ec2_vol_add_check_mode_support.yml deleted file mode 100644 index 7c009d578c9..00000000000 --- a/changelogs/fragments/509-ec2_vol_add_check_mode_support.yml +++ /dev/null @@ -1,3 +0,0 @@ -minor_changes: - - ec2_vol - add check_mode support - (https://github.com/ansible-collections/amazon.aws/pull/509). diff --git a/changelogs/fragments/512-ec2_snapshot_add_check_mode_support.yml.yml b/changelogs/fragments/512-ec2_snapshot_add_check_mode_support.yml.yml deleted file mode 100644 index acc069ad913..00000000000 --- a/changelogs/fragments/512-ec2_snapshot_add_check_mode_support.yml.yml +++ /dev/null @@ -1,3 +0,0 @@ -minor_changes: - - ec2_snapshot - add check_mode support - (https://github.com/ansible-collections/amazon.aws/pull/512). diff --git a/changelogs/fragments/516-ec2_ami_add_check_mode_support.yml b/changelogs/fragments/516-ec2_ami_add_check_mode_support.yml deleted file mode 100644 index 7511f2fac3c..00000000000 --- a/changelogs/fragments/516-ec2_ami_add_check_mode_support.yml +++ /dev/null @@ -1,3 +0,0 @@ -minor_changes: - - ec2_ami - add check_mode support - (https://github.com/ansible-collections/amazon.aws/pull/516). diff --git a/changelogs/fragments/520-ec2_ami-tagging.yml b/changelogs/fragments/520-ec2_ami-tagging.yml deleted file mode 100644 index 275c0117213..00000000000 --- a/changelogs/fragments/520-ec2_ami-tagging.yml +++ /dev/null @@ -1,4 +0,0 @@ -minor_changes: -- ec2_ami - use module_util helper for tagging AMIs (https://github.com/ansible-collections/amazon.aws/pull/520). -bugfixes: -- ec2_ami - fix problem when creating an AMI from an instance with ephemeral volumes (https://github.com/ansible-collections/amazon.aws/issues/511). diff --git a/changelogs/fragments/522-ec2_eni-tagging.yml b/changelogs/fragments/522-ec2_eni-tagging.yml deleted file mode 100644 index 3af277f5c0d..00000000000 --- a/changelogs/fragments/522-ec2_eni-tagging.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- ec2_eni - use module_util helper for tagging ENIs (https://github.com/ansible-collections/amazon.aws/pull/522). diff --git a/changelogs/fragments/523-ec2_vpc_igw-tagging.yml b/changelogs/fragments/523-ec2_vpc_igw-tagging.yml deleted file mode 100644 index 7486cd26464..00000000000 --- a/changelogs/fragments/523-ec2_vpc_igw-tagging.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - ec2_vpc_igw - use module_util helper for tagging (https://github.com/ansible-collections/amazon.aws/pull/523). diff --git a/changelogs/fragments/524-ec2_vpc_nat_gateway-tagging.yml b/changelogs/fragments/524-ec2_vpc_nat_gateway-tagging.yml deleted file mode 100644 index 1172f39ab8c..00000000000 --- a/changelogs/fragments/524-ec2_vpc_nat_gateway-tagging.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - ec2_vpc_nat_gateway - use module_util helper for tagging (https://github.com/ansible-collections/amazon.aws/pull/524). diff --git a/changelogs/fragments/525-ec2_vpc_endpoint-tagging.yml b/changelogs/fragments/525-ec2_vpc_endpoint-tagging.yml deleted file mode 100644 index eb6fc13956d..00000000000 --- a/changelogs/fragments/525-ec2_vpc_endpoint-tagging.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - ec2_vpc_endpoint - use module_util helper for tagging (https://github.com/ansible-collections/amazon.aws/pull/525). diff --git a/changelogs/fragments/526-ec2_instance_search_tags.yml b/changelogs/fragments/526-ec2_instance_search_tags.yml deleted file mode 100644 index de4dd6c8697..00000000000 --- a/changelogs/fragments/526-ec2_instance_search_tags.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- ec2_instance - ensure that ec2_instance falls back to the tag(Name) parameter when no filter and no name parameter is passed (https://github.com/ansible-collections/amazon.aws/issues/526). diff --git a/changelogs/fragments/527-ec2_instance-tagging.yml b/changelogs/fragments/527-ec2_instance-tagging.yml deleted file mode 100644 index 8ff05be37fa..00000000000 --- a/changelogs/fragments/527-ec2_instance-tagging.yml +++ /dev/null @@ -1,4 +0,0 @@ -minor_changes: -- ec2_instance - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/527). -- module_utils.tagging - add new helper to generate TagSpecification lists (https://github.com/ansible-collections/amazon.aws/pull/527). -- module_utils.ec2 - moved generic tagging helpers into module_utils.tagging (https://github.com/ansible-collections/amazon.aws/pull/527). diff --git a/changelogs/fragments/531-use_tags_handlers.yml b/changelogs/fragments/531-use_tags_handlers.yml deleted file mode 100644 index 44ae6c59c33..00000000000 --- a/changelogs/fragments/531-use_tags_handlers.yml +++ /dev/null @@ -1,5 +0,0 @@ -minor_changes: - - ec2_vpc_nat_gateway - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). - - ec2_vpc_igw - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). - - ec2_vpc_dhcp_option - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). - - ec2_vpc_endpoint - use module_util helpers for tagging (https://github.com/ansible-collections/amazon.aws/pull/531). diff --git a/changelogs/fragments/534-ec2_eni_add_check_mode_support.yml b/changelogs/fragments/534-ec2_eni_add_check_mode_support.yml deleted file mode 100644 index c33a9586d88..00000000000 --- a/changelogs/fragments/534-ec2_eni_add_check_mode_support.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- ec2_eni - add check mode support (https://github.com/ansible-collections/amazon.aws/pull/534). diff --git a/changelogs/fragments/544-vpc-endpoint-add-subnets-sg-option.yml b/changelogs/fragments/544-vpc-endpoint-add-subnets-sg-option.yml deleted file mode 100644 index 4c68f502194..00000000000 --- a/changelogs/fragments/544-vpc-endpoint-add-subnets-sg-option.yml +++ /dev/null @@ -1,3 +0,0 @@ -minor_changes: -- ec2_vpc_endpoint - added ``vpc_endpoint_subnets`` parameter to support defining the subnet attached to an interface or gateway endpoint (https://github.com/ansible-collections/amazon.aws/pull/544). -- ec2_vpc_endpoint - added ``vpc_endpoint_security_groups`` parameter to support defining the security group attached to an interface endpoint (https://github.com/ansible-collections/amazon.aws/pull/544). diff --git a/changelogs/fragments/548-ec2_key-tagging.yml b/changelogs/fragments/548-ec2_key-tagging.yml deleted file mode 100644 index 24b0382b295..00000000000 --- a/changelogs/fragments/548-ec2_key-tagging.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- ec2_key - add support for tagging key pairs (https://github.com/ansible-collections/amazon.aws/pull/548). diff --git a/changelogs/fragments/551-ec2_ami-tag-on-create.yml b/changelogs/fragments/551-ec2_ami-tag-on-create.yml deleted file mode 100644 index 22403e449d7..00000000000 --- a/changelogs/fragments/551-ec2_ami-tag-on-create.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- ec2_ami - when creating an AMI from an instance pass the tagging options at creation time (https://github.com/ansible-collections/amazon.aws/pull/551). diff --git a/changelogs/fragments/552-elb_classic_lb-fact.yml b/changelogs/fragments/552-elb_classic_lb-fact.yml deleted file mode 100644 index 1b63ad0541d..00000000000 --- a/changelogs/fragments/552-elb_classic_lb-fact.yml +++ /dev/null @@ -1,3 +0,0 @@ -deprecated_features: -- ec2_classic_lb - setting of the ``ec2_elb`` fact has been deprecated and will be removed in release 4.0.0 of the collection. - The module now returns ``elb`` which can be accessed using the register keyword (https://github.com/ansible-collections/amazon.aws/pull/552). diff --git a/changelogs/fragments/557-action_group-missing-entry.yml b/changelogs/fragments/557-action_group-missing-entry.yml deleted file mode 100644 index b9b3dd48996..00000000000 --- a/changelogs/fragments/557-action_group-missing-entry.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- AWS action group - added missing ``ec2_instance_facts`` entry (https://github.com/ansible-collections/amazon.aws/issues/557) diff --git a/docs/amazon.aws.aws_s3_module.rst b/docs/amazon.aws.aws_s3_module.rst index 66990d6fbff..2ec80a8df56 100644 --- a/docs/amazon.aws.aws_s3_module.rst +++ b/docs/amazon.aws.aws_s3_module.rst @@ -474,7 +474,16 @@ Parameters
PUT
(upload), GET
(download), geturl
(return download URL, Ansible 1.3+), getstr
(download object as string (1.3+)), list
(list keys, Ansible 2.0+), create
(bucket), delete
(bucket), delobj (delete object, Ansible 2.0+) and copy
object that is already stored in another (bucket).PUT
: uploadGET
: downloadgeturl
: return download URLgetstr
: download object as stringlist
: list keyscreate
: create bucketdelete
: delete bucketdelobj
: delete objectcopy
: copy object that is already stored in another bucketParameter | -Choices/Defaults | -Comments | -
---|---|---|
-
- access_logs
-
-
- dictionary
-
- |
- - | -
- An associative array of access logs configuration settings (see examples).
- |
-
-
- aws_access_key
-
-
- string
-
- |
- - | -
- AWS access key . If not set then the value of the AWS_ACCESS_KEY_ID , AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.If profile is set this parameter is ignored.
- Passing the aws_access_key and profile options at the same time has been deprecated and the options will be made mutually exclusive after 2022-06-01.
- aliases: ec2_access_key, access_key |
-
-
- aws_ca_bundle
-
-
- path
-
- |
- - | -
- The location of a CA Bundle to use when validating SSL certificates.
- Not used by boto 2 based modules.
- Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
- |
-
-
- aws_config
-
-
- dictionary
-
- |
- - | -
- A dictionary to modify the botocore configuration.
- Parameters can be found at https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html#botocore.config.Config.
- Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
- |
-
-
- aws_secret_key
-
-
- string
-
- |
- - | -
- AWS secret key . If not set then the value of the AWS_SECRET_ACCESS_KEY , AWS_SECRET_KEY , or EC2_SECRET_KEY environment variable is used.If profile is set this parameter is ignored.
- Passing the aws_secret_key and profile options at the same time has been deprecated and the options will be made mutually exclusive after 2022-06-01.
- aliases: ec2_secret_key, secret_key |
-
-
- connection_draining_timeout
-
-
- integer
-
- |
- - | -
- Wait a specified timeout allowing connections to drain before terminating an instance.
- |
-
-
- cross_az_load_balancing
-
-
- boolean
-
- |
-
-
|
-
- Distribute load across all configured Availability Zones.
- Defaults to
- false . |
-
-
- debug_botocore_endpoint_logs
-
-
- boolean
-
- |
-
-
|
-
- Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
- |
-
-
- ec2_url
-
-
- string
-
- |
- - | -
- URL to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
- aliases: aws_endpoint_url, endpoint_url |
-
-
- health_check
-
-
- dictionary
-
- |
- - | -
- An associative array of health check configuration settings (see examples).
- |
-
-
- idle_timeout
-
-
- integer
-
- |
- - | -
- ELB connections from clients and to servers are timed out after this amount of time.
- |
-
-
- instance_ids
-
-
- list
- / elements=string
-
- |
- - | -
- List of instance ids to attach to this ELB.
- |
-
-
- listeners
-
-
- list
- / elements=dictionary
-
- |
- - | -
- List of ports/protocols for this ELB to listen on (see examples).
- |
-
-
- name
-
-
- string
- / required
-
- |
- - | -
- The name of the ELB.
- |
-
-
- profile
-
-
- string
-
- |
- - | -
- Using profile will override aws_access_key, aws_secret_key and security_token and support for passing them at the same time as profile has been deprecated.
- aws_access_key, aws_secret_key and security_token will be made mutually exclusive with profile after 2022-06-01.
- aliases: aws_profile |
-
-
- purge_instance_ids
-
-
- boolean
-
- |
-
-
|
-
- Purge existing instance ids on ELB that are not found in instance_ids.
- |
-
-
- purge_listeners
-
-
- boolean
-
- |
-
-
|
-
- Purge existing listeners on ELB that are not found in listeners.
- |
-
-
- purge_subnets
-
-
- boolean
-
- |
-
-
|
-
- Purge existing subnet on ELB that are not found in subnets.
- |
-
-
- purge_zones
-
-
- boolean
-
- |
-
-
|
-
- Purge existing availability zones on ELB that are not found in zones.
- |
-
-
- region
-
-
- string
-
- |
- - | -
- The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
- aliases: aws_region, ec2_region |
-
-
- scheme
-
-
- string
-
- |
-
-
|
-
- The scheme to use when creating the ELB. For a private VPC-visible ELB use
- internal .If you choose to update your scheme with a different value the ELB will be destroyed and recreated. To update scheme you must use the option wait.
- |
-
-
- security_group_ids
-
-
- list
- / elements=string
-
- |
- - | -
- A list of security groups to apply to the ELB.
- |
-
-
- security_group_names
-
-
- list
- / elements=string
-
- |
- - | -
- A list of security group names to apply to the ELB.
- |
-
-
- security_token
-
-
- string
-
- |
- - | -
- AWS STS security token . If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.If profile is set this parameter is ignored.
- Passing the security_token and profile options at the same time has been deprecated and the options will be made mutually exclusive after 2022-06-01.
- aliases: aws_security_token, access_token |
-
-
- state
-
-
- string
- / required
-
- |
-
-
|
-
- Create or destroy the ELB.
- |
-
-
- stickiness
-
-
- dictionary
-
- |
- - | -
- An associative array of stickiness policy settings. Policy will be applied to all listeners (see examples).
- |
-
-
- subnets
-
-
- list
- / elements=string
-
- |
- - | -
- A list of VPC subnets to use when creating ELB. Zones should be empty if using this.
- |
-
-
- tags
-
-
- dictionary
-
- |
- - | -
- An associative array of tags. To delete all tags, supply an empty dict (
- {} ). |
-
-
- validate_certs
-
-
- boolean
-
- |
-
-
|
-
- When set to "no", SSL certificates will not be validated for communication with the AWS APIs.
- |
-
-
- wait
-
-
- boolean
-
- |
-
-
|
-
- When specified, Ansible will check the status of the load balancer to ensure it has been successfully removed from AWS.
- |
-
-
- wait_timeout
-
-
- integer
-
- |
-
- Default: 60
- |
-
- Used in conjunction with wait. Number of seconds to wait for the ELB to be terminated.
- A maximum of 600 seconds (10 minutes) is allowed.
- |
-
-
- zones
-
-
- list
- / elements=string
-
- |
- - | -
- List of availability zones to enable on this ELB.
- |
-
endpoints
.Parameter | +Choices/Defaults | +Comments | +|
---|---|---|---|
+
+ access_logs
+
+
+ dictionary
+
+ |
+ + | +
+ A dictionary of access logs configuration settings (see examples).
+ |
+ |
+ |
+
+ enabled
+
+
+ boolean
+
+ |
+
+
|
+
+ When set to
+ True will configure delivery of access logs to an S3 bucket.When set to
+ False will disable delivery of access logs. |
+
+ |
+
+ interval
+
+
+ integer
+
+ |
+
+
|
+
+ The interval for publishing the access logs to S3.
+ |
+
+ |
+
+ s3_location
+
+
+ string
+
+ |
+ + | +
+ The S3 bucket to deliver access logs to.
+ See https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-access-logs.html for more information about the necessary S3 bucket policies.
+ Required when enabled=True.
+ |
+
+ |
+
+ s3_prefix
+
+
+ string
+
+ |
+
+ Default: ""
+ |
+
+ Where in the S3 bucket to deliver the logs.
+ If the prefix is not provided or set to
+ "" , the log is placed at the root level of the bucket. |
+
+
+ aws_access_key
+
+
+ string
+
+ |
+ + | +
+ AWS access key . If not set then the value of the AWS_ACCESS_KEY_ID , AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.If profile is set this parameter is ignored.
+ Passing the aws_access_key and profile options at the same time has been deprecated and the options will be made mutually exclusive after 2022-06-01.
+ aliases: ec2_access_key, access_key |
+ |
+
+ aws_ca_bundle
+
+
+ path
+
+ |
+ + | +
+ The location of a CA Bundle to use when validating SSL certificates.
+ Not used by boto 2 based modules.
+ Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+ |
+ |
+
+ aws_config
+
+
+ dictionary
+
+ |
+ + | +
+ A dictionary to modify the botocore configuration.
+ Parameters can be found at https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html#botocore.config.Config.
+ Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+ |
+ |
+
+ aws_secret_key
+
+
+ string
+
+ |
+ + | +
+ AWS secret key . If not set then the value of the AWS_SECRET_ACCESS_KEY , AWS_SECRET_KEY , or EC2_SECRET_KEY environment variable is used.If profile is set this parameter is ignored.
+ Passing the aws_secret_key and profile options at the same time has been deprecated and the options will be made mutually exclusive after 2022-06-01.
+ aliases: ec2_secret_key, secret_key |
+ |
+
+ connection_draining_timeout
+
+
+ integer
+
+ |
+ + | +
+ Wait a specified timeout allowing connections to drain before terminating an instance.
+ Set to
+ 0 to disable connection draining. |
+ |
+
+ cross_az_load_balancing
+
+
+ boolean
+
+ |
+
+
|
+
+ Distribute load across all configured Availability Zones.
+ Defaults to
+ false . |
+ |
+
+ debug_botocore_endpoint_logs
+
+
+ boolean
+
+ |
+
+
|
+
+ Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+ |
+ |
+
+ ec2_url
+
+
+ string
+
+ |
+ + | +
+ URL to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+ aliases: aws_endpoint_url, endpoint_url |
+ |
+
+ health_check
+
+
+ dictionary
+
+ |
+ + | +
+ A dictionary of health check configuration settings (see examples).
+ |
+ |
+ |
+
+ healthy_threshold
+
+
+ integer
+ / required
+
+ |
+ + | +
+ The number of consecutive health checks successes required before moving the instance to the Healthy state.
+ |
+
+ |
+
+ interval
+
+
+ integer
+ / required
+
+ |
+ + | +
+ The approximate interval, in seconds, between health checks of an individual instance.
+ |
+
+ |
+
+ ping_path
+
+
+ string
+
+ |
+ + | +
+ The URI path which the ELB health check will query when performing a health check.
+ Required when ping_protocol=HTTP or ping_protocol=HTTPS.
+ |
+
+ |
+
+ ping_port
+
+
+ integer
+ / required
+
+ |
+ + | +
+ The TCP port to which the ELB will connect when performing a health check.
+ |
+
+ |
+
+ ping_protocol
+
+
+ string
+ / required
+
+ |
+ + | +
+ The protocol which the ELB health check will use when performing a health check.
+ Valid values are
+ 'HTTP' , 'HTTPS' , 'TCP' and 'SSL' . |
+
+ |
+
+ timeout
+
+
+ integer
+ / required
+
+ |
+ + | +
+ The amount of time, in seconds, after which no response means a failed health check.
+ aliases: response_timeout |
+
+ |
+
+ unhealthy_threshold
+
+
+ integer
+ / required
+
+ |
+ + | +
+ The number of consecutive health check failures required before moving the instance to the Unhealthy state.
+ |
+
+
+ idle_timeout
+
+
+ integer
+
+ |
+ + | +
+ ELB connections from clients and to servers are timed out after this amount of time.
+ |
+ |
+
+ instance_ids
+
+
+ list
+ / elements=string
+
+ |
+ + | +
+ List of instance ids to attach to this ELB.
+ |
+ |
+
+ listeners
+
+
+ list
+ / elements=dictionary
+
+ |
+ + | +
+ List of ports/protocols for this ELB to listen on (see examples).
+ Required when state=present and the ELB doesn't exist.
+ |
+ |
+ |
+
+ instance_port
+
+
+ integer
+ / required
+
+ |
+ + | +
+ The port on which the instance is listening.
+ |
+
+ |
+
+ instance_protocol
+
+
+ string
+
+ |
+ + | +
+ The protocol to use for routing traffic to instances.
+ Valid values are
+ HTTP , HTTPS , TCP , or SSL , |
+
+ |
+
+ load_balancer_port
+
+
+ integer
+ / required
+
+ |
+ + | +
+ The port on which the load balancer will listen.
+ |
+
+ |
+
+ protocol
+
+
+ string
+ / required
+
+ |
+ + | +
+ The transport protocol to use for routing.
+ Valid values are
+ HTTP , HTTPS , TCP , or SSL . |
+
+ |
+
+ proxy_protocol
+
+
+ boolean
+
+ |
+
+
|
+
+ Enable proxy protocol for the listener.
+ Beware, ELB controls for the proxy protocol are based on the instance_port. If you have multiple listeners talking to the same instance_port, this will affect all of them.
+ |
+
+ |
+
+ ssl_certificate_id
+
+
+ string
+
+ |
+ + | +
+ The Amazon Resource Name (ARN) of the SSL certificate.
+ |
+
+
+ name
+
+
+ string
+ / required
+
+ |
+ + | +
+ The name of the ELB.
+ The name of an ELB must be less than 32 characters and unique per-region per-account.
+ |
+ |
+
+ profile
+
+
+ string
+
+ |
+ + | +
+ Using profile will override aws_access_key, aws_secret_key and security_token and support for passing them at the same time as profile has been deprecated.
+ aws_access_key, aws_secret_key and security_token will be made mutually exclusive with profile after 2022-06-01.
+ aliases: aws_profile |
+ |
+
+ purge_instance_ids
+
+
+ boolean
+
+ |
+
+
|
+
+ Purge existing instance ids on ELB that are not found in instance_ids.
+ |
+ |
+
+ purge_listeners
+
+
+ boolean
+
+ |
+
+
|
+
+ Purge existing listeners on ELB that are not found in listeners.
+ |
+ |
+
+ purge_subnets
+
+
+ boolean
+
+ |
+
+
|
+
+ Purge existing subnets on the ELB that are not found in subnets.
+ Because it is not permitted to add multiple subnets from the same availability zone, subnets to be purged will be removed before new subnets are added. This may cause a brief outage if you try to replace all subnets at once.
+ |
+ |
+
+ purge_tags
+
+
+ boolean
+
+ added in 2.1.0
+ |
+
+
|
+
+ Whether to remove existing tags that aren't passed in the tags parameter.
+ |
+ |
+
+ purge_zones
+
+
+ boolean
+
+ |
+
+
|
+
+ Purge existing availability zones on ELB that are not found in zones.
+ |
+ |
+
+ region
+
+
+ string
+
+ |
+ + | +
+ The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+ aliases: aws_region, ec2_region |
+ |
+
+ scheme
+
+
+ string
+
+ |
+
+
|
+
+ The scheme to use when creating the ELB.
+ For a private VPC-visible ELB use
+ internal .If you choose to update your scheme with a different value the ELB will be destroyed and a new ELB created.
+ Defaults to scheme=internet-facing.
+ |
+ |
+
+ security_group_ids
+
+
+ list
+ / elements=string
+
+ |
+ + | +
+ A list of security groups to apply to the ELB.
+ |
+ |
+
+ security_group_names
+
+
+ list
+ / elements=string
+
+ |
+ + | +
+ A list of security group names to apply to the ELB.
+ |
+ |
+
+ security_token
+
+
+ string
+
+ |
+ + | +
+ AWS STS security token . If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.If profile is set this parameter is ignored.
+ Passing the security_token and profile options at the same time has been deprecated and the options will be made mutually exclusive after 2022-06-01.
+ aliases: aws_security_token, access_token |
+ |
+
+ state
+
+
+ string
+ / required
+
+ |
+
+
|
+
+ Create or destroy the ELB.
+ |
+ |
+
+ stickiness
+
+
+ dictionary
+
+ |
+ + | +
+ A dictionary of stickiness policy settings.
+ Policy will be applied to all listeners (see examples).
+ |
+ |
+ |
+
+ cookie
+
+
+ string
+
+ |
+ + | +
+ The name of the application cookie used for stickiness.
+ Required if enabled=true and type=application.
+ Ignored if enabled=false.
+ |
+
+ |
+
+ enabled
+
+
+ boolean
+
+ |
+
+
|
+
+ When enabled=false session stickiness will be disabled for all listeners.
+ |
+
+ |
+
+ expiration
+
+
+ integer
+
+ |
+ + | +
+ The time period, in seconds, after which the cookie should be considered stale.
+ If this parameter is not specified, the stickiness session lasts for the duration of the browser session.
+ Ignored if enabled=false.
+ |
+
+ |
+
+ type
+
+
+ string
+
+ |
+
+
|
+
+ The type of stickiness policy to apply.
+ Required if enabled=true.
+ Ignored if enabled=false.
+ |
+
+
+ subnets
+
+
+ list
+ / elements=string
+
+ |
+ + | +
+ A list of VPC subnets to use when creating the ELB.
+ Mutually exclusive with zones.
+ |
+ |
+
+ tags
+
+
+ dictionary
+
+ |
+ + | +
+ A dictionary of tags to apply to the ELB.
+ To delete all tags supply an empty dict (
+ {} ) and set purge_tags=true. |
+ |
+
+ validate_certs
+
+
+ boolean
+
+ |
+
+
|
+
+ When set to "no", SSL certificates will not be validated for communication with the AWS APIs.
+ |
+ |
+
+ wait
+
+
+ boolean
+
+ |
+
+
|
+
+ When creating, deleting, or adding instances to an ELB, if wait=true Ansible will wait for both the load balancer and related network interfaces to finish creating/deleting.
+ Support for waiting when adding instances was added in release 2.1.0.
+ |
+ |
+
+ wait_timeout
+
+
+ integer
+
+ |
+
+ Default: 180
+ |
+
+ Used in conjunction with wait. Number of seconds to wait for the ELB to be terminated.
+ A maximum of 600 seconds (10 minutes) is allowed.
+ |
+ |
+
+ zones
+
+
+ list
+ / elements=string
+
+ |
+ + | +
+ List of availability zones to enable on this ELB.
+ Mutually exclusive with subnets.
+ |
+