Closed roberth-k closed 3 years ago
Closed via #19371 + #19372 and released in v3.41.0
of the provider 🎉
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Description
This is related to the overall implementation of Lake Formation (https://github.com/terraform-providers/terraform-provider-aws/issues/9700).
https://github.com/terraform-providers/terraform-provider-aws/issues/14411 must also be implemented in order for Glue databases to be shareable with Lake Formation.
The
TargetDatabase
andTargetTable
properties of Glue Data Catalog databases and tables are used for setting up Resource Links, which is required to be able to surface cross-account shared tables in Athena and Redshift Spectrum.It's possible there's also a specific
TableType
associated with this.New or Affected Resource(s)
aws_glue_catalog_table
aws_glue_catalog_database
Potential Terraform Configuration
References
TargetDatabase
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-databases.html#aws-glue-api-catalog-databases-DatabaseInputTargetTable
in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-TableInput