terraform-provider-huaweicloud
terraform-provider-huaweicloud copied to clipboard
fix(ecs/password): use v1 api to reset the password
What this PR does / why we need it:
the v2 api for resetting password is not available any more, so use v1 api to reset the password
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:
use v1 api to reset the password
PR Checklist
- [x] Tests added/passed.
- [ ] Documentation updated.
- [ ] Schema updated.
Acceptance Steps Performed
make testacc TEST='./huaweicloud' TESTARGS='-run TestAccComputeInstance_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud -v -run TestAccComputeInstance_basic -timeout 360m -parallel 4
=== RUN TestAccComputeInstance_basic
=== PAUSE TestAccComputeInstance_basic
=== CONT TestAccComputeInstance_basic
--- PASS: TestAccComputeInstance_basic (194.34s)
PASS
ok github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud 194.525s