output "bucket" { description = "Bucket containing the audit copy." value = oci_objectstorage_bucket.audit.name } output "namespace" { description = "The tenancy's Object Storage namespace." value = data.oci_objectstorage_namespace.this.namespace } output "key_id" { description = "Key encrypting the bucket. Disabling it is the revocation lever." value = oci_kms_key.audit.id } output "lock_at" { description = "When the retention rule locks. Empty means it is still unlocked." value = var.lock_at } output "verify" { description = "Two commands. The second must be refused because of the retention rule." value = <<-EOT oci os object list --bucket-name ${oci_objectstorage_bucket.audit.name} --limit 1 --query 'data[0].name' --raw-output oci os object delete --bucket-name ${oci_objectstorage_bucket.audit.name} --object-name --force EOT }