We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
resource_grant
1 parent 485749c commit 7aa3aaeCopy full SHA for 7aa3aae
website/docs/r/grant.html.markdown
@@ -88,14 +88,14 @@ No further attributes are exported.
88
## Import
89
90
Grants can be imported using user, host, database and table.
91
-For grants without explicit database or tables, leave these fields empty.
+For grants without explicit database or tables, use `*`.
92
93
You can also add an extra at sign `@` to the import definition to specify
94
the grant contains WITH GRANT OPTION.
95
96
```
97
$ terraform import mysql_grant.example user@host@database@table
98
-$ terraform import mysql_grant.without_db user@host@@
+$ terraform import mysql_grant.all_db user@host@*@*
99
100
# Import the first example with grant option
101
$ terraform import mysql_grant.example user@host@database@table@
0 commit comments