Skip to content

Commit

Permalink
SCRUM-173 edit terraform for athena table fields
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanli286 committed Oct 22, 2024
1 parent 66889e7 commit 3d77ece
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions infrastructure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -532,23 +532,27 @@ resource "aws_glue_catalog_table" "athena_table_time" {
type = "string"
}
columns {
name = "age"
name = "eventType"
type = "string"
}
columns {
name = "eventType"
name = "timestamp"
type = "string"
}
columns {
name = "section"
name = "sectionID"
type = "string"
}
columns {
name = "event"
name = "unitID"
type = "string"
}
columns {
name = "timestamp"
name = "lessonID"
type = "string"
}
columns {
name = "event"
type = "string"
}
columns {
Expand Down Expand Up @@ -592,24 +596,24 @@ resource "aws_glue_catalog_table" "athena_table_attempts" {
type = "string"
}
columns {
name = "age"
name = "eventType"
type = "string"
}
columns {
name = "eventType"
name = "timestamp"
type = "string"
}
columns {
name = "section"
name = "sectionID"
type = "string"
}
columns {
name = "event"
name = "quizID"
type = "string"
}
columns {
name = "timestamp"
type = "string"
name = "questionNo"
type = "int"
}
columns {
name = "attempts"
Expand Down

0 comments on commit 3d77ece

Please sign in to comment.