pulumi-aiven 6.14.0__py3-none-any.whl → 6.14.0a1711516617__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 +262 -200
  2. pulumi_aiven/account.py +6 -2
  3. pulumi_aiven/account_authentication.py +2 -2
  4. pulumi_aiven/account_team.py +6 -6
  5. pulumi_aiven/account_team_member.py +10 -6
  6. pulumi_aiven/account_team_project.py +12 -12
  7. pulumi_aiven/aws_privatelink.py +22 -18
  8. pulumi_aiven/aws_vpc_peering_connection.py +12 -8
  9. pulumi_aiven/azure_privatelink.py +22 -18
  10. pulumi_aiven/azure_privatelink_connection_approval.py +14 -112
  11. pulumi_aiven/azure_vpc_peering_connection.py +10 -6
  12. pulumi_aiven/billing_group.py +18 -18
  13. pulumi_aiven/cassandra.py +57 -25
  14. pulumi_aiven/cassandra_user.py +22 -18
  15. pulumi_aiven/clickhouse.py +57 -25
  16. pulumi_aiven/clickhouse_database.py +26 -24
  17. pulumi_aiven/clickhouse_grant.py +37 -35
  18. pulumi_aiven/clickhouse_role.py +20 -16
  19. pulumi_aiven/clickhouse_user.py +22 -18
  20. pulumi_aiven/connection_pool.py +28 -24
  21. pulumi_aiven/dragonfly.py +263 -124
  22. pulumi_aiven/flink.py +36 -32
  23. pulumi_aiven/flink_application.py +24 -22
  24. pulumi_aiven/flink_application_deployment.py +21 -21
  25. pulumi_aiven/flink_application_version.py +14 -96
  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 +8 -4
  29. pulumi_aiven/get_account.py +4 -0
  30. pulumi_aiven/get_aws_privatelink.py +14 -10
  31. pulumi_aiven/get_aws_vpc_peering_connection.py +10 -6
  32. pulumi_aiven/get_azure_privatelink.py +14 -10
  33. pulumi_aiven/get_azure_vpc_peering_connection.py +6 -2
  34. pulumi_aiven/get_billing_group.py +2 -2
  35. pulumi_aiven/get_cassanda.py +24 -7
  36. pulumi_aiven/get_cassandra.py +24 -7
  37. pulumi_aiven/get_cassandra_user.py +14 -10
  38. pulumi_aiven/get_clickhouse.py +24 -7
  39. pulumi_aiven/get_clickhouse_database.py +14 -10
  40. pulumi_aiven/get_clickhouse_user.py +14 -10
  41. pulumi_aiven/get_connection_pool.py +14 -10
  42. pulumi_aiven/get_dragonfly.py +20 -27
  43. pulumi_aiven/get_flink.py +10 -6
  44. pulumi_aiven/get_flink_application.py +12 -8
  45. pulumi_aiven/get_flink_application_version.py +12 -8
  46. pulumi_aiven/get_gcp_vpc_peering_connection.py +6 -2
  47. pulumi_aiven/get_grafana.py +24 -7
  48. pulumi_aiven/get_kafka.py +17 -13
  49. pulumi_aiven/get_kafka_acl.py +14 -10
  50. pulumi_aiven/get_kafka_connect.py +24 -7
  51. pulumi_aiven/get_kafka_connector.py +14 -10
  52. pulumi_aiven/get_kafka_mirror_maker.py +24 -7
  53. pulumi_aiven/get_kafka_schema.py +14 -10
  54. pulumi_aiven/get_kafka_schema_configuration.py +14 -10
  55. pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
  56. pulumi_aiven/get_kafka_topic.py +20 -16
  57. pulumi_aiven/get_kafka_user.py +14 -10
  58. pulumi_aiven/get_m3_aggregator.py +24 -7
  59. pulumi_aiven/get_m3_db.py +24 -7
  60. pulumi_aiven/get_m3db_user.py +14 -10
  61. pulumi_aiven/get_mirror_maker_replication_flow.py +18 -14
  62. pulumi_aiven/get_my_sql.py +24 -7
  63. pulumi_aiven/get_mysql_database.py +14 -10
  64. pulumi_aiven/get_mysql_user.py +14 -10
  65. pulumi_aiven/get_open_search.py +10 -6
  66. pulumi_aiven/get_open_search_acl_config.py +14 -10
  67. pulumi_aiven/get_open_search_acl_rule.py +14 -10
  68. pulumi_aiven/get_opensearch_security_plugin_config.py +14 -10
  69. pulumi_aiven/get_opensearch_user.py +14 -10
  70. pulumi_aiven/get_organization.py +4 -0
  71. pulumi_aiven/get_organization_user_group.py +6 -2
  72. pulumi_aiven/get_pg.py +10 -6
  73. pulumi_aiven/get_pg_database.py +14 -10
  74. pulumi_aiven/get_pg_user.py +14 -10
  75. pulumi_aiven/get_project.py +21 -17
  76. pulumi_aiven/get_project_user.py +13 -9
  77. pulumi_aiven/get_project_vpc.py +6 -2
  78. pulumi_aiven/get_redis.py +24 -7
  79. pulumi_aiven/get_redis_user.py +14 -10
  80. pulumi_aiven/get_service_component.py +8 -4
  81. pulumi_aiven/get_service_integration.py +33 -19
  82. pulumi_aiven/get_service_integration_endpoint.py +6 -2
  83. pulumi_aiven/get_transit_gateway_vpc_attachment.py +6 -2
  84. pulumi_aiven/grafana.py +267 -82
  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 +54 -50
  89. pulumi_aiven/kafka_acl.py +24 -20
  90. pulumi_aiven/kafka_connect.py +267 -80
  91. pulumi_aiven/kafka_connector.py +30 -26
  92. pulumi_aiven/kafka_mirror_maker.py +267 -80
  93. pulumi_aiven/kafka_schema.py +22 -18
  94. pulumi_aiven/kafka_schema_configuration.py +24 -20
  95. pulumi_aiven/kafka_schema_registry_acl.py +14 -54
  96. pulumi_aiven/kafka_topic.py +46 -84
  97. pulumi_aiven/kafka_user.py +22 -18
  98. pulumi_aiven/m3_aggregator.py +267 -80
  99. pulumi_aiven/m3_db.py +267 -80
  100. pulumi_aiven/m3db_user.py +20 -16
  101. pulumi_aiven/mirror_maker_replication_flow.py +26 -22
  102. pulumi_aiven/my_sql.py +267 -80
  103. pulumi_aiven/mysql_database.py +24 -20
  104. pulumi_aiven/mysql_user.py +22 -18
  105. pulumi_aiven/open_search.py +31 -27
  106. pulumi_aiven/open_search_acl_config.py +36 -28
  107. pulumi_aiven/open_search_acl_rule.py +40 -36
  108. pulumi_aiven/opensearch_security_plugin_config.py +32 -28
  109. pulumi_aiven/opensearch_user.py +22 -18
  110. pulumi_aiven/organization.py +6 -2
  111. pulumi_aiven/organization_group_project.py +0 -46
  112. pulumi_aiven/organization_user.py +20 -2
  113. pulumi_aiven/organization_user_group.py +6 -4
  114. pulumi_aiven/organization_user_group_member.py +10 -8
  115. pulumi_aiven/organizational_unit.py +6 -6
  116. pulumi_aiven/outputs.py +390 -271
  117. pulumi_aiven/pg.py +30 -30
  118. pulumi_aiven/pg_database.py +24 -20
  119. pulumi_aiven/pg_user.py +22 -18
  120. pulumi_aiven/project.py +79 -75
  121. pulumi_aiven/project_user.py +28 -24
  122. pulumi_aiven/project_vpc.py +7 -31
  123. pulumi_aiven/redis.py +267 -80
  124. pulumi_aiven/redis_user.py +22 -18
  125. pulumi_aiven/service_integration.py +58 -54
  126. pulumi_aiven/static_ip.py +7 -7
  127. pulumi_aiven/transit_gateway_vpc_attachment.py +8 -4
  128. {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/METADATA +1 -1
  129. pulumi_aiven-6.14.0a1711516617.dist-info/RECORD +150 -0
  130. pulumi_aiven-6.14.0.dist-info/RECORD +0 -150
  131. {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/WHEEL +0 -0
  132. {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.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
- 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.
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.
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
- 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
+ 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.
117
117
  """
118
118
  return pulumi.get(self, "service_name")
119
119
 
@@ -161,18 +161,20 @@ def get_redis_user(project: Optional[str] = None,
161
161
 
162
162
  ## Example Usage
163
163
 
164
+ <!--Start PulumiCodeChooser -->
164
165
  ```python
165
166
  import pulumi
166
167
  import pulumi_aiven as aiven
167
168
 
168
- user = aiven.get_redis_user(service_name="my-service",
169
- project="my-project",
169
+ user = aiven.get_redis_user(project="my-project",
170
+ service_name="my-service",
170
171
  username="user1")
171
172
  ```
173
+ <!--End PulumiCodeChooser -->
172
174
 
173
175
 
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.
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.
176
178
  :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.
177
179
  """
178
180
  __args__ = dict()
@@ -205,18 +207,20 @@ def get_redis_user_output(project: Optional[pulumi.Input[str]] = None,
205
207
 
206
208
  ## Example Usage
207
209
 
210
+ <!--Start PulumiCodeChooser -->
208
211
  ```python
209
212
  import pulumi
210
213
  import pulumi_aiven as aiven
211
214
 
212
- user = aiven.get_redis_user(service_name="my-service",
213
- project="my-project",
215
+ user = aiven.get_redis_user(project="my-project",
216
+ service_name="my-service",
214
217
  username="user1")
215
218
  ```
219
+ <!--End PulumiCodeChooser -->
216
220
 
217
221
 
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.
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.
220
224
  :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.
221
225
  """
222
226
  ...
@@ -167,16 +167,18 @@ def get_service_component(component: Optional[str] = None,
167
167
 
168
168
  ## Example Usage
169
169
 
170
+ <!--Start PulumiCodeChooser -->
170
171
  ```python
171
172
  import pulumi
172
173
  import pulumi_aiven as aiven
173
174
 
174
- sc1 = aiven.get_service_component(project=project1["project"],
175
- service_name=service1["serviceName"],
175
+ sc1 = aiven.get_service_component(project=aiven_kafka["project1"]["project"],
176
+ service_name=aiven_kafka["service1"]["service_name"],
176
177
  component="kafka",
177
178
  route="dynamic",
178
179
  kafka_authentication_method="certificate")
179
180
  ```
181
+ <!--End PulumiCodeChooser -->
180
182
 
181
183
 
182
184
  :param str component: Service component name
@@ -227,16 +229,18 @@ def get_service_component_output(component: Optional[pulumi.Input[str]] = None,
227
229
 
228
230
  ## Example Usage
229
231
 
232
+ <!--Start PulumiCodeChooser -->
230
233
  ```python
231
234
  import pulumi
232
235
  import pulumi_aiven as aiven
233
236
 
234
- sc1 = aiven.get_service_component(project=project1["project"],
235
- service_name=service1["serviceName"],
237
+ sc1 = aiven.get_service_component(project=aiven_kafka["project1"]["project"],
238
+ service_name=aiven_kafka["service1"]["service_name"],
236
239
  component="kafka",
237
240
  route="dynamic",
238
241
  kafka_authentication_method="certificate")
239
242
  ```
243
+ <!--End PulumiCodeChooser -->
240
244
 
241
245
 
242
246
  :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.
118
+ Destination endpoint for the integration (if any)
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.
126
+ Destination service for the integration (if any)
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
- The ID of the Aiven service integration.
174
+ Service Integration Id at aiven
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.
246
+ Source endpoint for the integration (if any)
247
247
  """
248
248
  return pulumi.get(self, "source_endpoint_id")
249
249
 
@@ -291,24 +291,31 @@ 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
- Gets information about an Aiven service integration.
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.
295
300
 
296
301
  ## Example Usage
297
302
 
303
+ <!--Start PulumiCodeChooser -->
298
304
  ```python
299
305
  import pulumi
300
306
  import pulumi_aiven as aiven
301
307
 
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"])
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>")
306
312
  ```
313
+ <!--End PulumiCodeChooser -->
307
314
 
308
315
 
309
- :param str destination_service_name: Destination service for the integration.
316
+ :param str destination_service_name: Destination service for the integration (if any)
310
317
  :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`
311
- :param str project: Project the integration belongs to.
318
+ :param str project: Project the integration belongs to
312
319
  :param str source_service_name: Source service for the integration (if any)
313
320
  """
314
321
  __args__ = dict()
@@ -350,24 +357,31 @@ def get_service_integration_output(destination_service_name: Optional[pulumi.Inp
350
357
  source_service_name: Optional[pulumi.Input[str]] = None,
351
358
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceIntegrationResult]:
352
359
  """
353
- Gets information about an Aiven service integration.
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.
354
366
 
355
367
  ## Example Usage
356
368
 
369
+ <!--Start PulumiCodeChooser -->
357
370
  ```python
358
371
  import pulumi
359
372
  import pulumi_aiven as aiven
360
373
 
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"])
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>")
365
378
  ```
379
+ <!--End PulumiCodeChooser -->
366
380
 
367
381
 
368
- :param str destination_service_name: Destination service for the integration.
382
+ :param str destination_service_name: Destination service for the integration (if any)
369
383
  :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`
370
- :param str project: Project the integration belongs to.
384
+ :param str project: Project the integration belongs to
371
385
  :param str source_service_name: Source service for the integration (if any)
372
386
  """
373
387
  ...
@@ -257,13 +257,15 @@ def get_service_integration_endpoint(endpoint_name: Optional[str] = None,
257
257
 
258
258
  ## Example Usage
259
259
 
260
+ <!--Start PulumiCodeChooser -->
260
261
  ```python
261
262
  import pulumi
262
263
  import pulumi_aiven as aiven
263
264
 
264
- myendpoint = aiven.get_service_integration_endpoint(project=myproject["project"],
265
+ myendpoint = aiven.get_service_integration_endpoint(project=aiven_project["myproject"]["project"],
265
266
  endpoint_name="<ENDPOINT_NAME>")
266
267
  ```
268
+ <!--End PulumiCodeChooser -->
267
269
 
268
270
 
269
271
  :param str endpoint_name: Name of the service integration endpoint
@@ -305,13 +307,15 @@ def get_service_integration_endpoint_output(endpoint_name: Optional[pulumi.Input
305
307
 
306
308
  ## Example Usage
307
309
 
310
+ <!--Start PulumiCodeChooser -->
308
311
  ```python
309
312
  import pulumi
310
313
  import pulumi_aiven as aiven
311
314
 
312
- myendpoint = aiven.get_service_integration_endpoint(project=myproject["project"],
315
+ myendpoint = aiven.get_service_integration_endpoint(project=aiven_project["myproject"]["project"],
313
316
  endpoint_name="<ENDPOINT_NAME>")
314
317
  ```
318
+ <!--End PulumiCodeChooser -->
315
319
 
316
320
 
317
321
  :param str endpoint_name: Name of the service integration endpoint
@@ -149,14 +149,16 @@ def get_transit_gateway_vpc_attachment(peer_cloud_account: Optional[str] = None,
149
149
 
150
150
  ## Example Usage
151
151
 
152
+ <!--Start PulumiCodeChooser -->
152
153
  ```python
153
154
  import pulumi
154
155
  import pulumi_aiven as aiven
155
156
 
156
- attachment = aiven.get_transit_gateway_vpc_attachment(vpc_id=bar["id"],
157
+ attachment = aiven.get_transit_gateway_vpc_attachment(vpc_id=aiven_project_vpc["bar"]["id"],
157
158
  peer_cloud_account="<PEER_ACCOUNT_ID>",
158
159
  peer_vpc="google-project1")
159
160
  ```
161
+ <!--End PulumiCodeChooser -->
160
162
 
161
163
 
162
164
  :param str peer_cloud_account: AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource.
@@ -192,14 +194,16 @@ def get_transit_gateway_vpc_attachment_output(peer_cloud_account: Optional[pulum
192
194
 
193
195
  ## Example Usage
194
196
 
197
+ <!--Start PulumiCodeChooser -->
195
198
  ```python
196
199
  import pulumi
197
200
  import pulumi_aiven as aiven
198
201
 
199
- attachment = aiven.get_transit_gateway_vpc_attachment(vpc_id=bar["id"],
202
+ attachment = aiven.get_transit_gateway_vpc_attachment(vpc_id=aiven_project_vpc["bar"]["id"],
200
203
  peer_cloud_account="<PEER_ACCOUNT_ID>",
201
204
  peer_vpc="google-project1")
202
205
  ```
206
+ <!--End PulumiCodeChooser -->
203
207
 
204
208
 
205
209
  :param str peer_cloud_account: AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource.