Skip to content

Add managed prefix lists modules - #2419

Open
Ptico wants to merge 1 commit into
ansible-collections:mainfrom
Ptico:managed_prefix_list
Open

Add managed prefix lists modules#2419
Ptico wants to merge 1 commit into
ansible-collections:mainfrom
Ptico:managed_prefix_list

Conversation

@Ptico

@Ptico Ptico commented Feb 26, 2026

Copy link
Copy Markdown
SUMMARY

Add two new modules for managing and querying AWS EC2 Managed Prefix Lists.

  • ec2_vpc_managed_prefix_list allows creating, updating, and deleting Managed Prefix Lists including full lifecycle management of CIDR entries and tags
  • ec2_vpc_managed_prefix_list_info allows querying prefix lists by ID or filter, optionally including their CIDR entries
ISSUE TYPE
  • New Module Pull Request

@github-actions

github-actions Bot commented Feb 26, 2026

Copy link
Copy Markdown

Docs Build 📝

Thank you for contribution!✨

The docsite for this PR is available for download as an artifact from this run:
https://github.com/ansible-collections/community.aws/actions/runs/22450264612

You can compare to the docs for the main branch here:
https://ansible-collections.github.io/community.aws/branch/main

File changes:

  • A collections/community/aws/ec2_vpc_managed_prefix_list_info_module.html
  • A collections/community/aws/ec2_vpc_managed_prefix_list_module.html
  • M collections/community/aws/ec2_snapshot_copy_module.html
  • M collections/community/aws/ec2_win_password_module.html
  • M collections/community/aws/index.html
  • M collections/index_module.html
Click to see the diff comparison.

NOTE: only file modifications are shown here. New and deleted files are excluded.
See the file list and check the published docs to see those files.

diff --git a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/community/aws/ec2_snapshot_copy_module.html b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/community/aws/ec2_snapshot_copy_module.html
index 44a3827..2cb77a9 100644
--- a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/community/aws/ec2_snapshot_copy_module.html
+++ b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/community/aws/ec2_snapshot_copy_module.html
@@ -22,7 +22,7 @@
       <script src="../../../_static/sphinx_highlight.js?v=6ffebe34"></script>
     <script src="../../../_static/js/theme.js"></script>
     <link rel="search" title="Search" href="../../../search.html" />
-    <link rel="next" title="community.aws.ec2_win_password module – Gets the default administrator password for EC2 Windows instances" href="ec2_win_password_module.html" />
+    <link rel="next" title="community.aws.ec2_vpc_managed_prefix_list module – Manage AWS EC2 Managed Prefix Lists" href="ec2_vpc_managed_prefix_list_module.html" />
     <link rel="prev" title="community.aws.ec2_customer_gateway_info module – Gather information about customer gateways in AWS" href="ec2_customer_gateway_info_module.html" /><!-- extra head elements for Ansible beyond RTD Sphinx Theme -->
 
 
@@ -463,7 +463,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-ec2-s
 
 <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
         <a href="ec2_customer_gateway_info_module.html" class="btn btn-neutral float-left" title="community.aws.ec2_customer_gateway_info module – Gather information about customer gateways in AWS" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
-        <a href="ec2_win_password_module.html" class="btn btn-neutral float-right" title="community.aws.ec2_win_password module – Gets the default administrator password for EC2 Windows instances" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
+        <a href="ec2_vpc_managed_prefix_list_module.html" class="btn btn-neutral float-right" title="community.aws.ec2_vpc_managed_prefix_list module – Manage AWS EC2 Managed Prefix Lists" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
     </div>
 
   <hr/>
diff --git a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/community/aws/ec2_win_password_module.html b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/community/aws/ec2_win_password_module.html
index 9b82e36..6eb85eb 100644
--- a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/community/aws/ec2_win_password_module.html
+++ b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/community/aws/ec2_win_password_module.html
@@ -23,7 +23,7 @@
     <script src="../../../_static/js/theme.js"></script>
     <link rel="search" title="Search" href="../../../search.html" />
     <link rel="next" title="community.aws.ecs_attribute module – manage ecs attributes" href="ecs_attribute_module.html" />
-    <link rel="prev" title="community.aws.ec2_snapshot_copy module – Copies an EC2 snapshot and returns the new Snapshot ID" href="ec2_snapshot_copy_module.html" /><!-- extra head elements for Ansible beyond RTD Sphinx Theme -->
+    <link rel="prev" title="community.aws.ec2_vpc_managed_prefix_list_info module – Retrieve information about AWS EC2 Managed Prefix Lists" href="ec2_vpc_managed_prefix_list_info_module.html" /><!-- extra head elements for Ansible beyond RTD Sphinx Theme -->
 
 
 
@@ -417,7 +417,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-ec2-w
           
 
 <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
-        <a href="ec2_snapshot_copy_module.html" class="btn btn-neutral float-left" title="community.aws.ec2_snapshot_copy module – Copies an EC2 snapshot and returns the new Snapshot ID" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
+        <a href="ec2_vpc_managed_prefix_list_info_module.html" class="btn btn-neutral float-left" title="community.aws.ec2_vpc_managed_prefix_list_info module – Retrieve information about AWS EC2 Managed Prefix Lists" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
         <a href="ecs_attribute_module.html" class="btn btn-neutral float-right" title="community.aws.ecs_attribute module – manage ecs attributes" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
     </div>
 
