Skip to content

Commit

Permalink
aws_glue_catalog_table: add additional_locations to data source
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonaj committed Jun 14, 2024
1 parent c1fae33 commit e331654
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions internal/service/glue/catalog_table_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions website/docs/d/glue_catalog_table.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/glue_catalog_table.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e331654

Please sign in to comment.