» scaleway_object_bucket

Creates and manages Scaleway object storage buckets. For more information, see the documentation.

» Example Usage

resource "scaleway_object_bucket" "some_bucket" {
    name = "some-unique-name"
    acl = "private"

» Arguments Reference

The following arguments are supported:

  • name - (Required) The name of the bucket.
  • acl - (Optional) The canned ACL you want to apply to the bucket.
  • region - (Optional) The region in which the bucket should be created.

» Attributes Reference

In addition to all above arguments, the following attribute is exported:

  • id - The unique name of the bucket.

» Import

Buckets can be imported using the {region}/{bucketName} identifier, e.g.

$ terraform import scaleway_object_bucket.some_bucket fr-par/some-bucket