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

feat(as): add a new resource to manage policy execute #6558

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

ruwenqiang123
Copy link
Contributor

What this PR does / why we need it:

Add a new resource to manage policy execute.

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:


PR Checklist

  • Tests added/passed.
$ make testacc TEST="./huaweicloud/services/acceptance/as" TESTARGS="-run TestAccResourceExecutePolicy_basic"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud/services/acceptance/as -v -run TestAccResourceExecutePolicy_basic -timeout 360m -parallel 4
=== RUN   TestAccResourceExecutePolicy_basic
=== PAUSE TestAccResourceExecutePolicy_basic
=== CONT  TestAccResourceExecutePolicy_basic
--- PASS: TestAccResourceExecutePolicy_basic (22.05s)
PASS
ok      github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/acceptance/as        22.106s
  • Documentation updated.

  • Schema updated.

  • CheckDeleted.

    • 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 <<<<<<

@ruwenqiang123 ruwenqiang123 force-pushed the dev_execute branch 2 times, most recently from 853460a to cbadbba Compare March 24, 2025 06:38
@ruwenqiang123
Copy link
Contributor Author

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

@deer-hang
Copy link
Contributor

/approve
/lgtm

@github-ci-robot github-ci-robot added LGTM /lgtm approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Mar 25, 2025
Copy link
Collaborator

@github-ci-robot github-ci-robot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR has been approved by: @deer-hang

/approve
/lgtm

@github-ci-robot github-ci-robot merged commit dad3e1c into huaweicloud:master Mar 25, 2025
14 checks passed
@ruwenqiang123 ruwenqiang123 deleted the dev_execute branch April 8, 2025 08:34
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. feature LGTM /lgtm size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants