From e331654b32e5ddcf9af52496fa455c972adc5486 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Fri, 14 Jun 2024 10:24:33 -0500 Subject: [PATCH] aws_glue_catalog_table: add additional_locations to data source --- internal/service/glue/catalog_table_data_source.go | 5 +++++ website/docs/d/glue_catalog_table.html.markdown | 1 + website/docs/r/glue_catalog_table.html.markdown | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/internal/service/glue/catalog_table_data_source.go b/internal/service/glue/catalog_table_data_source.go index b767e2bf39e1..2d8c5accdad4 100644 --- a/internal/service/glue/catalog_table_data_source.go +++ b/internal/service/glue/catalog_table_data_source.go @@ -117,6 +117,11 @@ func DataSourceCatalogTable() *schema.Resource { Computed: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ + "additional_locations": { + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{Type: schema.TypeString}, + }, "bucket_columns": { Type: schema.TypeList, Computed: true, diff --git a/website/docs/d/glue_catalog_table.html.markdown b/website/docs/d/glue_catalog_table.html.markdown index d318a39870c3..efe784b8f8bc 100644 --- a/website/docs/d/glue_catalog_table.html.markdown +++ b/website/docs/d/glue_catalog_table.html.markdown @@ -60,6 +60,7 @@ This data source exports the following attributes in addition to the arguments a ### storage_descriptor +* `additional_locations` - List of locations that point to the path where a Delta table is located * `bucket_columns` - List of reducer grouping columns, clustering columns, and bucketing columns in the table. * `columns` - Configuration block for columns in the table. See [`columns`](#columns) below. * `compressed` - Whether the data in the table is compressed. diff --git a/website/docs/r/glue_catalog_table.html.markdown b/website/docs/r/glue_catalog_table.html.markdown index b3e69f303d31..878c62049386 100644 --- a/website/docs/r/glue_catalog_table.html.markdown +++ b/website/docs/r/glue_catalog_table.html.markdown @@ -135,7 +135,7 @@ To add an index to an existing table, see the [`glue_partition_index` resource]( ### storage_descriptor -* `additional_locations` - (Optional) list of locations that point to the path where a Delta table is located. +* `additional_locations` - (Optional) List of locations that point to the path where a Delta table is located. * `bucket_columns` - (Optional) List of reducer grouping columns, clustering columns, and bucketing columns in the table. * `columns` - (Optional) Configuration block for columns in the table. See [`columns`](#columns) below. * `compressed` - (Optional) Whether the data in the table is compressed.