Skip to content

Commit

Permalink
Import google_compute_shared_vpc_host_project/google_compute_shared_v…
Browse files Browse the repository at this point in the history
…pc_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.
  • Loading branch information
ewbankkit authored and danawillow committed Jan 24, 2018
1 parent 492700c commit 825b11c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/r/compute_shared_vpc_host_project.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,10 @@ The following arguments are expected:

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

## Import

Google Compute Engine Shared VPC host project feature can be imported using the `project`, e.g.

```
$ terraform import google_compute_shared_vpc_host_project.host host-project-id
```
8 changes: 8 additions & 0 deletions docs/r/compute_shared_vpc_service_project.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,11 @@ The following arguments are expected:
* `host_project` - (Required) The ID of a host project to associate.

* `service_project` - (Required) The ID of the project that will serve as a Shared VPC service project.

## Import

Google Compute Engine Shared VPC service project feature can be imported using the `host_project` and `service_project`, e.g.

```
$ terraform import google_compute_shared_vpc_service_project.service1 host-project-id/service-project-id-1
```

0 comments on commit 825b11c

Please sign in to comment.