Set Scaleway bucket visibility (public/private)
scaleway_s3_set_bucket_visibilitySet a Scaleway S3 bucket's visibility to public-read or private. Requires confirm=true when making public; use bucket policies for finer-grained access control.
Instructions
Set bucket visibility via canned ACL: 'public-read' grants the anonymous internet READ on ALL objects (the console's 'Public' setting) - requires confirm=true; 'private' restores owner-only access. Note Bucket Policies (scaleway_s3_put_bucket_policy) are the finer-grained mechanism - this tool is the coarse on/off switch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | Bucket name. | |
| region | No | Region to operate in. Defaults to the server's configured region (fr-par). | |
| confirm | No | Required true when visibility=public-read. | |
| visibility | Yes |