terraform-provider-huaweicloud
terraform-provider-huaweicloud copied to clipboard
feat(sfs): add a new resource to manage SFS Turbo DU task
What this PR does / why we need it:
Add a new resource to manage SFS Turbo DU task.
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.support a new resource to manage SFS Turbo DU task
2.support related document and acceptance test.
PR Checklist
- [x] Tests added/passed.
- [x] Documentation updated.
- [x] Schema updated.
- [x] CheckDeleted
About the checking items of the CheckDeleted logic, we need you provide these corresponding verification results, and paste the screenshots of the results (if it is actually checked) to the designated location.
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 <<<<<<
Acceptance Steps Performed
$ make testacc TEST="./huaweicloud/services/acceptance/sfs" TESTARGS="-run TestAccDuTask_basic"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud/services/acceptance/sfs -v -run TestAccDuTask_basic -timeout 360m -parallel 4
=== RUN TestAccDuTask_basic
=== PAUSE TestAccDuTask_basic
=== CONT TestAccDuTask_basic
--- PASS: TestAccDuTask_basic (787.77s)
PASS
ok github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/acceptance/sfs 787.817s