Skip to content

Conversation

@Lance52259
Copy link
Contributor

What this PR does / why we need it:

Supports new resource that used to apply a CDN template to domain(s).

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. add new resource to apply template to domains

PR Checklist

  • Tests added/passed.
./scripts/coverage.sh -o cdn -f TestAccDomainTemplateApply_basic
Prepare to calculate the coverage the following command:
TF_ACC=1 go test "./huaweicloud/services/acceptance/cdn" -v -coverprofile="./huaweicloud/services/acceptance/cdn/cdn_coverage.cov" -coverpkg="./huaweicloud/services/cdn" -run TestAccDomainTemplateApply_basic -timeout 360m -parallel 10
=== RUN   TestAccDomainTemplateApply_basic
=== PAUSE TestAccDomainTemplateApply_basic
=== CONT  TestAccDomainTemplateApply_basic
--- PASS: TestAccDomainTemplateApply_basic (11.81s)
PASS
coverage: 6.4% of statements in ./huaweicloud/services/cdn
ok      github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/acceptance/cdn       11.887s coverage: 6.4% of statements in ./huaweicloud/services/cdn
  • 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 <<<<<<

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

[APPROVALNOTIFIER] This PR is APPROVED

This PR has been approved by: @Lance52259

@Lance52259
Copy link
Contributor Author

image

@Lance52259
Copy link
Contributor Author

./scripts/coverage.sh -o cdn -f TestAccDomainTemplateApply_basic
Prepare to calculate the coverage the following command:
TF_ACC=1 go test "./huaweicloud/services/acceptance/cdn" -v -coverprofile="./huaweicloud/services/acceptance/cdn/cdn_coverage.cov" -coverpkg="./huaweicloud/services/cdn" -run TestAccDomainTemplateApply_basic -timeout 360m -parallel 10
=== RUN   TestAccDomainTemplateApply_basic
=== PAUSE TestAccDomainTemplateApply_basic
=== CONT  TestAccDomainTemplateApply_basic
--- PASS: TestAccDomainTemplateApply_basic (12.46s)
PASS
coverage: 6.7% of statements in ./huaweicloud/services/cdn
ok      github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/acceptance/cdn       12.537s coverage: 6.7% of statements in ./huaweicloud/services/cdn

@Lance52259 Lance52259 force-pushed the br_cdn_domain_template_apply branch from 8c042ce to ffd376b Compare December 1, 2025 09:40
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 size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants