Skip to content

Conversation

@profoundwu
Copy link
Contributor

What this PR does / why we need it:
add this data source to check whether data can be transferred to the OBS bucket
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 this data source to check whether data can be transferred to the OBS bucket

PR Checklist

  • Tests added/passed.
make testacc TEST="./huaweicloud/services/acceptance/cts" TESTARGS="-run TestAccDataSourceCtsCheckBucket_basic"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud/services/acceptance/cts -v -run TestAccDataSourceCtsCheckBucket_basic -timeout 360m -parallel 4
=== RUN   TestAccDataSourceCtsCheckBucket_basic
=== PAUSE TestAccDataSourceCtsCheckBucket_basic
=== CONT  TestAccDataSourceCtsCheckBucket_basic
--- PASS: TestAccDataSourceCtsCheckBucket_basic (52.69s)
PASS
ok      github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/acceptance/cts       52.740s
  • 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 <<<<<<

layout: "huaweicloud"
page_title: "HuaweiCloud: huaweicloud_cts_check_bucket"
description: |-
Use this data source to check whether data can be transferred to the OBS bucket.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Use this data source to check whether data can be transferred to the OBS bucket.
Use this data source to check whether data can be transferred to the configured OBS bucket.

"github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/utils"
)

func DataSourceCheckBucket() *schema.Resource {
Copy link
Collaborator

Choose a reason for hiding this comment

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

should be change to resource

@github-ci-robot github-ci-robot added the needs-rebase This branch has conflicts that must be resolved. label Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature needs-rebase This branch has conflicts that must be resolved. size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants