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(cts): add this data source to check whether data can be transferred to the OBS bucket #6434

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants