Skip to content

Commit 825b11c

Browse files
ewbankkitdanawillow
authored andcommitted
Import google_compute_shared_vpc_host_project/google_compute_shared_vpc_service_project resources (hashicorp#1004)
* Import google_compute_shared_vpc_host_project/google_compute_shared_vpc_service_project resources. * Incorporate testing of resource import into main acceptance tests.
1 parent 492700c commit 825b11c

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

docs/r/compute_shared_vpc_host_project.html.markdown

+7
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,10 @@ The following arguments are expected:
4242

4343
* `project` - (Required) The ID of the project that will serve as a Shared VPC host project
4444

45+
## Import
46+
47+
Google Compute Engine Shared VPC host project feature can be imported using the `project`, e.g.
48+
49+
```
50+
$ terraform import google_compute_shared_vpc_host_project.host host-project-id
51+
```

docs/r/compute_shared_vpc_service_project.html.markdown

+8
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,11 @@ The following arguments are expected:
3636
* `host_project` - (Required) The ID of a host project to associate.
3737

3838
* `service_project` - (Required) The ID of the project that will serve as a Shared VPC service project.
39+
40+
## Import
41+
42+
Google Compute Engine Shared VPC service project feature can be imported using the `host_project` and `service_project`, e.g.
43+
44+
```
45+
$ terraform import google_compute_shared_vpc_service_project.service1 host-project-id/service-project-id-1
46+
```

0 commit comments

Comments
 (0)