apm-wo-analysis/terraform/athena.tf
Adam Moussa dc65496a44
feat(infra): migrate pipeline and Grafana to HCP Terraform (PLAT-75)
Move apm-wo-analysis into seahaven-prod under workspace apm-wo-analysis-prod
with in-repo hcptf/githubdeploy IAM, stub Lambdas, and GitHub Actions zip CD.
2026-09-16 16:21:28 -04:00

17 lines
414 B
HCL

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"
}
}
}
}