Skip to content

Commit 0945eba

Browse files
committed
feat(apigee): google_apigee_instance datasource
1 parent c667189 commit 0945eba

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

mmv1/products/apigee/EndpointAttachment.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
---
1515
name: 'EndpointAttachment'
1616
description: |
17-
Apigee Endpoint Attachment.
17+
An `EndpointAttachment` in Apigee is a resource that facilitates private connectivity between Apigee and backend services using Private Service Connect (PSC).
18+
19+
For more information, see the [Apigee documentation](https://cloud.google.com/apigee/docs/api-platform/architecture/southbound-networking-patterns-psc).
1820
references:
1921
guides:
2022
'Creating an environment': 'https://cloud.google.com/apigee/docs/api-platform/get-started/create-environment'
@@ -43,6 +45,11 @@ async:
4345
custom_code:
4446
custom_import: 'templates/terraform/custom_import/apigee_endpoint_attachment.go.tmpl'
4547
exclude_sweeper: true
48+
examples:
49+
- name: 'apigee_endpoint_attachment_basic'
50+
primary_resource_id: 'apigee_endpoint_attachment'
51+
vars:
52+
endpoint_attachment_id: "my-endpoint-attachment"
4653
parameters:
4754
- name: 'orgId'
4855
type: String
@@ -69,7 +76,7 @@ properties:
6976
- name: 'location'
7077
type: String
7178
description: |
72-
Location of the endpoint attachment.
79+
The location of the endpoint attachment.
7380
required: true
7481
- name: 'host'
7582
type: String
@@ -79,10 +86,12 @@ properties:
7986
- name: 'serviceAttachment'
8087
type: String
8188
description: |
82-
Format: projects/*/regions/*/serviceAttachments/*
89+
The resource URL of the service attachment in the format:
90+
`projects/*/regions/*/serviceAttachments/*`.
8391
required: true
8492
- name: 'connectionState'
8593
type: String
8694
description: |
8795
State of the endpoint attachment connection to the service attachment.
96+
Possible values are: `CONNECTION_STATE_UNSPECIFIED`, `PENDING`, `ACCEPTED`, `REJECTED`, `CLOSED`.
8897
output: true

mmv1/products/apigee/Instance.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ mutex: '{{org_id}}/apigeeInstances'
2929
import_format:
3030
- '{{org_id}}/instances/{{name}}'
3131
- '{{org_id}}/{{name}}'
32+
datasource:
33+
generate: true
3234
timeouts:
3335
insert_minutes: 60
3436
update_minutes: 20

0 commit comments

Comments
 (0)