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

dds flavor support update #1300

Merged
merged 1 commit into from
Jul 22, 2021
Merged

Conversation

Jason-Zhang9309
Copy link
Collaborator

@Jason-Zhang9309 Jason-Zhang9309 commented Jul 22, 2021

What this PR does / why we need it:

dds flavor support update

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

Special notes for your reviewer:

Release note:

1. support update parameter `num` in `flavor` block, user can add a node to mongos or add a shard group by changing this.
2. support update parameter `size` in `flavor` block, user can scale up storage size of shard, replica or single by changing this.
3. support update parameter `spec_code` in `flavor` block, user can change the specification of node in mongos, shard, replica or single by changing this.

PR Checklist

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

Acceptance Steps Performed

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

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

@ShiChangkuo ShiChangkuo merged commit a0d0097 into huaweicloud:master Jul 22, 2021
@Jason-Zhang9309 Jason-Zhang9309 deleted the dev-dds branch July 26, 2021 09:01
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.

Add support for DDS instance class changing Add support for DDS instance scale up
2 participants