Skip to content

Commit

Permalink
get rid of s3 resoure and data source (#973)
Browse files Browse the repository at this point in the history
the huaweicloud_s3_* resource and data source have marked as
deprecated since v1.17.0, use huaweicloud_obs_* instead.
  • Loading branch information
ShiChangkuo authored Mar 8, 2021
1 parent 837755e commit a16a693
Show file tree
Hide file tree
Showing 29 changed files with 56 additions and 5,355 deletions.
52 changes: 0 additions & 52 deletions docs/data-sources/s3_bucket_object.md

This file was deleted.

5 changes: 3 additions & 2 deletions docs/resources/obs_bucket_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ POLICY
### Policy with S3 format

```hcl
resource "huaweicloud_obs_bucket" "b" {
resource "huaweicloud_obs_bucket" "bucket" {
bucket = "my-test-bucket"
}
Expand Down Expand Up @@ -68,7 +68,8 @@ POLICY

The following arguments are supported:

* `region` - (Optional, String, ForceNew) The region in which to create the OBS bucket policy resource. If omitted, the provider-level region will be used. Changing this creates a new OBS bucket policy resource.
* `region` - (Optional, String, ForceNew) The region in which to create the OBS bucket policy resource.
If omitted, the provider-level region will be used. Changing this creates a new OBS bucket policy resource.

* `bucket` - (Required, String, ForceNew) Specifies the name of the bucket to which to apply the policy.
* `policy` - (Required, String) Specifies the text of the bucket policy in JSON format. For more information about
Expand Down
240 changes: 0 additions & 240 deletions docs/resources/s3_bucket.md

This file was deleted.

83 changes: 0 additions & 83 deletions docs/resources/s3_bucket_object.md

This file was deleted.

Loading

0 comments on commit a16a693

Please sign in to comment.