For the complete documentation index, see llms.txt. This page is also available as Markdown.

ionoscloud_s3_bucket_policy

Get information about IONOS Object Storage Buckets policies.

The Bucket Policy data source can be used to search for and return existing bucket policies. If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned. When this happens, please refine your search string so that it is specific enough to return only one result.

Example Usage


data "ionoscloud_s3_bucket_policy" "example" {
  bucket = "example"
}

Argument Reference

The following arguments are supported:

  • bucket - (Required)[string] The name of the bucket where the object will be stored.

Attributes Reference

The following attributes are returned by the datasource:

  • policy - The policy of the bucket.

Last updated

Was this helpful?