---
title: "exoscale_sos_bucket_policy (Data Source)"
description: "Fetch Exoscale SOS Bucket Policies https://community.exoscale.com/product/storage/object-storage/how-to/bucketpolicy/."
url: https://community.exoscale.com/reference/terraform/provider/data-sources/sos_bucket_policy/
section: reference
last_updated: 2026-09-29
---
> For AI agents: the documentation index is at https://community.exoscale.com/llms.txt. Every page is available as markdown at `<page URL>index.md` or with `Accept: text/markdown`.

# exoscale_sos_bucket_policy (Data Source)

Fetch Exoscale [SOS Bucket Policies](https://community.exoscale.com/product/storage/object-storage/how-to/bucketpolicy/index.md).




## Schema

### Required

- `bucket` (String) The name of the bucket to which the policy is to be applied.
- `zone` (String) The Exoscale [Zone](https://www.exoscale.com/datacenters/) name.

### Optional

- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))

### Read-Only

- `policy` (String) The content of the policy

<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`

Optional:

- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.



