Skip to content

Commit 7aa3aae

Browse files
authored
Update resource_grant import description (#196)
Fix #194
1 parent 485749c commit 7aa3aae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/r/grant.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@ No further attributes are exported.
8888
## Import
8989

9090
Grants can be imported using user, host, database and table.
91-
For grants without explicit database or tables, leave these fields empty.
91+
For grants without explicit database or tables, use `*`.
9292

9393
You can also add an extra at sign `@` to the import definition to specify
9494
the grant contains WITH GRANT OPTION.
9595

9696
```
9797
$ terraform import mysql_grant.example user@host@database@table
98-
$ terraform import mysql_grant.without_db user@host@@
98+
$ terraform import mysql_grant.all_db user@host@*@*
9999
100100
# Import the first example with grant option
101101
$ terraform import mysql_grant.example user@host@database@table@

0 commit comments

Comments
 (0)