We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0c9384 commit b104c63Copy full SHA for b104c63
mysql/data_source_tables.go
@@ -3,9 +3,8 @@ package mysql
3
import (
4
"context"
5
"fmt"
6
- "log"
7
-
8
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
+ "log"
9
10
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/id"
11
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
@@ -24,9 +23,9 @@ func dataSourceTables() *schema.Resource {
24
23
Optional: true,
25
},
26
"tables": {
27
- Type: schema.TypeMap,
+ Type: schema.TypeList,
28
Computed: true,
29
- Elem: &schema.Schema{Type: schema.TypeMap},
+ Elem: &schema.Schema{Type: schema.TypeString},
30
31
32
}
0 commit comments