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

Possibility to set bucket policies with crossplane #36

Open
mwienk opened this issue Jun 3, 2024 · 1 comment
Open

Possibility to set bucket policies with crossplane #36

mwienk opened this issue Jun 3, 2024 · 1 comment

Comments

@mwienk
Copy link

mwienk commented Jun 3, 2024

Since the default bucket ACL permissions are quite limited, I want to use bucket policies as described in https://www.linode.com/docs/products/storage/object-storage/guides/bucket-policies/.

However, I can't see how I can achieve it with crossplane. I think I would need a unique identifier for the access key to be used as a principal, and a field to actually put the policy in, but I can't see any fields in the spec that would allow me to set a bucket policy.

Is this supported? Or is support planned if it isn't supported yet?

@tchinmai7
Copy link
Collaborator

hi @mwienk thanks for your request! Crossplane provider-linode is built on top of terraform provider-linode, and terraform-provider-linode doesn't support bucket policies as of now. Moreover, the recommended path with terraform-provider-linode is to use a generic/official s3 provider and configure bucket policies.

With crossplane, you maybe able to use https://marketplace.upbound.io/providers/upbound/provider-aws-s3/v1.5.0/resources/s3.aws.upbound.io/BucketPolicy/v1beta1#doc:spec-forProvider-policy to accomplish this.

This isn't a feature that's currently on our roadmap for now - but if you'd like it to be included, let us know and we can plan for it.

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

No branches or pull requests

2 participants