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.
- pulumi_aiven/_inputs.py +262 -200
- pulumi_aiven/account.py +6 -2
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +10 -6
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +22 -18
- pulumi_aiven/aws_vpc_peering_connection.py +12 -8
- pulumi_aiven/azure_privatelink.py +22 -18
- pulumi_aiven/azure_privatelink_connection_approval.py +14 -112
- pulumi_aiven/azure_vpc_peering_connection.py +10 -6
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +57 -25
- pulumi_aiven/cassandra_user.py +22 -18
- pulumi_aiven/clickhouse.py +57 -25
- pulumi_aiven/clickhouse_database.py +26 -24
- pulumi_aiven/clickhouse_grant.py +37 -35
- pulumi_aiven/clickhouse_role.py +20 -16
- pulumi_aiven/clickhouse_user.py +22 -18
- pulumi_aiven/connection_pool.py +28 -24
- pulumi_aiven/dragonfly.py +263 -124
- pulumi_aiven/flink.py +36 -32
- pulumi_aiven/flink_application.py +24 -22
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +14 -96
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +8 -4
- pulumi_aiven/get_account.py +4 -0
- pulumi_aiven/get_aws_privatelink.py +14 -10
- pulumi_aiven/get_aws_vpc_peering_connection.py +10 -6
- pulumi_aiven/get_azure_privatelink.py +14 -10
- pulumi_aiven/get_azure_vpc_peering_connection.py +6 -2
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +24 -7
- pulumi_aiven/get_cassandra.py +24 -7
- pulumi_aiven/get_cassandra_user.py +14 -10
- pulumi_aiven/get_clickhouse.py +24 -7
- pulumi_aiven/get_clickhouse_database.py +14 -10
- pulumi_aiven/get_clickhouse_user.py +14 -10
- pulumi_aiven/get_connection_pool.py +14 -10
- pulumi_aiven/get_dragonfly.py +20 -27
- pulumi_aiven/get_flink.py +10 -6
- pulumi_aiven/get_flink_application.py +12 -8
- pulumi_aiven/get_flink_application_version.py +12 -8
- pulumi_aiven/get_gcp_vpc_peering_connection.py +6 -2
- pulumi_aiven/get_grafana.py +24 -7
- pulumi_aiven/get_kafka.py +17 -13
- pulumi_aiven/get_kafka_acl.py +14 -10
- pulumi_aiven/get_kafka_connect.py +24 -7
- pulumi_aiven/get_kafka_connector.py +14 -10
- pulumi_aiven/get_kafka_mirror_maker.py +24 -7
- pulumi_aiven/get_kafka_schema.py +14 -10
- pulumi_aiven/get_kafka_schema_configuration.py +14 -10
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +20 -16
- pulumi_aiven/get_kafka_user.py +14 -10
- pulumi_aiven/get_m3_aggregator.py +24 -7
- pulumi_aiven/get_m3_db.py +24 -7
- pulumi_aiven/get_m3db_user.py +14 -10
- pulumi_aiven/get_mirror_maker_replication_flow.py +18 -14
- pulumi_aiven/get_my_sql.py +24 -7
- pulumi_aiven/get_mysql_database.py +14 -10
- pulumi_aiven/get_mysql_user.py +14 -10
- pulumi_aiven/get_open_search.py +10 -6
- pulumi_aiven/get_open_search_acl_config.py +14 -10
- pulumi_aiven/get_open_search_acl_rule.py +14 -10
- pulumi_aiven/get_opensearch_security_plugin_config.py +14 -10
- pulumi_aiven/get_opensearch_user.py +14 -10
- pulumi_aiven/get_organization.py +4 -0
- pulumi_aiven/get_organization_user_group.py +6 -2
- pulumi_aiven/get_pg.py +10 -6
- pulumi_aiven/get_pg_database.py +14 -10
- pulumi_aiven/get_pg_user.py +14 -10
- pulumi_aiven/get_project.py +21 -17
- pulumi_aiven/get_project_user.py +13 -9
- pulumi_aiven/get_project_vpc.py +6 -2
- pulumi_aiven/get_redis.py +24 -7
- pulumi_aiven/get_redis_user.py +14 -10
- pulumi_aiven/get_service_component.py +8 -4
- pulumi_aiven/get_service_integration.py +33 -19
- pulumi_aiven/get_service_integration_endpoint.py +6 -2
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +6 -2
- pulumi_aiven/grafana.py +267 -82
- pulumi_aiven/influx_db.py +21 -21
- pulumi_aiven/influxdb_database.py +21 -21
- pulumi_aiven/influxdb_user.py +21 -21
- pulumi_aiven/kafka.py +54 -50
- pulumi_aiven/kafka_acl.py +24 -20
- pulumi_aiven/kafka_connect.py +267 -80
- pulumi_aiven/kafka_connector.py +30 -26
- pulumi_aiven/kafka_mirror_maker.py +267 -80
- pulumi_aiven/kafka_schema.py +22 -18
- pulumi_aiven/kafka_schema_configuration.py +24 -20
- pulumi_aiven/kafka_schema_registry_acl.py +14 -54
- pulumi_aiven/kafka_topic.py +46 -84
- pulumi_aiven/kafka_user.py +22 -18
- pulumi_aiven/m3_aggregator.py +267 -80
- pulumi_aiven/m3_db.py +267 -80
- pulumi_aiven/m3db_user.py +20 -16
- pulumi_aiven/mirror_maker_replication_flow.py +26 -22
- pulumi_aiven/my_sql.py +267 -80
- pulumi_aiven/mysql_database.py +24 -20
- pulumi_aiven/mysql_user.py +22 -18
- pulumi_aiven/open_search.py +31 -27
- pulumi_aiven/open_search_acl_config.py +36 -28
- pulumi_aiven/open_search_acl_rule.py +40 -36
- pulumi_aiven/opensearch_security_plugin_config.py +32 -28
- pulumi_aiven/opensearch_user.py +22 -18
- pulumi_aiven/organization.py +6 -2
- pulumi_aiven/organization_group_project.py +0 -46
- pulumi_aiven/organization_user.py +20 -2
- pulumi_aiven/organization_user_group.py +6 -4
- pulumi_aiven/organization_user_group_member.py +10 -8
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +390 -271
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +24 -20
- pulumi_aiven/pg_user.py +22 -18
- pulumi_aiven/project.py +79 -75
- pulumi_aiven/project_user.py +28 -24
- pulumi_aiven/project_vpc.py +7 -31
- pulumi_aiven/redis.py +267 -80
- pulumi_aiven/redis_user.py +22 -18
- pulumi_aiven/service_integration.py +58 -54
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +8 -4
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0a1711516617.dist-info/RECORD +150 -0
- pulumi_aiven-6.14.0.dist-info/RECORD +0 -150
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/top_level.txt +0 -0
|
@@ -27,8 +27,8 @@ class FlinkApplicationVersionArgs:
|
|
|
27
27
|
"""
|
|
28
28
|
The set of arguments for constructing a FlinkApplicationVersion resource.
|
|
29
29
|
:param pulumi.Input[str] application_id: Application ID
|
|
30
|
-
:param pulumi.Input[str] project:
|
|
31
|
-
:param pulumi.Input[str] service_name:
|
|
30
|
+
:param pulumi.Input[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.
|
|
31
|
+
:param pulumi.Input[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.
|
|
32
32
|
:param pulumi.Input[str] statement: Job SQL statement
|
|
33
33
|
:param pulumi.Input[Sequence[pulumi.Input['FlinkApplicationVersionSinkArgs']]] sink: Application sink
|
|
34
34
|
:param pulumi.Input[Sequence[pulumi.Input['FlinkApplicationVersionSinkArgs']]] sinks: Application sinks
|
|
@@ -70,7 +70,7 @@ class FlinkApplicationVersionArgs:
|
|
|
70
70
|
@pulumi.getter
|
|
71
71
|
def project(self) -> pulumi.Input[str]:
|
|
72
72
|
"""
|
|
73
|
-
|
|
73
|
+
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.
|
|
74
74
|
"""
|
|
75
75
|
return pulumi.get(self, "project")
|
|
76
76
|
|
|
@@ -82,7 +82,7 @@ class FlinkApplicationVersionArgs:
|
|
|
82
82
|
@pulumi.getter(name="serviceName")
|
|
83
83
|
def service_name(self) -> pulumi.Input[str]:
|
|
84
84
|
"""
|
|
85
|
-
|
|
85
|
+
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.
|
|
86
86
|
"""
|
|
87
87
|
return pulumi.get(self, "service_name")
|
|
88
88
|
|
|
@@ -178,8 +178,8 @@ class _FlinkApplicationVersionState:
|
|
|
178
178
|
:param pulumi.Input[str] application_version_id: Application version ID
|
|
179
179
|
:param pulumi.Input[str] created_at: Application version creation time
|
|
180
180
|
:param pulumi.Input[str] created_by: Application version creator
|
|
181
|
-
:param pulumi.Input[str] project:
|
|
182
|
-
:param pulumi.Input[str] service_name:
|
|
181
|
+
:param pulumi.Input[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.
|
|
182
|
+
:param pulumi.Input[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.
|
|
183
183
|
:param pulumi.Input[Sequence[pulumi.Input['FlinkApplicationVersionSinkArgs']]] sink: Application sink
|
|
184
184
|
:param pulumi.Input[Sequence[pulumi.Input['FlinkApplicationVersionSinkArgs']]] sinks: Application sinks
|
|
185
185
|
:param pulumi.Input[Sequence[pulumi.Input['FlinkApplicationVersionSourceArgs']]] source: Application source
|
|
@@ -270,7 +270,7 @@ class _FlinkApplicationVersionState:
|
|
|
270
270
|
@pulumi.getter
|
|
271
271
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
272
272
|
"""
|
|
273
|
-
|
|
273
|
+
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.
|
|
274
274
|
"""
|
|
275
275
|
return pulumi.get(self, "project")
|
|
276
276
|
|
|
@@ -282,7 +282,7 @@ class _FlinkApplicationVersionState:
|
|
|
282
282
|
@pulumi.getter(name="serviceName")
|
|
283
283
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
284
284
|
"""
|
|
285
|
-
|
|
285
|
+
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.
|
|
286
286
|
"""
|
|
287
287
|
return pulumi.get(self, "service_name")
|
|
288
288
|
|
|
@@ -386,47 +386,6 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
386
386
|
"""
|
|
387
387
|
The Flink Application Version resource allows the creation and management of Aiven Flink Application Versions.
|
|
388
388
|
|
|
389
|
-
## Example Usage
|
|
390
|
-
|
|
391
|
-
```python
|
|
392
|
-
import pulumi
|
|
393
|
-
import pulumi_aiven as aiven
|
|
394
|
-
|
|
395
|
-
foo = aiven.FlinkApplicationVersion("foo",
|
|
396
|
-
project=foo_aiven_project["project"],
|
|
397
|
-
service_name=foo_aiven_flink["serviceName"],
|
|
398
|
-
application_id=foo_aiven_flink_application["applicationId"],
|
|
399
|
-
statement=" INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'\\n",
|
|
400
|
-
sinks=[aiven.FlinkApplicationVersionSinkArgs(
|
|
401
|
-
create_table=\"\"\" CREATE TABLE kafka_known_pizza (
|
|
402
|
-
shop STRING,
|
|
403
|
-
name STRING
|
|
404
|
-
) WITH (
|
|
405
|
-
'connector' = 'kafka',
|
|
406
|
-
'properties.bootstrap.servers' = '',
|
|
407
|
-
'scan.startup.mode' = 'earliest-offset',
|
|
408
|
-
'topic' = 'sink_topic',
|
|
409
|
-
'value.format' = 'json'
|
|
410
|
-
)
|
|
411
|
-
\"\"\",
|
|
412
|
-
integration_id=flink_to_kafka["integrationId"],
|
|
413
|
-
)],
|
|
414
|
-
sources=[aiven.FlinkApplicationVersionSourceArgs(
|
|
415
|
-
create_table=\"\"\" CREATE TABLE kafka_pizza (
|
|
416
|
-
shop STRING,
|
|
417
|
-
name STRING
|
|
418
|
-
) WITH (
|
|
419
|
-
'connector' = 'kafka',
|
|
420
|
-
'properties.bootstrap.servers' = '',
|
|
421
|
-
'scan.startup.mode' = 'earliest-offset',
|
|
422
|
-
'topic' = 'source_topic',
|
|
423
|
-
'value.format' = 'json'
|
|
424
|
-
)
|
|
425
|
-
\"\"\",
|
|
426
|
-
integration_id=flink_to_kafka["integrationId"],
|
|
427
|
-
)])
|
|
428
|
-
```
|
|
429
|
-
|
|
430
389
|
## Import
|
|
431
390
|
|
|
432
391
|
```sh
|
|
@@ -436,8 +395,8 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
436
395
|
:param str resource_name: The name of the resource.
|
|
437
396
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
438
397
|
:param pulumi.Input[str] application_id: Application ID
|
|
439
|
-
:param pulumi.Input[str] project:
|
|
440
|
-
:param pulumi.Input[str] service_name:
|
|
398
|
+
:param pulumi.Input[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.
|
|
399
|
+
:param pulumi.Input[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.
|
|
441
400
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkApplicationVersionSinkArgs']]]] sink: Application sink
|
|
442
401
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkApplicationVersionSinkArgs']]]] sinks: Application sinks
|
|
443
402
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkApplicationVersionSourceArgs']]]] source: Application source
|
|
@@ -453,47 +412,6 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
453
412
|
"""
|
|
454
413
|
The Flink Application Version resource allows the creation and management of Aiven Flink Application Versions.
|
|
455
414
|
|
|
456
|
-
## Example Usage
|
|
457
|
-
|
|
458
|
-
```python
|
|
459
|
-
import pulumi
|
|
460
|
-
import pulumi_aiven as aiven
|
|
461
|
-
|
|
462
|
-
foo = aiven.FlinkApplicationVersion("foo",
|
|
463
|
-
project=foo_aiven_project["project"],
|
|
464
|
-
service_name=foo_aiven_flink["serviceName"],
|
|
465
|
-
application_id=foo_aiven_flink_application["applicationId"],
|
|
466
|
-
statement=" INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'\\n",
|
|
467
|
-
sinks=[aiven.FlinkApplicationVersionSinkArgs(
|
|
468
|
-
create_table=\"\"\" CREATE TABLE kafka_known_pizza (
|
|
469
|
-
shop STRING,
|
|
470
|
-
name STRING
|
|
471
|
-
) WITH (
|
|
472
|
-
'connector' = 'kafka',
|
|
473
|
-
'properties.bootstrap.servers' = '',
|
|
474
|
-
'scan.startup.mode' = 'earliest-offset',
|
|
475
|
-
'topic' = 'sink_topic',
|
|
476
|
-
'value.format' = 'json'
|
|
477
|
-
)
|
|
478
|
-
\"\"\",
|
|
479
|
-
integration_id=flink_to_kafka["integrationId"],
|
|
480
|
-
)],
|
|
481
|
-
sources=[aiven.FlinkApplicationVersionSourceArgs(
|
|
482
|
-
create_table=\"\"\" CREATE TABLE kafka_pizza (
|
|
483
|
-
shop STRING,
|
|
484
|
-
name STRING
|
|
485
|
-
) WITH (
|
|
486
|
-
'connector' = 'kafka',
|
|
487
|
-
'properties.bootstrap.servers' = '',
|
|
488
|
-
'scan.startup.mode' = 'earliest-offset',
|
|
489
|
-
'topic' = 'source_topic',
|
|
490
|
-
'value.format' = 'json'
|
|
491
|
-
)
|
|
492
|
-
\"\"\",
|
|
493
|
-
integration_id=flink_to_kafka["integrationId"],
|
|
494
|
-
)])
|
|
495
|
-
```
|
|
496
|
-
|
|
497
415
|
## Import
|
|
498
416
|
|
|
499
417
|
```sh
|
|
@@ -585,8 +503,8 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
585
503
|
:param pulumi.Input[str] application_version_id: Application version ID
|
|
586
504
|
:param pulumi.Input[str] created_at: Application version creation time
|
|
587
505
|
:param pulumi.Input[str] created_by: Application version creator
|
|
588
|
-
:param pulumi.Input[str] project:
|
|
589
|
-
:param pulumi.Input[str] service_name:
|
|
506
|
+
:param pulumi.Input[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.
|
|
507
|
+
:param pulumi.Input[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.
|
|
590
508
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkApplicationVersionSinkArgs']]]] sink: Application sink
|
|
591
509
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkApplicationVersionSinkArgs']]]] sinks: Application sinks
|
|
592
510
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkApplicationVersionSourceArgs']]]] source: Application source
|
|
@@ -648,7 +566,7 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
648
566
|
@pulumi.getter
|
|
649
567
|
def project(self) -> pulumi.Output[str]:
|
|
650
568
|
"""
|
|
651
|
-
|
|
569
|
+
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.
|
|
652
570
|
"""
|
|
653
571
|
return pulumi.get(self, "project")
|
|
654
572
|
|
|
@@ -656,7 +574,7 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
656
574
|
@pulumi.getter(name="serviceName")
|
|
657
575
|
def service_name(self) -> pulumi.Output[str]:
|
|
658
576
|
"""
|
|
659
|
-
|
|
577
|
+
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.
|
|
660
578
|
"""
|
|
661
579
|
return pulumi.get(self, "service_name")
|
|
662
580
|
|
pulumi_aiven/gcp_privatelink.py
CHANGED
|
@@ -18,10 +18,10 @@ class GcpPrivatelinkArgs:
|
|
|
18
18
|
service_name: pulumi.Input[str]):
|
|
19
19
|
"""
|
|
20
20
|
The set of arguments for constructing a GcpPrivatelink resource.
|
|
21
|
-
:param pulumi.Input[str] project:
|
|
22
|
-
reference. Changing this property forces recreation of the resource.
|
|
23
|
-
:param pulumi.Input[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
|
|
21
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
24
22
|
reference. Changing this property forces recreation of the resource.
|
|
23
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
|
|
24
|
+
variable as a reference. Changing this property forces recreation of the resource.
|
|
25
25
|
"""
|
|
26
26
|
pulumi.set(__self__, "project", project)
|
|
27
27
|
pulumi.set(__self__, "service_name", service_name)
|
|
@@ -30,7 +30,7 @@ class GcpPrivatelinkArgs:
|
|
|
30
30
|
@pulumi.getter
|
|
31
31
|
def project(self) -> pulumi.Input[str]:
|
|
32
32
|
"""
|
|
33
|
-
|
|
33
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
34
34
|
reference. Changing this property forces recreation of the resource.
|
|
35
35
|
"""
|
|
36
36
|
return pulumi.get(self, "project")
|
|
@@ -43,8 +43,8 @@ class GcpPrivatelinkArgs:
|
|
|
43
43
|
@pulumi.getter(name="serviceName")
|
|
44
44
|
def service_name(self) -> pulumi.Input[str]:
|
|
45
45
|
"""
|
|
46
|
-
|
|
47
|
-
reference. Changing this property forces recreation of the resource.
|
|
46
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
|
|
47
|
+
variable as a reference. Changing this property forces recreation of the resource.
|
|
48
48
|
"""
|
|
49
49
|
return pulumi.get(self, "service_name")
|
|
50
50
|
|
|
@@ -65,10 +65,10 @@ class _GcpPrivatelinkState:
|
|
|
65
65
|
Input properties used for looking up and filtering GcpPrivatelink resources.
|
|
66
66
|
:param pulumi.Input[str] google_service_attachment: Google Private Service Connect service attachment.
|
|
67
67
|
:param pulumi.Input[str] message: Printable result of the Google Cloud Private Service Connect request.
|
|
68
|
-
:param pulumi.Input[str] project:
|
|
69
|
-
reference. Changing this property forces recreation of the resource.
|
|
70
|
-
:param pulumi.Input[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
|
|
68
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
71
69
|
reference. Changing this property forces recreation of the resource.
|
|
70
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
|
|
71
|
+
variable as a reference. Changing this property forces recreation of the resource.
|
|
72
72
|
:param pulumi.Input[str] state: The state of the Private Service Connect resource.
|
|
73
73
|
"""
|
|
74
74
|
if google_service_attachment is not None:
|
|
@@ -110,7 +110,7 @@ class _GcpPrivatelinkState:
|
|
|
110
110
|
@pulumi.getter
|
|
111
111
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
112
112
|
"""
|
|
113
|
-
|
|
113
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
114
114
|
reference. Changing this property forces recreation of the resource.
|
|
115
115
|
"""
|
|
116
116
|
return pulumi.get(self, "project")
|
|
@@ -123,8 +123,8 @@ class _GcpPrivatelinkState:
|
|
|
123
123
|
@pulumi.getter(name="serviceName")
|
|
124
124
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
125
125
|
"""
|
|
126
|
-
|
|
127
|
-
reference. Changing this property forces recreation of the resource.
|
|
126
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
|
|
127
|
+
variable as a reference. Changing this property forces recreation of the resource.
|
|
128
128
|
"""
|
|
129
129
|
return pulumi.get(self, "service_name")
|
|
130
130
|
|
|
@@ -157,10 +157,10 @@ class GcpPrivatelink(pulumi.CustomResource):
|
|
|
157
157
|
Create a GcpPrivatelink resource with the given unique name, props, and options.
|
|
158
158
|
:param str resource_name: The name of the resource.
|
|
159
159
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
160
|
-
:param pulumi.Input[str] project:
|
|
161
|
-
reference. Changing this property forces recreation of the resource.
|
|
162
|
-
:param pulumi.Input[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
|
|
160
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
163
161
|
reference. Changing this property forces recreation of the resource.
|
|
162
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
|
|
163
|
+
variable as a reference. Changing this property forces recreation of the resource.
|
|
164
164
|
"""
|
|
165
165
|
...
|
|
166
166
|
@overload
|
|
@@ -229,10 +229,10 @@ class GcpPrivatelink(pulumi.CustomResource):
|
|
|
229
229
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
230
230
|
:param pulumi.Input[str] google_service_attachment: Google Private Service Connect service attachment.
|
|
231
231
|
:param pulumi.Input[str] message: Printable result of the Google Cloud Private Service Connect request.
|
|
232
|
-
:param pulumi.Input[str] project:
|
|
233
|
-
reference. Changing this property forces recreation of the resource.
|
|
234
|
-
:param pulumi.Input[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
|
|
232
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
235
233
|
reference. Changing this property forces recreation of the resource.
|
|
234
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
|
|
235
|
+
variable as a reference. Changing this property forces recreation of the resource.
|
|
236
236
|
:param pulumi.Input[str] state: The state of the Private Service Connect resource.
|
|
237
237
|
"""
|
|
238
238
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -266,7 +266,7 @@ class GcpPrivatelink(pulumi.CustomResource):
|
|
|
266
266
|
@pulumi.getter
|
|
267
267
|
def project(self) -> pulumi.Output[str]:
|
|
268
268
|
"""
|
|
269
|
-
|
|
269
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
270
270
|
reference. Changing this property forces recreation of the resource.
|
|
271
271
|
"""
|
|
272
272
|
return pulumi.get(self, "project")
|
|
@@ -275,8 +275,8 @@ class GcpPrivatelink(pulumi.CustomResource):
|
|
|
275
275
|
@pulumi.getter(name="serviceName")
|
|
276
276
|
def service_name(self) -> pulumi.Output[str]:
|
|
277
277
|
"""
|
|
278
|
-
|
|
279
|
-
reference. Changing this property forces recreation of the resource.
|
|
278
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
|
|
279
|
+
variable as a reference. Changing this property forces recreation of the resource.
|
|
280
280
|
"""
|
|
281
281
|
return pulumi.get(self, "service_name")
|
|
282
282
|
|
|
@@ -19,10 +19,10 @@ class GcpPrivatelinkConnectionApprovalArgs:
|
|
|
19
19
|
user_ip_address: pulumi.Input[str]):
|
|
20
20
|
"""
|
|
21
21
|
The set of arguments for constructing a GcpPrivatelinkConnectionApproval resource.
|
|
22
|
-
:param pulumi.Input[str] project:
|
|
23
|
-
reference. Changing this property forces recreation of the resource.
|
|
24
|
-
:param pulumi.Input[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
|
|
22
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
25
23
|
reference. Changing this property forces recreation of the resource.
|
|
24
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
|
|
25
|
+
variable as a reference. Changing this property forces recreation of the resource.
|
|
26
26
|
:param pulumi.Input[str] user_ip_address: The Private Service Connect connection user IP address.
|
|
27
27
|
"""
|
|
28
28
|
pulumi.set(__self__, "project", project)
|
|
@@ -33,7 +33,7 @@ class GcpPrivatelinkConnectionApprovalArgs:
|
|
|
33
33
|
@pulumi.getter
|
|
34
34
|
def project(self) -> pulumi.Input[str]:
|
|
35
35
|
"""
|
|
36
|
-
|
|
36
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
37
37
|
reference. Changing this property forces recreation of the resource.
|
|
38
38
|
"""
|
|
39
39
|
return pulumi.get(self, "project")
|
|
@@ -46,8 +46,8 @@ class GcpPrivatelinkConnectionApprovalArgs:
|
|
|
46
46
|
@pulumi.getter(name="serviceName")
|
|
47
47
|
def service_name(self) -> pulumi.Input[str]:
|
|
48
48
|
"""
|
|
49
|
-
|
|
50
|
-
reference. Changing this property forces recreation of the resource.
|
|
49
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
|
|
50
|
+
variable as a reference. Changing this property forces recreation of the resource.
|
|
51
51
|
"""
|
|
52
52
|
return pulumi.get(self, "service_name")
|
|
53
53
|
|
|
@@ -80,11 +80,11 @@ class _GcpPrivatelinkConnectionApprovalState:
|
|
|
80
80
|
"""
|
|
81
81
|
Input properties used for looking up and filtering GcpPrivatelinkConnectionApproval resources.
|
|
82
82
|
:param pulumi.Input[str] privatelink_connection_id: Aiven internal ID for the private link connection.
|
|
83
|
-
:param pulumi.Input[str] project:
|
|
83
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
84
84
|
reference. Changing this property forces recreation of the resource.
|
|
85
85
|
:param pulumi.Input[str] psc_connection_id: The Google Private Service Connect connection ID.
|
|
86
|
-
:param pulumi.Input[str] service_name:
|
|
87
|
-
reference. Changing this property forces recreation of the resource.
|
|
86
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
|
|
87
|
+
variable as a reference. Changing this property forces recreation of the resource.
|
|
88
88
|
:param pulumi.Input[str] state: The state of the connection.
|
|
89
89
|
:param pulumi.Input[str] user_ip_address: The Private Service Connect connection user IP address.
|
|
90
90
|
"""
|
|
@@ -117,7 +117,7 @@ class _GcpPrivatelinkConnectionApprovalState:
|
|
|
117
117
|
@pulumi.getter
|
|
118
118
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
119
119
|
"""
|
|
120
|
-
|
|
120
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
121
121
|
reference. Changing this property forces recreation of the resource.
|
|
122
122
|
"""
|
|
123
123
|
return pulumi.get(self, "project")
|
|
@@ -142,8 +142,8 @@ class _GcpPrivatelinkConnectionApprovalState:
|
|
|
142
142
|
@pulumi.getter(name="serviceName")
|
|
143
143
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
144
144
|
"""
|
|
145
|
-
|
|
146
|
-
reference. Changing this property forces recreation of the resource.
|
|
145
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
|
|
146
|
+
variable as a reference. Changing this property forces recreation of the resource.
|
|
147
147
|
"""
|
|
148
148
|
return pulumi.get(self, "service_name")
|
|
149
149
|
|
|
@@ -189,10 +189,10 @@ class GcpPrivatelinkConnectionApproval(pulumi.CustomResource):
|
|
|
189
189
|
Create a GcpPrivatelinkConnectionApproval resource with the given unique name, props, and options.
|
|
190
190
|
:param str resource_name: The name of the resource.
|
|
191
191
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
192
|
-
:param pulumi.Input[str] project:
|
|
193
|
-
reference. Changing this property forces recreation of the resource.
|
|
194
|
-
:param pulumi.Input[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
|
|
192
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
195
193
|
reference. Changing this property forces recreation of the resource.
|
|
194
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
|
|
195
|
+
variable as a reference. Changing this property forces recreation of the resource.
|
|
196
196
|
:param pulumi.Input[str] user_ip_address: The Private Service Connect connection user IP address.
|
|
197
197
|
"""
|
|
198
198
|
...
|
|
@@ -266,11 +266,11 @@ class GcpPrivatelinkConnectionApproval(pulumi.CustomResource):
|
|
|
266
266
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
267
267
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
268
268
|
:param pulumi.Input[str] privatelink_connection_id: Aiven internal ID for the private link connection.
|
|
269
|
-
:param pulumi.Input[str] project:
|
|
269
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
270
270
|
reference. Changing this property forces recreation of the resource.
|
|
271
271
|
:param pulumi.Input[str] psc_connection_id: The Google Private Service Connect connection ID.
|
|
272
|
-
:param pulumi.Input[str] service_name:
|
|
273
|
-
reference. Changing this property forces recreation of the resource.
|
|
272
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
|
|
273
|
+
variable as a reference. Changing this property forces recreation of the resource.
|
|
274
274
|
:param pulumi.Input[str] state: The state of the connection.
|
|
275
275
|
:param pulumi.Input[str] user_ip_address: The Private Service Connect connection user IP address.
|
|
276
276
|
"""
|
|
@@ -298,7 +298,7 @@ class GcpPrivatelinkConnectionApproval(pulumi.CustomResource):
|
|
|
298
298
|
@pulumi.getter
|
|
299
299
|
def project(self) -> pulumi.Output[str]:
|
|
300
300
|
"""
|
|
301
|
-
|
|
301
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
302
302
|
reference. Changing this property forces recreation of the resource.
|
|
303
303
|
"""
|
|
304
304
|
return pulumi.get(self, "project")
|
|
@@ -315,8 +315,8 @@ class GcpPrivatelinkConnectionApproval(pulumi.CustomResource):
|
|
|
315
315
|
@pulumi.getter(name="serviceName")
|
|
316
316
|
def service_name(self) -> pulumi.Output[str]:
|
|
317
317
|
"""
|
|
318
|
-
|
|
319
|
-
reference. Changing this property forces recreation of the resource.
|
|
318
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this
|
|
319
|
+
variable as a reference. Changing this property forces recreation of the resource.
|
|
320
320
|
"""
|
|
321
321
|
return pulumi.get(self, "service_name")
|
|
322
322
|
|
|
@@ -182,20 +182,22 @@ class GcpVpcPeeringConnection(pulumi.CustomResource):
|
|
|
182
182
|
|
|
183
183
|
## Example Usage
|
|
184
184
|
|
|
185
|
+
<!--Start PulumiCodeChooser -->
|
|
185
186
|
```python
|
|
186
187
|
import pulumi
|
|
187
188
|
import pulumi_aiven as aiven
|
|
188
189
|
|
|
189
190
|
foo = aiven.GcpVpcPeeringConnection("foo",
|
|
190
|
-
vpc_id=vpc["id"],
|
|
191
|
+
vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
|
|
191
192
|
gcp_project_id="xxxx",
|
|
192
193
|
peer_vpc="xxxx")
|
|
193
194
|
```
|
|
195
|
+
<!--End PulumiCodeChooser -->
|
|
194
196
|
|
|
195
197
|
## Import
|
|
196
198
|
|
|
197
199
|
```sh
|
|
198
|
-
$ pulumi import aiven:index/gcpVpcPeeringConnection:GcpVpcPeeringConnection foo
|
|
200
|
+
$ pulumi import aiven:index/gcpVpcPeeringConnection:GcpVpcPeeringConnection foo project_name/vpc_id/gcp_project_id/peer_vpc
|
|
199
201
|
```
|
|
200
202
|
|
|
201
203
|
:param str resource_name: The name of the resource.
|
|
@@ -215,20 +217,22 @@ class GcpVpcPeeringConnection(pulumi.CustomResource):
|
|
|
215
217
|
|
|
216
218
|
## Example Usage
|
|
217
219
|
|
|
220
|
+
<!--Start PulumiCodeChooser -->
|
|
218
221
|
```python
|
|
219
222
|
import pulumi
|
|
220
223
|
import pulumi_aiven as aiven
|
|
221
224
|
|
|
222
225
|
foo = aiven.GcpVpcPeeringConnection("foo",
|
|
223
|
-
vpc_id=vpc["id"],
|
|
226
|
+
vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
|
|
224
227
|
gcp_project_id="xxxx",
|
|
225
228
|
peer_vpc="xxxx")
|
|
226
229
|
```
|
|
230
|
+
<!--End PulumiCodeChooser -->
|
|
227
231
|
|
|
228
232
|
## Import
|
|
229
233
|
|
|
230
234
|
```sh
|
|
231
|
-
$ pulumi import aiven:index/gcpVpcPeeringConnection:GcpVpcPeeringConnection foo
|
|
235
|
+
$ pulumi import aiven:index/gcpVpcPeeringConnection:GcpVpcPeeringConnection foo project_name/vpc_id/gcp_project_id/peer_vpc
|
|
232
236
|
```
|
|
233
237
|
|
|
234
238
|
:param str resource_name: The name of the resource.
|
pulumi_aiven/get_account.py
CHANGED
|
@@ -147,12 +147,14 @@ def get_account(name: Optional[str] = None,
|
|
|
147
147
|
|
|
148
148
|
## Example Usage
|
|
149
149
|
|
|
150
|
+
<!--Start PulumiCodeChooser -->
|
|
150
151
|
```python
|
|
151
152
|
import pulumi
|
|
152
153
|
import pulumi_aiven as aiven
|
|
153
154
|
|
|
154
155
|
account1 = aiven.get_account(name="<ACCOUNT_NAME>")
|
|
155
156
|
```
|
|
157
|
+
<!--End PulumiCodeChooser -->
|
|
156
158
|
|
|
157
159
|
|
|
158
160
|
:param str name: Account name
|
|
@@ -182,12 +184,14 @@ def get_account_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
182
184
|
|
|
183
185
|
## Example Usage
|
|
184
186
|
|
|
187
|
+
<!--Start PulumiCodeChooser -->
|
|
185
188
|
```python
|
|
186
189
|
import pulumi
|
|
187
190
|
import pulumi_aiven as aiven
|
|
188
191
|
|
|
189
192
|
account1 = aiven.get_account(name="<ACCOUNT_NAME>")
|
|
190
193
|
```
|
|
194
|
+
<!--End PulumiCodeChooser -->
|
|
191
195
|
|
|
192
196
|
|
|
193
197
|
:param str name: Account name
|
|
@@ -77,7 +77,7 @@ class GetAwsPrivatelinkResult:
|
|
|
77
77
|
@pulumi.getter
|
|
78
78
|
def project(self) -> str:
|
|
79
79
|
"""
|
|
80
|
-
|
|
80
|
+
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.
|
|
81
81
|
"""
|
|
82
82
|
return pulumi.get(self, "project")
|
|
83
83
|
|
|
@@ -85,7 +85,7 @@ class GetAwsPrivatelinkResult:
|
|
|
85
85
|
@pulumi.getter(name="serviceName")
|
|
86
86
|
def service_name(self) -> str:
|
|
87
87
|
"""
|
|
88
|
-
|
|
88
|
+
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.
|
|
89
89
|
"""
|
|
90
90
|
return pulumi.get(self, "service_name")
|
|
91
91
|
|
|
@@ -112,17 +112,19 @@ def get_aws_privatelink(project: Optional[str] = None,
|
|
|
112
112
|
|
|
113
113
|
## Example Usage
|
|
114
114
|
|
|
115
|
+
<!--Start PulumiCodeChooser -->
|
|
115
116
|
```python
|
|
116
117
|
import pulumi
|
|
117
118
|
import pulumi_aiven as aiven
|
|
118
119
|
|
|
119
|
-
main = aiven.get_aws_privatelink(project=example_project["project"],
|
|
120
|
-
service_name=example_kafka["
|
|
120
|
+
main = aiven.get_aws_privatelink(project=data["aiven_project"]["example_project"]["project"],
|
|
121
|
+
service_name=aiven_kafka["example_kafka"]["service_name"])
|
|
121
122
|
```
|
|
123
|
+
<!--End PulumiCodeChooser -->
|
|
122
124
|
|
|
123
125
|
|
|
124
|
-
:param str project:
|
|
125
|
-
:param str service_name:
|
|
126
|
+
: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.
|
|
127
|
+
: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.
|
|
126
128
|
"""
|
|
127
129
|
__args__ = dict()
|
|
128
130
|
__args__['project'] = project
|
|
@@ -148,16 +150,18 @@ def get_aws_privatelink_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
148
150
|
|
|
149
151
|
## Example Usage
|
|
150
152
|
|
|
153
|
+
<!--Start PulumiCodeChooser -->
|
|
151
154
|
```python
|
|
152
155
|
import pulumi
|
|
153
156
|
import pulumi_aiven as aiven
|
|
154
157
|
|
|
155
|
-
main = aiven.get_aws_privatelink(project=example_project["project"],
|
|
156
|
-
service_name=example_kafka["
|
|
158
|
+
main = aiven.get_aws_privatelink(project=data["aiven_project"]["example_project"]["project"],
|
|
159
|
+
service_name=aiven_kafka["example_kafka"]["service_name"])
|
|
157
160
|
```
|
|
161
|
+
<!--End PulumiCodeChooser -->
|
|
158
162
|
|
|
159
163
|
|
|
160
|
-
:param str project:
|
|
161
|
-
:param str service_name:
|
|
164
|
+
: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.
|
|
165
|
+
: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.
|
|
162
166
|
"""
|
|
163
167
|
...
|
|
@@ -138,19 +138,21 @@ def get_aws_vpc_peering_connection(aws_account_id: Optional[str] = None,
|
|
|
138
138
|
|
|
139
139
|
## Example Usage
|
|
140
140
|
|
|
141
|
+
<!--Start PulumiCodeChooser -->
|
|
141
142
|
```python
|
|
142
143
|
import pulumi
|
|
143
144
|
import pulumi_aiven as aiven
|
|
144
145
|
|
|
145
|
-
example_vpc = aiven.ProjectVpc("
|
|
146
|
-
project=example_project["project"],
|
|
146
|
+
example_vpc = aiven.ProjectVpc("exampleVpc",
|
|
147
|
+
project=data["aiven_project"]["example_project"]["project"],
|
|
147
148
|
cloud_name="google-europe-west1",
|
|
148
149
|
network_cidr="192.168.1.0/24")
|
|
149
150
|
aws_to_aiven_peering = example_vpc.id.apply(lambda id: aiven.get_aws_vpc_peering_connection_output(vpc_id=id,
|
|
150
|
-
aws_account_id=aws_id,
|
|
151
|
+
aws_account_id=var["aws_id"],
|
|
151
152
|
aws_vpc_id="vpc-1a2b3c4d5e6f7g8h9",
|
|
152
153
|
aws_vpc_region="aws-us-east-2"))
|
|
153
154
|
```
|
|
155
|
+
<!--End PulumiCodeChooser -->
|
|
154
156
|
|
|
155
157
|
|
|
156
158
|
:param str aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
|
|
@@ -188,19 +190,21 @@ def get_aws_vpc_peering_connection_output(aws_account_id: Optional[pulumi.Input[
|
|
|
188
190
|
|
|
189
191
|
## Example Usage
|
|
190
192
|
|
|
193
|
+
<!--Start PulumiCodeChooser -->
|
|
191
194
|
```python
|
|
192
195
|
import pulumi
|
|
193
196
|
import pulumi_aiven as aiven
|
|
194
197
|
|
|
195
|
-
example_vpc = aiven.ProjectVpc("
|
|
196
|
-
project=example_project["project"],
|
|
198
|
+
example_vpc = aiven.ProjectVpc("exampleVpc",
|
|
199
|
+
project=data["aiven_project"]["example_project"]["project"],
|
|
197
200
|
cloud_name="google-europe-west1",
|
|
198
201
|
network_cidr="192.168.1.0/24")
|
|
199
202
|
aws_to_aiven_peering = example_vpc.id.apply(lambda id: aiven.get_aws_vpc_peering_connection_output(vpc_id=id,
|
|
200
|
-
aws_account_id=aws_id,
|
|
203
|
+
aws_account_id=var["aws_id"],
|
|
201
204
|
aws_vpc_id="vpc-1a2b3c4d5e6f7g8h9",
|
|
202
205
|
aws_vpc_region="aws-us-east-2"))
|
|
203
206
|
```
|
|
207
|
+
<!--End PulumiCodeChooser -->
|
|
204
208
|
|
|
205
209
|
|
|
206
210
|
:param str aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
|