Skip to content

Commit

Permalink
Add import support for google_compute_image. (hashicorp#194)
Browse files Browse the repository at this point in the history
* Add import support for google_compute_image.

* Added comment explaning why we set the create_timeout in the import state method

* Don't ForceNew for create_timeout field

* Update image name in import documentation
  • Loading branch information
rosbo authored and danawillow committed Jul 14, 2017
1 parent e158b92 commit 8085879
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/r/compute_image.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,11 @@ In addition to the arguments listed above, the following computed attributes are
exported:

* `self_link` - The URI of the created resource.

## Import

VM image can be imported using the `name`, e.g.

```
$ terraform import google_compute_image.web-image my-custom-image
```

0 comments on commit 8085879

Please sign in to comment.