diff --git a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/community/aws/index.html b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/community/aws/index.html
index 4ec2fe4..341abe5 100644
--- a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/community/aws/index.html
+++ b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/community/aws/index.html
@@ -227,6 +227,8 @@
 <li><p><a class="reference internal" href="ec2_customer_gateway_module.html#ansible-collections-community-aws-ec2-customer-gateway-module"><span class="std std-ref">ec2_customer_gateway module</span></a> – Manage an AWS customer gateway</p></li>
 <li><p><a class="reference internal" href="ec2_customer_gateway_info_module.html#ansible-collections-community-aws-ec2-customer-gateway-info-module"><span class="std std-ref">ec2_customer_gateway_info module</span></a> – Gather information about customer gateways in AWS</p></li>
 <li><p><a class="reference internal" href="ec2_snapshot_copy_module.html#ansible-collections-community-aws-ec2-snapshot-copy-module"><span class="std std-ref">ec2_snapshot_copy module</span></a> – Copies an EC2 snapshot and returns the new Snapshot ID</p></li>
+<li><p><a class="reference internal" href="ec2_vpc_managed_prefix_list_module.html#ansible-collections-community-aws-ec2-vpc-managed-prefix-list-module"><span class="std std-ref">ec2_vpc_managed_prefix_list module</span></a> – Manage AWS EC2 Managed Prefix Lists</p></li>
+<li><p><a class="reference internal" href="ec2_vpc_managed_prefix_list_info_module.html#ansible-collections-community-aws-ec2-vpc-managed-prefix-list-info-module"><span class="std std-ref">ec2_vpc_managed_prefix_list_info module</span></a> – Retrieve information about AWS EC2 Managed Prefix Lists</p></li>
 <li><p><a class="reference internal" href="ec2_win_password_module.html#ansible-collections-community-aws-ec2-win-password-module"><span class="std std-ref">ec2_win_password module</span></a> – Gets the default administrator password for EC2 Windows instances</p></li>
 <li><p><a class="reference internal" href="ecs_attribute_module.html#ansible-collections-community-aws-ecs-attribute-module"><span class="std std-ref">ecs_attribute module</span></a> – manage ecs attributes</p></li>
 <li><p><a class="reference internal" href="ecs_cluster_module.html#ansible-collections-community-aws-ecs-cluster-module"><span class="std std-ref">ecs_cluster module</span></a> – Create or terminate ECS clusters.</p></li>
diff --git a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/index_module.html b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/index_module.html
index e29b360..e93b160 100644
--- a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/index_module.html
+++ b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/index_module.html
@@ -170,6 +170,8 @@
 <li><p><a class="reference internal" href="community/aws/ec2_customer_gateway_module.html#ansible-collections-community-aws-ec2-customer-gateway-module"><span class="std std-ref">community.aws.ec2_customer_gateway</span></a> – Manage an AWS customer gateway</p></li>
 <li><p><a class="reference internal" href="community/aws/ec2_customer_gateway_info_module.html#ansible-collections-community-aws-ec2-customer-gateway-info-module"><span class="std std-ref">community.aws.ec2_customer_gateway_info</span></a> – Gather information about customer gateways in AWS</p></li>
 <li><p><a class="reference internal" href="community/aws/ec2_snapshot_copy_module.html#ansible-collections-community-aws-ec2-snapshot-copy-module"><span class="std std-ref">community.aws.ec2_snapshot_copy</span></a> – Copies an EC2 snapshot and returns the new Snapshot ID</p></li>
+<li><p><a class="reference internal" href="community/aws/ec2_vpc_managed_prefix_list_module.html#ansible-collections-community-aws-ec2-vpc-managed-prefix-list-module"><span class="std std-ref">community.aws.ec2_vpc_managed_prefix_list</span></a> – Manage AWS EC2 Managed Prefix Lists</p></li>
+<li><p><a class="reference internal" href="community/aws/ec2_vpc_managed_prefix_list_info_module.html#ansible-collections-community-aws-ec2-vpc-managed-prefix-list-info-module"><span class="std std-ref">community.aws.ec2_vpc_managed_prefix_list_info</span></a> – Retrieve information about AWS EC2 Managed Prefix Lists</p></li>
 <li><p><a class="reference internal" href="community/aws/ec2_win_password_module.html#ansible-collections-community-aws-ec2-win-password-module"><span class="std std-ref">community.aws.ec2_win_password</span></a> – Gets the default administrator password for EC2 Windows instances</p></li>
 <li><p><a class="reference internal" href="community/aws/ecs_attribute_module.html#ansible-collections-community-aws-ecs-attribute-module"><span class="std std-ref">community.aws.ecs_attribute</span></a> – manage ecs attributes</p></li>
 <li><p><a class="reference internal" href="community/aws/ecs_cluster_module.html#ansible-collections-community-aws-ecs-cluster-module"><span class="std std-ref">community.aws.ecs_cluster</span></a> – Create or terminate ECS clusters.</p></li>

@Ptico
Ptico force-pushed the managed_prefix_list branch from 4ffb60c to 29d8877 Compare February 26, 2026 16:04
@softwarefactory-project-zuul

Copy link
Copy Markdown
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/96c93c342c2b4e639d507dba372a4db9

✔️ ansible-galaxy-importer SUCCESS in 5m 42s (non-voting)
✔️ build-ansible-collection SUCCESS in 11m 09s
✔️ ansible-test-splitter SUCCESS in 4m 13s
integration-community.aws-1 FAILURE in 2m 51s
Skipped 21 jobs

@Ptico

Ptico commented Feb 26, 2026

Copy link
Copy Markdown
Author

I suspect I need to change something in aws-terminator, will take a look tomorrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant