Skip to content

Commit 0367471

Browse files
krotkiewiczrosbo
authored andcommitted
Add import support for ssl certificate, http/s proxy and url map (hashicorp#678)
1 parent 7ab46e1 commit 0367471

4 files changed

+35
-0
lines changed

docs/r/compute_ssl_certificate.html.markdown

+8
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,11 @@ exported:
9090

9191
[1]: /docs/providers/google/r/compute_target_https_proxy.html
9292
[2]: /docs/configuration/resources.html#lifecycle
93+
94+
## Import
95+
96+
SSL certificate can be imported using the `name`, e.g.
97+
98+
```
99+
$ terraform import compute_ssl_certificate.html.foobar foobar
100+
```

docs/r/compute_target_http_proxy.html.markdown

+8
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,11 @@ exported:
8989
* `proxy_id` - A unique ID assigned by GCE.
9090

9191
* `self_link` - The URI of the created resource.
92+
93+
## Import
94+
95+
Target HTTP Proxy can be imported using the `name`, e.g.
96+
97+
```
98+
$ terraform import compute_target_http_proxy.foobar foobar
99+
```

docs/r/compute_target_https_proxy.html.markdown

+8
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,11 @@ exported:
9999
* `proxy_id` - A unique ID assigned by GCE.
100100

101101
* `self_link` - The URI of the created resource.
102+
103+
## Import
104+
105+
Target HTTPS Proxy can be imported using the `name`, e.g.
106+
107+
```
108+
$ terraform import compute_target_https_proxy.foobar foobar
109+
```

docs/r/compute_url_map.html.markdown

+11
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,14 @@ exported:
160160
* `map_id` - The GCE assigned ID of the resource.
161161

162162
* `self_link` - The URI of the created resource.
163+
164+
## Import
165+
166+
URL Map can be imported using the `name`, e.g.
167+
168+
```
169+
$ terraform import google_compute_url_map.html.foobar foobar
170+
```
171+
172+
173+
Currently `host_rule`, `path_matcher` and `test` importing is not yet supported.

0 commit comments

Comments
 (0)