Skip to content

Commit b104c63

Browse files
committed
Revert changes to data_source_tables
1 parent f0c9384 commit b104c63

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

mysql/data_source_tables.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ package mysql
33
import (
44
"context"
55
"fmt"
6-
"log"
7-
86
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
7+
"log"
98

109
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/id"
1110
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
@@ -24,9 +23,9 @@ func dataSourceTables() *schema.Resource {
2423
Optional: true,
2524
},
2625
"tables": {
27-
Type: schema.TypeMap,
26+
Type: schema.TypeList,
2827
Computed: true,
29-
Elem: &schema.Schema{Type: schema.TypeMap},
28+
Elem: &schema.Schema{Type: schema.TypeString},
3029
},
3130
},
3231
}

0 commit comments

Comments
 (0)