TPT-4111: Add info and list modules for regions vpc availability endpoints#779
Open
dawiddzhafarov wants to merge 3 commits intolinode:devfrom
Conversation
Contributor
There was a problem hiding this comment.
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) andlinode.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.
Contributor
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
📝 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