output "bucket" {
  description = "S3 bucket object"
  value       = aws_s3_bucket.this
}

output "arn" {
  description = "S3 bucket arn"
  value       = aws_s3_bucket.this.arn
}

output "id" {
  description = "S3 bucket id"
  value       = aws_s3_bucket.this.id
}

output "ownership_controls" {
  description = "S3 bucket object"
  value       = aws_s3_bucket_ownership_controls.this
}

output "policy" {
  description = "S3 bucket object"
  value       = var.bucket_policy != "" ? aws_s3_bucket_policy.this[0] : null
}
