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

feat(dws): add new data source to query volumes of the logical cluster #5618

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wuzhuanhong
Copy link
Contributor

What this PR does / why we need it:

Add new data source to query volumes corresponding to logical cluster.

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:

1. add new data source.
2. add corresponding to document and acceptance test.

PR Checklist

  • Tests added/passed.
make testacc TEST='./huaweicloud/services/acceptance/dws' TESTARGS='-run TestAccDataSourceLogicalClusterVolumes'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud/services/acceptance/dws -v -run TestAccDataSourceLogicalClusterVolumes -timeout 360m -parallel 4
=== RUN   TestAccDataSourceLogicalClusterVolumes_basic
=== PAUSE TestAccDataSourceLogicalClusterVolumes_basic
=== CONT  TestAccDataSourceLogicalClusterVolumes_basic
--- PASS: TestAccDataSourceLogicalClusterVolumes_basic (27.66s)
PASS
ok      github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/acceptance/dws       27.717s
  • Documentation updated.

  • Schema updated.

  • CheckDeleted.

    • a. During query operation (Read Context)
      aa. Resource not found
      >>>>>> Paste the screenshot here <<<<<<

    • b. During delete/disassociate/unbind operation (Delete Context)
      ba. Resource not found
      >>>>>> Paste the screenshot here <<<<<<

@wuzhuanhong
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant