Skip to content

Commit

Permalink
Add import for google_sql_database_instance (#11)
Browse files Browse the repository at this point in the history
* Add import for `google_sql_database_instance`

* Alterations suggested by review

* Move declaration of array for clarification
  • Loading branch information
gh-mlfowler authored and rileykarson committed Jun 22, 2017
1 parent 18ada1c commit 95b0c97
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/r/sql_database_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ when an Instance can automatically restart to apply updates. It supports:

* `hour` - (Optional) Hour of day (`0-23`), ignored if `day` not set

* `update_track` - (Optional) Receive updates earlier (`canary`) or later
* `update_track` - (Optional) Receive updates earlier (`canary`) or later
(`stable`)

The optional `replica_configuration` block must have `master_instance_name` set
Expand Down Expand Up @@ -210,3 +210,11 @@ exported:

* `settings.version` - Used to make sure changes to the `settings` block are
atomic.

## Import

Database instances can be imported using the `name`, e.g.

```
$ terraform import google_sql_database_instance.master master-instance
```

0 comments on commit 95b0c97

Please sign in to comment.