Skip to content

Commit f4aa048

Browse files
feat: google_datastream_private_connection resource network_attachement support via psc_interface_config
1 parent ce5d3bf commit f4aa048

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

mmv1/products/datastream/PrivateConnection.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ properties:
116116
description: |
117117
The VPC Peering configuration is used to create VPC peering
118118
between Datastream and the consumer's VPC.
119-
required: true
119+
exactly_one_of:
120+
- 'vpc_peering_config'
121+
- 'psc_interface_config'
120122
properties:
121123
- name: 'vpc'
122124
type: String
@@ -129,3 +131,18 @@ properties:
129131
description: |
130132
A free subnet for peering. (CIDR of /29)
131133
required: true
134+
- name: 'pscInterfaceConfig'
135+
type: NestedObject
136+
description: |
137+
The PSC Interface configuration is used to create PSC Interface
138+
between Datastream and the consumer's PSC.
139+
exactly_one_of:
140+
- 'vpc_peering_config'
141+
- 'psc_interface_config'
142+
properties:
143+
- name: 'networkAttachment'
144+
type: String
145+
description: |
146+
Fully qualified name of the network attachment that Datastream will connect to.
147+
Format: projects/{project}/regions/{region}/networkAttachments/{name}
148+
required: true

0 commit comments

Comments
 (0)