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

ionoscloud_s3_versioning

Manages Buckets versioning on IONOS CLOUD.

Manages Buckets versioning on IONOS CLOUD.

Example Usage

resource "ionoscloud_s3_bucket" "example" {
  name = "example"
}

resource "ionoscloud_s3_bucket_versioning" "example"{
  bucket = ionoscloud_s3_bucket.example.name
  versioning_configuration {
    status = "Enabled"
  }
}

Argument Reference

The following arguments are supported:

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

  • versioning_configuration - (Required)[block] A block of versioning_configuration as defined below.

    • status - (Required)[string] The versioning state of the bucket. Can be Enabled or Suspended.

    • mfa_delete - (Optional)[string] Specifies whether MFA delete is enabled or not. Can be Enabled or Disabled.

Import

IONOS Object Storage Bucket Versioning can be imported using the bucket name.

Last updated

Was this helpful?