Skip to content

Commit

Permalink
fix: updated bug in athena query resource (#4)
Browse files Browse the repository at this point in the history
Co-authored-by: Anmol Nagpal <anmol@clouddrove.com>
  • Loading branch information
nileshgadgi and anmolnagpal committed Oct 26, 2023
1 parent fe08ecf commit 1701777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ resource "aws_athena_named_query" "default" {
name = "${var.name}-${each.key}"
workgroup = aws_athena_workgroup.default[0].id
database = aws_athena_database.default[each.value.database].name
query = format(each.value.query, each.value.database)
query = each.value.query
description = each.value.description
}

0 comments on commit 1701777

Please sign in to comment.