Description
For the creation of the catalog in Glue Data Catalog for S3 Tables, it is necessary to run a command to enable it. If the resource aws_glue_catalog_database is used, it creates a database but not a catalog, and it doesn't link with LakeFormation Catalog (new feature) as it does when running the aws glue create-catalog command.
Requested Resource(s) and/or Data Source(s)
aws_glue_catalog or aws_lakeformation_catalog
Potential Terraform Configuration
aws glue create-catalog \
--region us-east-1 \
--cli-input-json file://catalog.json
catalog.json:
{
"Name": "s3tablescatalog",
"CatalogInput": {
"FederatedCatalog": {
"Identifier": "arn:aws:s3tables:us-east-1:111122223333:bucket/*",
"ConnectionName": "aws:s3tables"
},
"CreateDatabaseDefaultPermissions":[],
"CreateTableDefaultPermissions":[]
}
}
References
https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-integrating-aws.html
Would you like to implement a fix?
None
Description
For the creation of the catalog in Glue Data Catalog for S3 Tables, it is necessary to run a command to enable it. If the resource aws_glue_catalog_database is used, it creates a database but not a catalog, and it doesn't link with LakeFormation Catalog (new feature) as it does when running the aws glue create-catalog command.
Requested Resource(s) and/or Data Source(s)
aws_glue_catalog or aws_lakeformation_catalog
Potential Terraform Configuration
References
https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-integrating-aws.html
Would you like to implement a fix?
None