Skip to content

Commit d81624c

Browse files
committed
Import of service instance sharing resource. documentation
1 parent e5c3be2 commit d81624c

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

docs/resources/service_instance_sharing.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ resource "cloudfoundry_service_instance_sharing" "instance_sharing" {
5353

5454
### Read-Only
5555

56-
- `id` (String) The GUID of the object. This will be the same as the service_instance GUID.
56+
- `id` (String) The GUID of the object.
5757

5858
## Import
5959

@@ -63,11 +63,9 @@ Import is supported using the following syntax:
6363
# terraform import cloudfoundry_service_instance_sharing.<resource_name> <service_instance_guid>
6464
6565
terraform import cloudfoundry_service_instance_sharing.my_instance_sharing a1b2c3d4-5678-90ab-cdef-12345678abcd
66-
```
6766
68-
For Terraform 1.5+ users, you can also use the newer import blocks syntax:
67+
# For Terraform 1.5+ users, you can also use the newer import blocks syntax:
6968
70-
```terraform
7169
import {
7270
to = cloudfoundry_service_instance_sharing.my_instance_sharing
7371
id = "a1b2c3d4-5678-90ab-cdef-12345678abcd"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# terraform import cloudfoundry_service_instance_sharing.<resource_name> <service_instance_guid>
2+
3+
terraform import cloudfoundry_service_instance_sharing.my_instance_sharing a1b2c3d4-5678-90ab-cdef-12345678abcd
4+
5+
# For Terraform 1.5+ users, you can also use the newer import blocks syntax:
6+
7+
import {
8+
to = cloudfoundry_service_instance_sharing.my_instance_sharing
9+
id = "a1b2c3d4-5678-90ab-cdef-12345678abcd"
10+
}

0 commit comments

Comments
 (0)