-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tf
32 lines (27 loc) · 1.07 KB
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
####################################################################################################
# Terraform Glue Job Configuration
#
# Description: This module creates an Glue Database using Terraform.
#
# Author: Subhamay Bhattacharyya
# Created: 18-Nov-2024 Updated: -
# Version: 1.0
#
####################################################################################################
*/
# --- Glue Catalog Database Configuration ---
resource "aws_glue_catalog_database" "glue-catalog-database" {
# This file defines the main Terraform configuration for the AWS Glue Database module.
# It specifies the resources and configurations needed to create and manage an AWS Glue Database.
# The name of the AWS Glue database, sourced from a local variable.
name = local.glue-database-name
description = var.glue-database-description
# create_table_default_permission {
# permissions = ["SELECT"]
# principal {
# data_lake_principal_identifier = "IAM_ALLOWED_PRINCIPALS"
# }
# }
tags = var.glue-database-tags == null ? {} : var.glue-database-tags
}