output "bucket_arn" {
value = aws_s3_bucket.logs.arn
description = "ARN of the logs bucket"
sensitive = false
}
Outputs expose values from a module. They're shown after terraform apply and can be consumed by other modules or external tools (terraform output -json).