Skip to content

Commit

Permalink
🐛 Hotfix: Ensure Avature DBT tables are outputted to correct location (
Browse files Browse the repository at this point in the history
…#6193)

* fix: disable workgroup configuration enforcement in Athena workgroup

* Adding additional skip to keep trivy happy

* Don't try and be fancy

* Satisfy the capricious gods

Co-authored-by: Tom Webber <80110358+tom-webber@users.noreply.github.com>

---------

Co-authored-by: Tom Webber <80110358+tom-webber@users.noreply.github.com>
  • Loading branch information
jhpyke and tom-webber authored Nov 28, 2024
1 parent 44554a2 commit 5de5f59
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,18 @@ resource "aws_athena_workgroup" "airflow" {
}

#trivy:ignore:avd-aws-0006:Not encrypting the workgroup currently
#trivy:ignore:avd-aws-0007:Can't enforce output location due to DBT requirements
resource "aws_athena_workgroup" "dbt" {
#checkov:skip=CKV_AWS_159:Not encrypting the workgroup currently
#checkov:skip=CKV_AWS_82:Can't enforce output location due to DBT requirements

for_each = local.dbt_athena_workgroups

name = each.value.name

configuration {
bytes_scanned_cutoff_per_query = 1099511627776000
enforce_workgroup_configuration = true
enforce_workgroup_configuration = false
engine_version {
selected_engine_version = "Athena engine version 3"
}
Expand Down

0 comments on commit 5de5f59

Please sign in to comment.