pulumi-aiven 6.13.0a1711361534__py3-none-any.whl → 6.14.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-aiven might be problematic. Click here for more details.

Files changed (132) hide show
  1. pulumi_aiven/_inputs.py +200 -262
  2. pulumi_aiven/account.py +2 -6
  3. pulumi_aiven/account_authentication.py +2 -2
  4. pulumi_aiven/account_team.py +6 -6
  5. pulumi_aiven/account_team_member.py +6 -10
  6. pulumi_aiven/account_team_project.py +12 -12
  7. pulumi_aiven/aws_privatelink.py +18 -22
  8. pulumi_aiven/aws_vpc_peering_connection.py +8 -12
  9. pulumi_aiven/azure_privatelink.py +18 -22
  10. pulumi_aiven/azure_privatelink_connection_approval.py +112 -14
  11. pulumi_aiven/azure_vpc_peering_connection.py +6 -10
  12. pulumi_aiven/billing_group.py +18 -18
  13. pulumi_aiven/cassandra.py +25 -57
  14. pulumi_aiven/cassandra_user.py +18 -22
  15. pulumi_aiven/clickhouse.py +25 -57
  16. pulumi_aiven/clickhouse_database.py +24 -26
  17. pulumi_aiven/clickhouse_grant.py +35 -37
  18. pulumi_aiven/clickhouse_role.py +16 -20
  19. pulumi_aiven/clickhouse_user.py +18 -22
  20. pulumi_aiven/connection_pool.py +24 -28
  21. pulumi_aiven/dragonfly.py +124 -263
  22. pulumi_aiven/flink.py +32 -36
  23. pulumi_aiven/flink_application.py +22 -24
  24. pulumi_aiven/flink_application_deployment.py +21 -21
  25. pulumi_aiven/flink_application_version.py +96 -14
  26. pulumi_aiven/gcp_privatelink.py +21 -21
  27. pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
  28. pulumi_aiven/gcp_vpc_peering_connection.py +4 -8
  29. pulumi_aiven/get_account.py +0 -4
  30. pulumi_aiven/get_aws_privatelink.py +10 -14
  31. pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
  32. pulumi_aiven/get_azure_privatelink.py +10 -14
  33. pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
  34. pulumi_aiven/get_billing_group.py +2 -2
  35. pulumi_aiven/get_cassanda.py +7 -24
  36. pulumi_aiven/get_cassandra.py +7 -24
  37. pulumi_aiven/get_cassandra_user.py +10 -14
  38. pulumi_aiven/get_clickhouse.py +7 -24
  39. pulumi_aiven/get_clickhouse_database.py +10 -14
  40. pulumi_aiven/get_clickhouse_user.py +10 -14
  41. pulumi_aiven/get_connection_pool.py +10 -14
  42. pulumi_aiven/get_dragonfly.py +27 -20
  43. pulumi_aiven/get_flink.py +6 -10
  44. pulumi_aiven/get_flink_application.py +8 -12
  45. pulumi_aiven/get_flink_application_version.py +8 -12
  46. pulumi_aiven/get_gcp_vpc_peering_connection.py +2 -6
  47. pulumi_aiven/get_grafana.py +7 -24
  48. pulumi_aiven/get_kafka.py +13 -17
  49. pulumi_aiven/get_kafka_acl.py +10 -14
  50. pulumi_aiven/get_kafka_connect.py +7 -24
  51. pulumi_aiven/get_kafka_connector.py +10 -14
  52. pulumi_aiven/get_kafka_mirror_maker.py +7 -24
  53. pulumi_aiven/get_kafka_schema.py +10 -14
  54. pulumi_aiven/get_kafka_schema_configuration.py +10 -14
  55. pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
  56. pulumi_aiven/get_kafka_topic.py +16 -20
  57. pulumi_aiven/get_kafka_user.py +10 -14
  58. pulumi_aiven/get_m3_aggregator.py +7 -24
  59. pulumi_aiven/get_m3_db.py +7 -24
  60. pulumi_aiven/get_m3db_user.py +10 -14
  61. pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
  62. pulumi_aiven/get_my_sql.py +7 -24
  63. pulumi_aiven/get_mysql_database.py +10 -14
  64. pulumi_aiven/get_mysql_user.py +10 -14
  65. pulumi_aiven/get_open_search.py +6 -10
  66. pulumi_aiven/get_open_search_acl_config.py +10 -14
  67. pulumi_aiven/get_open_search_acl_rule.py +10 -14
  68. pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
  69. pulumi_aiven/get_opensearch_user.py +10 -14
  70. pulumi_aiven/get_organization.py +0 -4
  71. pulumi_aiven/get_organization_user_group.py +2 -6
  72. pulumi_aiven/get_pg.py +6 -10
  73. pulumi_aiven/get_pg_database.py +10 -14
  74. pulumi_aiven/get_pg_user.py +10 -14
  75. pulumi_aiven/get_project.py +17 -21
  76. pulumi_aiven/get_project_user.py +9 -13
  77. pulumi_aiven/get_project_vpc.py +2 -6
  78. pulumi_aiven/get_redis.py +7 -24
  79. pulumi_aiven/get_redis_user.py +10 -14
  80. pulumi_aiven/get_service_component.py +4 -8
  81. pulumi_aiven/get_service_integration.py +19 -33
  82. pulumi_aiven/get_service_integration_endpoint.py +2 -6
  83. pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
  84. pulumi_aiven/grafana.py +82 -267
  85. pulumi_aiven/influx_db.py +21 -21
  86. pulumi_aiven/influxdb_database.py +21 -21
  87. pulumi_aiven/influxdb_user.py +21 -21
  88. pulumi_aiven/kafka.py +50 -54
  89. pulumi_aiven/kafka_acl.py +20 -24
  90. pulumi_aiven/kafka_connect.py +80 -267
  91. pulumi_aiven/kafka_connector.py +26 -30
  92. pulumi_aiven/kafka_mirror_maker.py +80 -267
  93. pulumi_aiven/kafka_schema.py +18 -22
  94. pulumi_aiven/kafka_schema_configuration.py +20 -24
  95. pulumi_aiven/kafka_schema_registry_acl.py +54 -14
  96. pulumi_aiven/kafka_topic.py +84 -46
  97. pulumi_aiven/kafka_user.py +18 -22
  98. pulumi_aiven/m3_aggregator.py +80 -267
  99. pulumi_aiven/m3_db.py +80 -267
  100. pulumi_aiven/m3db_user.py +16 -20
  101. pulumi_aiven/mirror_maker_replication_flow.py +22 -26
  102. pulumi_aiven/my_sql.py +80 -267
  103. pulumi_aiven/mysql_database.py +20 -24
  104. pulumi_aiven/mysql_user.py +18 -22
  105. pulumi_aiven/open_search.py +27 -31
  106. pulumi_aiven/open_search_acl_config.py +28 -36
  107. pulumi_aiven/open_search_acl_rule.py +36 -40
  108. pulumi_aiven/opensearch_security_plugin_config.py +28 -32
  109. pulumi_aiven/opensearch_user.py +18 -22
  110. pulumi_aiven/organization.py +2 -6
  111. pulumi_aiven/organization_group_project.py +46 -0
  112. pulumi_aiven/organization_user.py +2 -20
  113. pulumi_aiven/organization_user_group.py +4 -6
  114. pulumi_aiven/organization_user_group_member.py +8 -10
  115. pulumi_aiven/organizational_unit.py +6 -6
  116. pulumi_aiven/outputs.py +271 -390
  117. pulumi_aiven/pg.py +30 -30
  118. pulumi_aiven/pg_database.py +20 -24
  119. pulumi_aiven/pg_user.py +18 -22
  120. pulumi_aiven/project.py +75 -79
  121. pulumi_aiven/project_user.py +24 -28
  122. pulumi_aiven/project_vpc.py +31 -7
  123. pulumi_aiven/redis.py +80 -267
  124. pulumi_aiven/redis_user.py +18 -22
  125. pulumi_aiven/service_integration.py +54 -58
  126. pulumi_aiven/static_ip.py +7 -7
  127. pulumi_aiven/transit_gateway_vpc_attachment.py +4 -8
  128. {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
  129. pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
  130. pulumi_aiven-6.13.0a1711361534.dist-info/RECORD +0 -150
  131. {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
  132. {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
@@ -73,7 +73,7 @@ class GetRedisUserResult:
73
73
  @pulumi.getter
74
74
  def project(self) -> str:
75
75
  """
76
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
76
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
77
77
  """
78
78
  return pulumi.get(self, "project")
79
79
 
@@ -113,7 +113,7 @@ class GetRedisUserResult:
113
113
  @pulumi.getter(name="serviceName")
114
114
  def service_name(self) -> str:
115
115
  """
116
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
116
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
117
117
  """
118
118
  return pulumi.get(self, "service_name")
119
119
 
@@ -161,20 +161,18 @@ def get_redis_user(project: Optional[str] = None,
161
161
 
162
162
  ## Example Usage
163
163
 
164
- <!--Start PulumiCodeChooser -->
165
164
  ```python
166
165
  import pulumi
167
166
  import pulumi_aiven as aiven
168
167
 
169
- user = aiven.get_redis_user(project="my-project",
170
- service_name="my-service",
168
+ user = aiven.get_redis_user(service_name="my-service",
169
+ project="my-project",
171
170
  username="user1")
172
171
  ```
173
- <!--End PulumiCodeChooser -->
174
172
 
175
173
 
176
- :param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
177
- :param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
174
+ :param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
175
+ :param str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
178
176
  :param str username: The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
179
177
  """
180
178
  __args__ = dict()
@@ -207,20 +205,18 @@ def get_redis_user_output(project: Optional[pulumi.Input[str]] = None,
207
205
 
208
206
  ## Example Usage
209
207
 
210
- <!--Start PulumiCodeChooser -->
211
208
  ```python
212
209
  import pulumi
213
210
  import pulumi_aiven as aiven
214
211
 
215
- user = aiven.get_redis_user(project="my-project",
216
- service_name="my-service",
212
+ user = aiven.get_redis_user(service_name="my-service",
213
+ project="my-project",
217
214
  username="user1")
218
215
  ```
219
- <!--End PulumiCodeChooser -->
220
216
 
221
217
 
222
- :param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
223
- :param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
218
+ :param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
219
+ :param str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
224
220
  :param str username: The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
225
221
  """
226
222
  ...
@@ -167,18 +167,16 @@ def get_service_component(component: Optional[str] = None,
167
167
 
168
168
  ## Example Usage
169
169
 
170
- <!--Start PulumiCodeChooser -->
171
170
  ```python
172
171
  import pulumi
173
172
  import pulumi_aiven as aiven
174
173
 
175
- sc1 = aiven.get_service_component(project=aiven_kafka["project1"]["project"],
176
- service_name=aiven_kafka["service1"]["service_name"],
174
+ sc1 = aiven.get_service_component(project=project1["project"],
175
+ service_name=service1["serviceName"],
177
176
  component="kafka",
178
177
  route="dynamic",
179
178
  kafka_authentication_method="certificate")
180
179
  ```
181
- <!--End PulumiCodeChooser -->
182
180
 
183
181
 
184
182
  :param str component: Service component name
@@ -229,18 +227,16 @@ def get_service_component_output(component: Optional[pulumi.Input[str]] = None,
229
227
 
230
228
  ## Example Usage
231
229
 
232
- <!--Start PulumiCodeChooser -->
233
230
  ```python
234
231
  import pulumi
235
232
  import pulumi_aiven as aiven
236
233
 
237
- sc1 = aiven.get_service_component(project=aiven_kafka["project1"]["project"],
238
- service_name=aiven_kafka["service1"]["service_name"],
234
+ sc1 = aiven.get_service_component(project=project1["project"],
235
+ service_name=service1["serviceName"],
239
236
  component="kafka",
240
237
  route="dynamic",
241
238
  kafka_authentication_method="certificate")
242
239
  ```
243
- <!--End PulumiCodeChooser -->
244
240
 
245
241
 
246
242
  :param str component: Service component name
@@ -115,7 +115,7 @@ class GetServiceIntegrationResult:
115
115
  @pulumi.getter(name="destinationEndpointId")
116
116
  def destination_endpoint_id(self) -> str:
117
117
  """
118
- Destination endpoint for the integration (if any)
118
+ Destination endpoint for the integration.
119
119
  """
120
120
  return pulumi.get(self, "destination_endpoint_id")
121
121
 
@@ -123,7 +123,7 @@ class GetServiceIntegrationResult:
123
123
  @pulumi.getter(name="destinationServiceName")
124
124
  def destination_service_name(self) -> str:
125
125
  """
126
- Destination service for the integration (if any)
126
+ Destination service for the integration.
127
127
  """
128
128
  return pulumi.get(self, "destination_service_name")
129
129
 
@@ -171,7 +171,7 @@ class GetServiceIntegrationResult:
171
171
  @pulumi.getter(name="integrationId")
172
172
  def integration_id(self) -> str:
173
173
  """
174
- Service Integration Id at aiven
174
+ The ID of the Aiven service integration.
175
175
  """
176
176
  return pulumi.get(self, "integration_id")
177
177
 
@@ -227,7 +227,7 @@ class GetServiceIntegrationResult:
227
227
  @pulumi.getter
228
228
  def project(self) -> str:
229
229
  """
230
- Project the integration belongs to
230
+ Project the integration belongs to.
231
231
  """
232
232
  return pulumi.get(self, "project")
233
233
 
@@ -243,7 +243,7 @@ class GetServiceIntegrationResult:
243
243
  @pulumi.getter(name="sourceEndpointId")
244
244
  def source_endpoint_id(self) -> str:
245
245
  """
246
- Source endpoint for the integration (if any)
246
+ Source endpoint for the integration.
247
247
  """
248
248
  return pulumi.get(self, "source_endpoint_id")
249
249
 
@@ -291,31 +291,24 @@ def get_service_integration(destination_service_name: Optional[str] = None,
291
291
  source_service_name: Optional[str] = None,
292
292
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceIntegrationResult:
293
293
  """
294
- The Service Integration data source provides information about the existing Aiven Service Integration.
295
-
296
- Service Integration defines an integration between two Aiven services or between Aiven service and an external
297
- integration endpoint. Integration could be for example sending metrics from Kafka service to an M3DB service,
298
- getting metrics from an M3Db service to a Grafana service to show dashboards, sending logs from any service to
299
- OpenSearch, etc.
294
+ Gets information about an Aiven service integration.
300
295
 
301
296
  ## Example Usage
302
297
 
303
- <!--Start PulumiCodeChooser -->
304
298
  ```python
305
299
  import pulumi
306
300
  import pulumi_aiven as aiven
307
301
 
308
- myintegration = aiven.get_service_integration(project=aiven_project["myproject"]["project"],
309
- destination_service_name="<DESTINATION_SERVICE_NAME>",
310
- integration_type="datadog",
311
- source_service_name="<SOURCE_SERVICE_NAME>")
302
+ example_integration = aiven.get_service_integration(project=example_project["project"],
303
+ destination_service_name=example_m3db["serviceName"],
304
+ integration_type="metrics",
305
+ source_service_name=example_kafka["serviceName"])
312
306
  ```
313
- <!--End PulumiCodeChooser -->
314
307
 
315
308
 
316
- :param str destination_service_name: Destination service for the integration (if any)
309
+ :param str destination_service_name: Destination service for the integration.
317
310
  :param str integration_type: Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanoscompactor`, `thanosquery`, `thanosstore`, `vector`, `vmalert`
318
- :param str project: Project the integration belongs to
311
+ :param str project: Project the integration belongs to.
319
312
  :param str source_service_name: Source service for the integration (if any)
320
313
  """
321
314
  __args__ = dict()
@@ -357,31 +350,24 @@ def get_service_integration_output(destination_service_name: Optional[pulumi.Inp
357
350
  source_service_name: Optional[pulumi.Input[str]] = None,
358
351
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceIntegrationResult]:
359
352
  """
360
- The Service Integration data source provides information about the existing Aiven Service Integration.
361
-
362
- Service Integration defines an integration between two Aiven services or between Aiven service and an external
363
- integration endpoint. Integration could be for example sending metrics from Kafka service to an M3DB service,
364
- getting metrics from an M3Db service to a Grafana service to show dashboards, sending logs from any service to
365
- OpenSearch, etc.
353
+ Gets information about an Aiven service integration.
366
354
 
367
355
  ## Example Usage
368
356
 
369
- <!--Start PulumiCodeChooser -->
370
357
  ```python
371
358
  import pulumi
372
359
  import pulumi_aiven as aiven
373
360
 
374
- myintegration = aiven.get_service_integration(project=aiven_project["myproject"]["project"],
375
- destination_service_name="<DESTINATION_SERVICE_NAME>",
376
- integration_type="datadog",
377
- source_service_name="<SOURCE_SERVICE_NAME>")
361
+ example_integration = aiven.get_service_integration(project=example_project["project"],
362
+ destination_service_name=example_m3db["serviceName"],
363
+ integration_type="metrics",
364
+ source_service_name=example_kafka["serviceName"])
378
365
  ```
379
- <!--End PulumiCodeChooser -->
380
366
 
381
367
 
382
- :param str destination_service_name: Destination service for the integration (if any)
368
+ :param str destination_service_name: Destination service for the integration.
383
369
  :param str integration_type: Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanoscompactor`, `thanosquery`, `thanosstore`, `vector`, `vmalert`
384
- :param str project: Project the integration belongs to
370
+ :param str project: Project the integration belongs to.
385
371
  :param str source_service_name: Source service for the integration (if any)
386
372
  """
387
373
  ...
@@ -257,15 +257,13 @@ def get_service_integration_endpoint(endpoint_name: Optional[str] = None,
257
257
 
258
258
  ## Example Usage
259
259
 
260
- <!--Start PulumiCodeChooser -->
261
260
  ```python
262
261
  import pulumi
263
262
  import pulumi_aiven as aiven
264
263
 
265
- myendpoint = aiven.get_service_integration_endpoint(project=aiven_project["myproject"]["project"],
264
+ myendpoint = aiven.get_service_integration_endpoint(project=myproject["project"],
266
265
  endpoint_name="<ENDPOINT_NAME>")
267
266
  ```
268
- <!--End PulumiCodeChooser -->
269
267
 
270
268
 
271
269
  :param str endpoint_name: Name of the service integration endpoint
@@ -307,15 +305,13 @@ def get_service_integration_endpoint_output(endpoint_name: Optional[pulumi.Input
307
305
 
308
306
  ## Example Usage
309
307
 
310
- <!--Start PulumiCodeChooser -->
311
308
  ```python
312
309
  import pulumi
313
310
  import pulumi_aiven as aiven
314
311
 
315
- myendpoint = aiven.get_service_integration_endpoint(project=aiven_project["myproject"]["project"],
312
+ myendpoint = aiven.get_service_integration_endpoint(project=myproject["project"],
316
313
  endpoint_name="<ENDPOINT_NAME>")
317
314
  ```
318
- <!--End PulumiCodeChooser -->
319
315
 
320
316
 
321
317
  :param str endpoint_name: Name of the service integration endpoint
@@ -149,16 +149,14 @@ def get_transit_gateway_vpc_attachment(peer_cloud_account: Optional[str] = None,
149
149
 
150
150
  ## Example Usage
151
151
 
152
- <!--Start PulumiCodeChooser -->
153
152
  ```python
154
153
  import pulumi
155
154
  import pulumi_aiven as aiven
156
155
 
157
- attachment = aiven.get_transit_gateway_vpc_attachment(vpc_id=aiven_project_vpc["bar"]["id"],
156
+ attachment = aiven.get_transit_gateway_vpc_attachment(vpc_id=bar["id"],
158
157
  peer_cloud_account="<PEER_ACCOUNT_ID>",
159
158
  peer_vpc="google-project1")
160
159
  ```
161
- <!--End PulumiCodeChooser -->
162
160
 
163
161
 
164
162
  :param str peer_cloud_account: AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource.
@@ -194,16 +192,14 @@ def get_transit_gateway_vpc_attachment_output(peer_cloud_account: Optional[pulum
194
192
 
195
193
  ## Example Usage
196
194
 
197
- <!--Start PulumiCodeChooser -->
198
195
  ```python
199
196
  import pulumi
200
197
  import pulumi_aiven as aiven
201
198
 
202
- attachment = aiven.get_transit_gateway_vpc_attachment(vpc_id=aiven_project_vpc["bar"]["id"],
199
+ attachment = aiven.get_transit_gateway_vpc_attachment(vpc_id=bar["id"],
203
200
  peer_cloud_account="<PEER_ACCOUNT_ID>",
204
201
  peer_vpc="google-project1")
205
202
  ```
206
- <!--End PulumiCodeChooser -->
207
203
 
208
204
 
209
205
  :param str peer_cloud_account: AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource.