FlexibleEngineCloud / terraform-provider-flexibleengine

Terraform flexibleengine provider
https://www.terraform.io/docs/providers/flexibleengine/
Mozilla Public License 2.0
30 stars 53 forks source link

feat(vpc): import vpc resource and add unit test and docs #1057

Closed Zhukun-Huawei closed 9 months ago

Zhukun-Huawei commented 10 months ago

What this PR does / why we need it: add vpc resources/data sources for flexibleengine, including vpc_subnets, vpcs Which issue this PR fixes: (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged) fixes #xxx

Special notes for your reviewer:

Release note:

PR Checklist

Acceptance Steps Performed

vpc_subnets
=== RUN   TestAccVpcSubnetsDataSource_basic
=== PAUSE TestAccVpcSubnetsDataSource_basic
=== CONT  TestAccVpcSubnetsDataSource_basic
--- PASS: TestAccVpcSubnetsDataSource_basic (147.13s)
PASS
coverage: 1.7% of statements in ../../../terraform-provider-flexibleengine/...
vpcs 
=== RUN   TestAccVpcsDataSource_basic
=== PAUSE TestAccVpcsDataSource_basic
=== CONT  TestAccVpcsDataSource_basic
--- PASS: TestAccVpcsDataSource_basic (163.35s)
PASS
coverage: 1.7% of statements in ../../../terraform-provider-flexibleengine/...
Zippo-Wang commented 9 months ago

/lgtm