terraform-provider-huaweicloud
terraform-provider-huaweicloud copied to clipboard
feat(apig/throttle): new data source supported for associated res query
What this PR does / why we need it: Support a new data source that used to query throttling policies associated with the API.
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. new data source supported for associated resources query.
PR Checklist
- [x] Tests added/passed.
- [x] Documentation updated.
- [x] Schema updated.
Acceptance Steps Performed
make testacc TEST='./huaweicloud/services/acceptance/apig' TESTARGS='-run=TestAccDataSourceApiAssociatedThrottlingPolicies_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud/services/acceptance/apig -v -run=TestAccDataSourceApiAssociatedThrottlingPolicies_basic -timeout 360m -parallel 4
=== RUN TestAccDataSourceApiAssociatedThrottlingPolicies_basic
=== PAUSE TestAccDataSourceApiAssociatedThrottlingPolicies_basic
=== CONT TestAccDataSourceApiAssociatedThrottlingPolicies_basic
--- PASS: TestAccDataSourceApiAssociatedThrottlingPolicies_basic (620.30s)
PASS
ok github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/acceptance/apig 620.340s
[APPROVALNOTIFIER] This PR is APPROVED
This PR has been approved by: @Lance52259
make testacc TEST='./huaweicloud/services/acceptance/apig' TESTARGS='-run=TestAccDataSourceApiAssociatedThrottlingPolicies_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud/services/acceptance/apig -v -run=TestAccDataSourceApiAssociatedThrottlingPolicies_basic -timeout 360m -parallel 4
=== RUN TestAccDataSourceApiAssociatedThrottlingPolicies_basic
=== PAUSE TestAccDataSourceApiAssociatedThrottlingPolicies_basic
=== CONT TestAccDataSourceApiAssociatedThrottlingPolicies_basic
--- PASS: TestAccDataSourceApiAssociatedThrottlingPolicies_basic (634.90s)
PASS
ok github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/acceptance/apig 634.947s
/lgtm