Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add data source for IEC vpc, subnet and port #1152

Merged
merged 8 commits into from
May 21, 2021

Conversation

ShiChangkuo
Copy link
Collaborator

@ShiChangkuo ShiChangkuo commented May 21, 2021

What this PR does / why we need it:

Which issue this PR fixes:
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)
relate to #1151

Special notes for your reviewer:

Release note:

the following data sources are added:

  • huaweicloud_iec_port
  • huaweicloud_iec_vpc
  • huaweicloud_iec_vpc_subnets

PR Checklist

  • Tests added/passed.
  • Documentation updated.
  • Schema updated.

Acceptance Steps Performed

$ make testacc TEST='./huaweicloud' TESTARGS='-run TestAccIECVpcDataSource_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud -v -run TestAccIECVpcDataSource_basic -timeout 360m -parallel 4
=== RUN   TestAccIECVpcDataSource_basic
=== PAUSE TestAccIECVpcDataSource_basic
=== CONT  TestAccIECVpcDataSource_basic
--- PASS: TestAccIECVpcDataSource_basic (23.73s)
PASS
ok      github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud       23.807s

$ make testacc TEST='./huaweicloud' TESTARGS='-run TestAccIECSubnetsDataSource_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud -v -run TestAccIECSubnetsDataSource_basic -timeout 360m -parallel 4
=== RUN   TestAccIECSubnetsDataSource_basic
=== PAUSE TestAccIECSubnetsDataSource_basic
=== CONT  TestAccIECSubnetsDataSource_basic
--- PASS: TestAccIECSubnetsDataSource_basic (52.02s)
PASS
ok      github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud       52.083s

$ make testacc TEST='./huaweicloud' TESTARGS='-run TestAccIECPortDataSource_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud -v -run TestAccIECPortDataSource_basic -timeout 360m -parallel 4
=== RUN   TestAccIECPortDataSource_basic
=== PAUSE TestAccIECPortDataSource_basic
=== CONT  TestAccIECPortDataSource_basic
--- PASS: TestAccIECPortDataSource_basic (52.52s)
PASS
ok      github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud       52.567s

@ShiChangkuo ShiChangkuo changed the title [WIP] Add data source for IEC vpc, subnet and port Add data source for IEC vpc, subnet and port May 21, 2021
@ShiChangkuo ShiChangkuo merged commit 4626953 into huaweicloud:master May 21, 2021
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