diff --git a/locals.tf b/locals.tf deleted file mode 100644 index a64909b9..00000000 --- a/locals.tf +++ /dev/null @@ -1,3 +0,0 @@ -# locals { -# s3_bucket_id = module.s3-bucket[0].bucket.id # handle invalid reference in storage.location.template parameter reference -# } diff --git a/main.tf b/main.tf index e186ca2b..99888867 100644 --- a/main.tf +++ b/main.tf @@ -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"