mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-06 09:06:44 +00:00
fixed documentation for import formats
This commit is contained in:
parent
90980c1b24
commit
c3e5019ddd
@ -48,14 +48,10 @@ exported:
|
|||||||
|
|
||||||
## Import
|
## Import
|
||||||
|
|
||||||
DNS managed zones can be imported using the `name`, e.g.
|
Disk can be imported using any of these accepted formats:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ terraform import google_dns_managed_zone.prod prod-zone
|
$ terraform import google_dns_managed_zone.prod projects/{{project-id}}/managedZones/{{zone}}
|
||||||
```
|
$ terraform import google_compute_disk.default {{project-id}}/managedZones/{{zone}}
|
||||||
|
$ terraform import google_compute_disk.default {{zone}}
|
||||||
or by using `project-id` and `name` e.g.
|
|
||||||
|
|
||||||
```
|
|
||||||
$ terraform import google_dns_managed_zone.foo project/managedZones/foo-zone
|
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user