-
Notifications
You must be signed in to change notification settings - Fork 162
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
OBS Bucket Policy parameter not exposed in huaweicloud_obs_bucket #382
Comments
@ShiChangkuo Please have a look at this when you got time. |
@thiagoeh Sorry, I don't get your point. the bucket assumes the Private bucket policy (maybe created by other tools, I think), so unauthenticated users can not access the bucket even the acl is set "public-read". (https://support.huaweicloud.com/intl/en-us/usermanual-obs/obs_03_0114.html) |
In my tests, the bucket was created through the Terraform provider using the
Currently, only the Bucket ACL is exposed in the |
ok, will add additional parameter called |
I did some additional tests and found that it is possible to manage the OBS bucket policy through the Instead of including an additional parameter in |
We plan to deprecate s3 related resources soon. Is that possible to add a new |
When creating a bucket (
huaweicloud_obs_bucket
) there is no way to set the bucket policy. The bucket Policy has precedence over the bucket ACL.In region
ap-southeast-1
, the created bucket assumes the Private bucket policy.The bucket ACL setting is working as expected, but the bucket policy attribute is not exposed in the
huaweicloud_obs_bucket
resource.Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
A public accessible OBS bucket
Actual Behavior
Bucket ACL is configured to allow unauthenticated access, but the access is still denied because of the Private Bucket Policy.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
References
The text was updated successfully, but these errors were encountered: