Skip to content

TPT-4111: Add info and list modules for regions vpc availability endpoints#779

Open
dawiddzhafarov wants to merge 3 commits intolinode:devfrom
dawiddzhafarov:feature/TPT-4111-ansible-add-info-and-list-modules-for-regions-vpc-availability-endpoints
Open

TPT-4111: Add info and list modules for regions vpc availability endpoints#779
dawiddzhafarov wants to merge 3 commits intolinode:devfrom
dawiddzhafarov:feature/TPT-4111-ansible-add-info-and-list-modules-for-regions-vpc-availability-endpoints

Conversation

@dawiddzhafarov
Copy link
Copy Markdown
Contributor

@dawiddzhafarov dawiddzhafarov commented Apr 13, 2026

📝 Description

This PR add two modules:

  • regions_vpc_availability_list - lists regions VPC availability info.
  • region_vpc_availability_info - fetches info about a single region VPC availability.

✔️ How to Test

make TEST_SUITE="regions_vpc_availability_list" test-int
make TEST_SUITE="region_vpc_availability_info" test-int

@dawiddzhafarov dawiddzhafarov requested a review from Copilot April 13, 2026 08:55
@dawiddzhafarov dawiddzhafarov added the new-feature for new features in the changelog. label Apr 13, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds two new Ansible modules to expose Linode Region VPC Availability data (list + single-item info), along with generated documentation and integration coverage.

Changes:

  • Introduces linode.cloud.regions_vpc_availability_list (list/filter endpoint) and linode.cloud.region_vpc_availability_info (single region lookup).
  • Adds module doc fragments + generated docs pages and updates the top-level README module tables.
  • Adds new integration targets for both modules.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
tests/integration/targets/regions_vpc_availability_list/tasks/main.yaml New integration test for the list module.
tests/integration/targets/region_vpc_availability_info/tasks/main.yaml New integration test for the info module.
README.md Registers the new modules in the README module tables.
plugins/modules/regions_vpc_availability_list.py Implements the list module using the /regions/vpc-availability endpoint.
plugins/modules/region_vpc_availability_info.py Implements the info module for a single region’s VPC availability.
plugins/module_utils/doc_fragments/regions_vpc_availability_list.py Specdoc examples + sample output for the list module.
plugins/module_utils/doc_fragments/region_vpc_availability_info.py Specdoc examples + sample output for the info module.
docs/modules/regions_vpc_availability_list.md Generated module docs for the list module.
docs/modules/region_vpc_availability_info.md Generated module docs for the info module.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread plugins/module_utils/doc_fragments/regions_vpc_availability_list.py Outdated
Comment thread plugins/module_utils/doc_fragments/region_vpc_availability_info.py
Comment thread docs/modules/regions_vpc_availability_list.md Outdated
Comment thread docs/modules/region_vpc_availability_info.md
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/modules/regions_vpc_availability_list.md
Comment thread docs/modules/region_vpc_availability_info.md
Comment thread README.md
@dawiddzhafarov dawiddzhafarov marked this pull request as ready for review April 14, 2026 12:37
@dawiddzhafarov dawiddzhafarov requested review from a team as code owners April 14, 2026 12:37
@dawiddzhafarov dawiddzhafarov requested review from ckulinsk and jbilskiAkam and removed request for a team April 14, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-feature for new features in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants