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

obs_bucket_policy: the given example does not work #2329

Closed
sekoban opened this issue Oct 4, 2023 · 1 comment
Closed

obs_bucket_policy: the given example does not work #2329

sekoban opened this issue Oct 4, 2023 · 1 comment
Assignees

Comments

@sekoban
Copy link

sekoban commented Oct 4, 2023

https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs/resources/obs_bucket_policy

The given example does not work: "Error: error putting OBS policy: obs: service returned error: Status=400 Bad Request, Code=MalformedPolicy, Message=Action does not apply to any resource(s) in statement., RequestId=0000018AFB2ADF2549D83DEBECE5D1AE"

I assume "ListBucket" and "ListBucketVersions" do not exist.

@artem-lifshits artem-lifshits self-assigned this Oct 4, 2023
otc-zuul bot pushed a commit that referenced this issue Oct 5, 2023
[OBS]: fix example documentation for `obs_bucket_policy`

Summary of the Pull Request
Fix example documentation for opentelekomcloud_obs_bucket_policy.
PR Checklist

 Refers to: #2329
 Documentation updated.
 Release notes added.

Reviewed-by: Anton Sidelnikov
Reviewed-by: Aloento
@artem-lifshits
Copy link
Member

@sekoban thank you for reporting, fixed in latest release.

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

No branches or pull requests

2 participants