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

chore: update the format of random password #4445

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

Conversation

ShiChangkuo
Copy link
Collaborator

What this PR does / why we need it:

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

RandomPassword will generate a 12-character random password.
The password format is uppercase letters*3 + lowercase letters*3 + special characters*2 + numbers*4
You can use "customChars" to overwrite the special characters.

Special notes for your reviewer:

Release note:


PR Checklist

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

Acceptance Steps Performed

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

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

@github-ci-robot github-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 18, 2024
@github-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This PR has been approved by: @ShiChangkuo

The full list of commands accepted by this bot can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. chore size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants