Skip to content

Commit

Permalink
add partition key
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman committed Dec 19, 2023
1 parent 5392b11 commit 5ccae84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 0 additions & 3 deletions locals.tf

This file was deleted.

5 changes: 5 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,11 @@ resource "aws_glue_catalog_table" "application_lb_logs" {

table_type = "EXTERNAL_TABLE"

partition_keys {
name = "day"
type = "string"
}

parameters = {
"projection.enabled" = "true"
"projection.day.type" = "date"
Expand Down

0 comments on commit 5ccae84

Please sign in to comment.