resource "aws_athena_workgroup" "this" { name = local.athena_workgroup force_destroy = true configuration { enforce_workgroup_configuration = true publish_cloudwatch_metrics_enabled = true result_configuration { output_location = "s3://${aws_s3_bucket.exports.bucket}/athena-results/" encryption_configuration { encryption_option = "SSE_S3" } } } }