Skip to content

Add datasources for region vpc availability and regions vpc availability#2246

Open
dawiddzhafarov wants to merge 2 commits intolinode:devfrom
dawiddzhafarov:feature/TPT-4110-terraform-support-data-sources-for-regions-vpc-availability-endpoints
Open

Add datasources for region vpc availability and regions vpc availability#2246
dawiddzhafarov wants to merge 2 commits intolinode:devfrom
dawiddzhafarov:feature/TPT-4110-terraform-support-data-sources-for-regions-vpc-availability-endpoints

Conversation

@dawiddzhafarov
Copy link
Contributor

📝 Description

This PR adds two new datasources: linode_region_vpc_availability and linode_regions_vpc_availability. This is the result of adding coverage for those endpoints in linodego, which must be merged first.

linode_region_vpc_availability requires providing id attribute, equivalent to the Region ID. Returns available (bool) and available_ipv6_prefix_lengths (list) attributes.

linode_regions_vpc_availability does not require any attributes as input. Returns the same data as above (along id attribute) for all the regions, inside the regions_vpc_availability attribute.

✔️ How to Test

To run integration tests:

  • make PKG_NAME="regionvpcavailability" TEST_CASE="TestAccDataSourceRegionVPCAvailability_basic" test-int
  • make PKG_NAME="regionsvpcavailability" TEST_CASE="TestAccDataSourceRegionsVPCAvailability_basic" test-int

@dawiddzhafarov dawiddzhafarov requested a review from a team as a code owner February 3, 2026 14:06
@dawiddzhafarov dawiddzhafarov requested review from lgarber-akamai and vshanthe and removed request for a team February 3, 2026 14:06
@dawiddzhafarov dawiddzhafarov added the new-feature for new features in the changelog. label Feb 3, 2026
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.

1 participant