Open abikouo opened 4 days ago
Thank you for contribution!āØ
The docsite for this PR is available for download as an artifact from this run: https://github.com/ansible-collections/amazon.aws/actions/runs/9744500510
You can compare to the docs for the main
branch here:
https://ansible-collections.github.io/amazon.aws/branch/main
File changes:
M
collections/amazon/aws/ec2_eip_info_module.htmlM
collections/amazon/aws/ec2_eip_module.html
filters
dictionary
A dict of filters to apply. Each dict item consists of a filter key and filter value. See https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-addresses.html#options for possible filters. Filter names and values are case sensitive.
+A dict of filters to apply. Each dict item consists of a filter key and filter value. See https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-addresses.html#options for possible filters. Filter names and values are case sensitive.
Default: {}
domain
string
The network (vpc).
+The network ( vpc).
Returned: always
Sample: "vpc"
The id of the device for the EIP.
Can be an EC2 Instance id or Elastic Network Interface (ENI) id.
-When specifying an ENI id, in_vpc
must be true
.
When specifying an ENI id, in_vpc must be true
The instance_id
alias was removed in release 6.0.0.
boolean
The IP address of a previously allocated EIP.
-When state=present
and device is specified, the EIP is associated with the device.
When state=absent
and device is specified, the EIP is disassociated from the device.
When state=present and device is specified, the EIP is associated with the device.
+When state=absent and device is specified, the EIP is disassociated from the device.
Allocates the new Elastic IP from the provided public IPv4 pool (BYOIP) only applies to newly allocated Elastic IPs, isnāt validated when reuse_existing_ip_allowed=true
.
Allocates the new Elastic IP from the provided public IPv4 pool (BYOIP) only applies to newly allocated Elastic IPs, isnāt validated when reuse_existing_ip_allowed=true.
state
string
When state=present
, allocate an EIP or associate an existing EIP with a device.
When state=absent
, disassociate the EIP from the device and optionally release it.
When state=present
, allocate an EIP or associate an existing EIP with a device.
When state=absent
, disassociate the EIP from the device and optionally release it.
Choices:
tag_name
string
When reuse_existing_ip_allowed=true
, supplement with this option to only reuse an Elastic IP if it is tagged with tag_name
.
When reuse_existing_ip_allowed=true, supplement with this option to only reuse an Elastic IP if it is tagged with tag_name.
There may be a delay between the time the EIP is assigned and when the cloud instance is reachable via the new address. Use wait_for and pause to delay further playbook execution until the instance is reachable, if necessary.
This module returns multiple changed statuses on disassociation or release. It returns an overall status based on any changes occurring. It also returns individual changed statuses for disassociation and release.
Support for tags
and purge_tags
was added in release 2.1.0.
Support for tags and purge_tags was added in release 2.1.0.
Caution: For modules, environment variables and configuration files are read from the Ansible āhostā context and not the ācontrollerā context. As such, files may need to be explicitly copied to the āhostā. For lookup and connection plugins, environment variables and configuration files are read from the Ansible ācontrollerā context and not the āhostā context.
The AWS SDK (boto3) that Ansible uses may also read defaults for credentials and other settings, such as the region, from its configuration files in the Ansible āhostā context (typically ~/.aws/credentials
). See https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html for more information.
allocation_id
string
Allocation id of the elastic ip.
+allocation_id of the elastic ip
Returned: on success
Sample: "eipalloc-51aa3a6c"
public_ip
string
An elastic ip address.
+an elastic ip address
Returned: on success
Sample: "52.88.159.209"
Build failed. https://ansible.softwarefactory-project.io/zuul/buildset/a1546cce045543748bd3d26bc0be440b
:heavy_check_mark: ansible-galaxy-importer SUCCESS in 3m 25s :heavy_check_mark: build-ansible-collection SUCCESS in 15m 55s :heavy_check_mark: ansible-test-splitter SUCCESS in 6m 47s :x: integration-amazon.aws-1 FAILURE in 6m 52s Skipped 43 jobs
Build succeeded. https://ansible.softwarefactory-project.io/zuul/buildset/4d53ca6c0b0b4fde83c0e9c1eba8c7ae
:heavy_check_mark: ansible-galaxy-importer SUCCESS in 3m 21s :heavy_check_mark: build-ansible-collection SUCCESS in 15m 38s :heavy_check_mark: ansible-test-splitter SUCCESS in 6m 38s :heavy_check_mark: integration-amazon.aws-1 SUCCESS in 9m 36s Skipped 43 jobs
SUMMARY
Refactor ec2_eip,ec2_eip_info modules
ISSUE TYPE
COMPONENT NAME
ec2_eip ec2_eip_info