Skip to content

Commit 95dee67

Browse files
committed
add : aws glue catalog database
1 parent 9b90d54 commit 95dee67

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ resource "aws_athena_workgroup" "this" {
1010
}
1111
}
1212
}
13+
14+
resource "aws_glue_catalog_database" "this" {
15+
name = var.database_name
16+
}

variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ variable "query_results_bucket" {
77
description = "The S3 bucket where Athena query results will be stored."
88
type = string
99
}
10+
11+
variable "database_name" {
12+
description = "The name of the Athena database."
13+
type = string
14+
}

0 commit comments

Comments
 (0)