pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0a1736831339__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/__init__.py +127 -0
- pulumi_aiven/_inputs.py +32615 -13711
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +32 -45
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +35 -14
- pulumi_aiven/account_team_member.py +48 -39
- pulumi_aiven/account_team_project.py +40 -27
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -43
- pulumi_aiven/aws_vpc_peering_connection.py +72 -61
- pulumi_aiven/azure_privatelink.py +54 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -77
- pulumi_aiven/billing_group.py +33 -34
- pulumi_aiven/cassandra.py +145 -126
- pulumi_aiven/cassandra_user.py +59 -58
- pulumi_aiven/clickhouse.py +133 -114
- pulumi_aiven/clickhouse_database.py +58 -62
- pulumi_aiven/clickhouse_grant.py +135 -134
- pulumi_aiven/clickhouse_role.py +36 -49
- pulumi_aiven/clickhouse_user.py +50 -49
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -66
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -104
- pulumi_aiven/flink_application.py +58 -55
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -48
- pulumi_aiven/get_account.py +20 -9
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -24
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
- pulumi_aiven/get_azure_privatelink.py +37 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -23
- pulumi_aiven/get_cassandra.py +55 -23
- pulumi_aiven/get_cassandra_user.py +42 -30
- pulumi_aiven/get_clickhouse.py +55 -23
- pulumi_aiven/get_clickhouse_database.py +35 -26
- pulumi_aiven/get_clickhouse_user.py +40 -29
- pulumi_aiven/get_connection_pool.py +43 -30
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -23
- pulumi_aiven/get_flink_application.py +44 -31
- pulumi_aiven/get_flink_application_version.py +55 -37
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
- pulumi_aiven/get_grafana.py +55 -23
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -25
- pulumi_aiven/get_kafka_acl.py +50 -37
- pulumi_aiven/get_kafka_connect.py +54 -36
- pulumi_aiven/get_kafka_connector.py +44 -28
- pulumi_aiven/get_kafka_mirror_maker.py +50 -32
- pulumi_aiven/get_kafka_schema.py +35 -23
- pulumi_aiven/get_kafka_schema_configuration.py +32 -21
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -29
- pulumi_aiven/get_kafka_user.py +42 -30
- pulumi_aiven/get_m3_aggregator.py +51 -19
- pulumi_aiven/get_m3_db.py +55 -23
- pulumi_aiven/get_m3db_user.py +38 -28
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
- pulumi_aiven/get_my_sql.py +50 -18
- pulumi_aiven/get_mysql_database.py +31 -22
- pulumi_aiven/get_mysql_user.py +36 -23
- pulumi_aiven/get_open_search.py +50 -18
- pulumi_aiven/get_open_search_acl_config.py +27 -19
- pulumi_aiven/get_open_search_acl_rule.py +37 -25
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
- pulumi_aiven/get_opensearch_user.py +32 -22
- pulumi_aiven/get_organization.py +25 -17
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -23
- pulumi_aiven/get_pg_database.py +39 -28
- pulumi_aiven/get_pg_user.py +44 -31
- pulumi_aiven/get_project.py +43 -26
- pulumi_aiven/get_project_user.py +27 -19
- pulumi_aiven/get_project_vpc.py +31 -23
- pulumi_aiven/get_redis.py +50 -18
- pulumi_aiven/get_redis_user.py +40 -26
- pulumi_aiven/get_service_component.py +40 -22
- pulumi_aiven/get_service_integration.py +163 -53
- pulumi_aiven/get_service_integration_endpoint.py +128 -37
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -322
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -144
- pulumi_aiven/kafka_acl.py +64 -57
- pulumi_aiven/kafka_connect.py +201 -332
- pulumi_aiven/kafka_connector.py +67 -60
- pulumi_aiven/kafka_mirror_maker.py +137 -320
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_schema.py +63 -58
- pulumi_aiven/kafka_schema_configuration.py +25 -24
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -58
- pulumi_aiven/m3_aggregator.py +174 -310
- pulumi_aiven/m3_db.py +190 -326
- pulumi_aiven/m3db_user.py +51 -50
- pulumi_aiven/mirror_maker_replication_flow.py +215 -55
- pulumi_aiven/my_sql.py +188 -324
- pulumi_aiven/mysql_database.py +32 -51
- pulumi_aiven/mysql_user.py +37 -36
- pulumi_aiven/open_search.py +126 -107
- pulumi_aiven/open_search_acl_config.py +33 -36
- pulumi_aiven/open_search_acl_rule.py +55 -54
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -29
- pulumi_aiven/organization.py +18 -17
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -36
- pulumi_aiven/outputs.py +38355 -21458
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -71
- pulumi_aiven/pg_user.py +80 -65
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -35
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +161 -297
- pulumi_aiven/redis_user.py +58 -57
- pulumi_aiven/service_integration.py +511 -165
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['TransitGatewayVpcAttachmentArgs', 'TransitGatewayVpcAttachment']
|
|
@@ -21,19 +26,16 @@ class TransitGatewayVpcAttachmentArgs:
|
|
|
21
26
|
peer_region: Optional[pulumi.Input[str]] = None):
|
|
22
27
|
"""
|
|
23
28
|
The set of arguments for constructing a TransitGatewayVpcAttachment resource.
|
|
24
|
-
:param pulumi.Input[str] peer_cloud_account: AWS account ID or GCP project ID of the peered VPC.
|
|
25
|
-
:param pulumi.Input[str] peer_vpc: Transit gateway ID.
|
|
29
|
+
:param pulumi.Input[str] peer_cloud_account: AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource.
|
|
30
|
+
:param pulumi.Input[str] peer_vpc: Transit gateway ID. Changing this property forces recreation of the resource.
|
|
26
31
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] user_peer_network_cidrs: List of private IPv4 ranges to route through the peering connection
|
|
27
|
-
:param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
28
|
-
:param pulumi.Input[str] peer_region: AWS region of the peered VPC (if not in the same region as Aiven VPC)
|
|
32
|
+
:param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
33
|
+
:param pulumi.Input[str] peer_region: AWS region of the peered VPC (if not in the same region as Aiven VPC). This value can't be changed.
|
|
29
34
|
"""
|
|
30
35
|
pulumi.set(__self__, "peer_cloud_account", peer_cloud_account)
|
|
31
36
|
pulumi.set(__self__, "peer_vpc", peer_vpc)
|
|
32
37
|
pulumi.set(__self__, "user_peer_network_cidrs", user_peer_network_cidrs)
|
|
33
38
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
34
|
-
if peer_region is not None:
|
|
35
|
-
warnings.warn("""This field is deprecated and will be removed in the next major release.""", DeprecationWarning)
|
|
36
|
-
pulumi.log.warn("""peer_region is deprecated: This field is deprecated and will be removed in the next major release.""")
|
|
37
39
|
if peer_region is not None:
|
|
38
40
|
pulumi.set(__self__, "peer_region", peer_region)
|
|
39
41
|
|
|
@@ -41,7 +43,7 @@ class TransitGatewayVpcAttachmentArgs:
|
|
|
41
43
|
@pulumi.getter(name="peerCloudAccount")
|
|
42
44
|
def peer_cloud_account(self) -> pulumi.Input[str]:
|
|
43
45
|
"""
|
|
44
|
-
AWS account ID or GCP project ID of the peered VPC.
|
|
46
|
+
AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource.
|
|
45
47
|
"""
|
|
46
48
|
return pulumi.get(self, "peer_cloud_account")
|
|
47
49
|
|
|
@@ -53,7 +55,7 @@ class TransitGatewayVpcAttachmentArgs:
|
|
|
53
55
|
@pulumi.getter(name="peerVpc")
|
|
54
56
|
def peer_vpc(self) -> pulumi.Input[str]:
|
|
55
57
|
"""
|
|
56
|
-
Transit gateway ID.
|
|
58
|
+
Transit gateway ID. Changing this property forces recreation of the resource.
|
|
57
59
|
"""
|
|
58
60
|
return pulumi.get(self, "peer_vpc")
|
|
59
61
|
|
|
@@ -77,7 +79,7 @@ class TransitGatewayVpcAttachmentArgs:
|
|
|
77
79
|
@pulumi.getter(name="vpcId")
|
|
78
80
|
def vpc_id(self) -> pulumi.Input[str]:
|
|
79
81
|
"""
|
|
80
|
-
The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
82
|
+
The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
81
83
|
"""
|
|
82
84
|
return pulumi.get(self, "vpc_id")
|
|
83
85
|
|
|
@@ -89,11 +91,8 @@ class TransitGatewayVpcAttachmentArgs:
|
|
|
89
91
|
@pulumi.getter(name="peerRegion")
|
|
90
92
|
def peer_region(self) -> Optional[pulumi.Input[str]]:
|
|
91
93
|
"""
|
|
92
|
-
AWS region of the peered VPC (if not in the same region as Aiven VPC)
|
|
94
|
+
AWS region of the peered VPC (if not in the same region as Aiven VPC). This value can't be changed.
|
|
93
95
|
"""
|
|
94
|
-
warnings.warn("""This field is deprecated and will be removed in the next major release.""", DeprecationWarning)
|
|
95
|
-
pulumi.log.warn("""peer_region is deprecated: This field is deprecated and will be removed in the next major release.""")
|
|
96
|
-
|
|
97
96
|
return pulumi.get(self, "peer_region")
|
|
98
97
|
|
|
99
98
|
@peer_region.setter
|
|
@@ -109,25 +108,22 @@ class _TransitGatewayVpcAttachmentState:
|
|
|
109
108
|
peer_vpc: Optional[pulumi.Input[str]] = None,
|
|
110
109
|
peering_connection_id: Optional[pulumi.Input[str]] = None,
|
|
111
110
|
state: Optional[pulumi.Input[str]] = None,
|
|
112
|
-
state_info: Optional[pulumi.Input[Mapping[str,
|
|
111
|
+
state_info: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
113
112
|
user_peer_network_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
114
113
|
vpc_id: Optional[pulumi.Input[str]] = None):
|
|
115
114
|
"""
|
|
116
115
|
Input properties used for looking up and filtering TransitGatewayVpcAttachment resources.
|
|
117
|
-
:param pulumi.Input[str] peer_cloud_account: AWS account ID or GCP project ID of the peered VPC.
|
|
118
|
-
:param pulumi.Input[str] peer_region: AWS region of the peered VPC (if not in the same region as Aiven VPC)
|
|
119
|
-
:param pulumi.Input[str] peer_vpc: Transit gateway ID.
|
|
116
|
+
:param pulumi.Input[str] peer_cloud_account: AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource.
|
|
117
|
+
:param pulumi.Input[str] peer_region: AWS region of the peered VPC (if not in the same region as Aiven VPC). This value can't be changed.
|
|
118
|
+
:param pulumi.Input[str] peer_vpc: Transit gateway ID. Changing this property forces recreation of the resource.
|
|
120
119
|
:param pulumi.Input[str] peering_connection_id: Cloud provider identifier for the peering connection if available
|
|
121
120
|
:param pulumi.Input[str] state: State of the peering connection
|
|
122
|
-
:param pulumi.Input[Mapping[str,
|
|
121
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] state_info: State-specific help or error information
|
|
123
122
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] user_peer_network_cidrs: List of private IPv4 ranges to route through the peering connection
|
|
124
|
-
:param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
123
|
+
:param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
125
124
|
"""
|
|
126
125
|
if peer_cloud_account is not None:
|
|
127
126
|
pulumi.set(__self__, "peer_cloud_account", peer_cloud_account)
|
|
128
|
-
if peer_region is not None:
|
|
129
|
-
warnings.warn("""This field is deprecated and will be removed in the next major release.""", DeprecationWarning)
|
|
130
|
-
pulumi.log.warn("""peer_region is deprecated: This field is deprecated and will be removed in the next major release.""")
|
|
131
127
|
if peer_region is not None:
|
|
132
128
|
pulumi.set(__self__, "peer_region", peer_region)
|
|
133
129
|
if peer_vpc is not None:
|
|
@@ -147,7 +143,7 @@ class _TransitGatewayVpcAttachmentState:
|
|
|
147
143
|
@pulumi.getter(name="peerCloudAccount")
|
|
148
144
|
def peer_cloud_account(self) -> Optional[pulumi.Input[str]]:
|
|
149
145
|
"""
|
|
150
|
-
AWS account ID or GCP project ID of the peered VPC.
|
|
146
|
+
AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource.
|
|
151
147
|
"""
|
|
152
148
|
return pulumi.get(self, "peer_cloud_account")
|
|
153
149
|
|
|
@@ -159,11 +155,8 @@ class _TransitGatewayVpcAttachmentState:
|
|
|
159
155
|
@pulumi.getter(name="peerRegion")
|
|
160
156
|
def peer_region(self) -> Optional[pulumi.Input[str]]:
|
|
161
157
|
"""
|
|
162
|
-
AWS region of the peered VPC (if not in the same region as Aiven VPC)
|
|
158
|
+
AWS region of the peered VPC (if not in the same region as Aiven VPC). This value can't be changed.
|
|
163
159
|
"""
|
|
164
|
-
warnings.warn("""This field is deprecated and will be removed in the next major release.""", DeprecationWarning)
|
|
165
|
-
pulumi.log.warn("""peer_region is deprecated: This field is deprecated and will be removed in the next major release.""")
|
|
166
|
-
|
|
167
160
|
return pulumi.get(self, "peer_region")
|
|
168
161
|
|
|
169
162
|
@peer_region.setter
|
|
@@ -174,7 +167,7 @@ class _TransitGatewayVpcAttachmentState:
|
|
|
174
167
|
@pulumi.getter(name="peerVpc")
|
|
175
168
|
def peer_vpc(self) -> Optional[pulumi.Input[str]]:
|
|
176
169
|
"""
|
|
177
|
-
Transit gateway ID.
|
|
170
|
+
Transit gateway ID. Changing this property forces recreation of the resource.
|
|
178
171
|
"""
|
|
179
172
|
return pulumi.get(self, "peer_vpc")
|
|
180
173
|
|
|
@@ -208,14 +201,14 @@ class _TransitGatewayVpcAttachmentState:
|
|
|
208
201
|
|
|
209
202
|
@property
|
|
210
203
|
@pulumi.getter(name="stateInfo")
|
|
211
|
-
def state_info(self) -> Optional[pulumi.Input[Mapping[str,
|
|
204
|
+
def state_info(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
212
205
|
"""
|
|
213
206
|
State-specific help or error information
|
|
214
207
|
"""
|
|
215
208
|
return pulumi.get(self, "state_info")
|
|
216
209
|
|
|
217
210
|
@state_info.setter
|
|
218
|
-
def state_info(self, value: Optional[pulumi.Input[Mapping[str,
|
|
211
|
+
def state_info(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
219
212
|
pulumi.set(self, "state_info", value)
|
|
220
213
|
|
|
221
214
|
@property
|
|
@@ -234,7 +227,7 @@ class _TransitGatewayVpcAttachmentState:
|
|
|
234
227
|
@pulumi.getter(name="vpcId")
|
|
235
228
|
def vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
236
229
|
"""
|
|
237
|
-
The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
230
|
+
The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
238
231
|
"""
|
|
239
232
|
return pulumi.get(self, "vpc_id")
|
|
240
233
|
|
|
@@ -259,33 +252,31 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
259
252
|
|
|
260
253
|
## Example Usage
|
|
261
254
|
|
|
262
|
-
<!--Start PulumiCodeChooser -->
|
|
263
255
|
```python
|
|
264
256
|
import pulumi
|
|
265
257
|
import pulumi_aiven as aiven
|
|
266
258
|
|
|
267
259
|
attachment = aiven.TransitGatewayVpcAttachment("attachment",
|
|
268
|
-
vpc_id=
|
|
260
|
+
vpc_id=bar["id"],
|
|
269
261
|
peer_cloud_account="<PEER_ACCOUNT_ID>",
|
|
270
262
|
peer_vpc="google-project1",
|
|
271
263
|
peer_region="aws-eu-west-1",
|
|
272
264
|
user_peer_network_cidrs=["10.0.0.0/24"])
|
|
273
265
|
```
|
|
274
|
-
<!--End PulumiCodeChooser -->
|
|
275
266
|
|
|
276
267
|
## Import
|
|
277
268
|
|
|
278
269
|
```sh
|
|
279
|
-
$ pulumi import aiven:index/transitGatewayVpcAttachment:TransitGatewayVpcAttachment attachment
|
|
270
|
+
$ pulumi import aiven:index/transitGatewayVpcAttachment:TransitGatewayVpcAttachment attachment PROJECT/VPC_ID/PEER_CLOUD_ACCOUNT/PEER_VPC/PEER_REGION
|
|
280
271
|
```
|
|
281
272
|
|
|
282
273
|
:param str resource_name: The name of the resource.
|
|
283
274
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
284
|
-
:param pulumi.Input[str] peer_cloud_account: AWS account ID or GCP project ID of the peered VPC.
|
|
285
|
-
:param pulumi.Input[str] peer_region: AWS region of the peered VPC (if not in the same region as Aiven VPC)
|
|
286
|
-
:param pulumi.Input[str] peer_vpc: Transit gateway ID.
|
|
275
|
+
:param pulumi.Input[str] peer_cloud_account: AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource.
|
|
276
|
+
:param pulumi.Input[str] peer_region: AWS region of the peered VPC (if not in the same region as Aiven VPC). This value can't be changed.
|
|
277
|
+
:param pulumi.Input[str] peer_vpc: Transit gateway ID. Changing this property forces recreation of the resource.
|
|
287
278
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] user_peer_network_cidrs: List of private IPv4 ranges to route through the peering connection
|
|
288
|
-
:param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
279
|
+
:param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
289
280
|
"""
|
|
290
281
|
...
|
|
291
282
|
@overload
|
|
@@ -298,24 +289,22 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
298
289
|
|
|
299
290
|
## Example Usage
|
|
300
291
|
|
|
301
|
-
<!--Start PulumiCodeChooser -->
|
|
302
292
|
```python
|
|
303
293
|
import pulumi
|
|
304
294
|
import pulumi_aiven as aiven
|
|
305
295
|
|
|
306
296
|
attachment = aiven.TransitGatewayVpcAttachment("attachment",
|
|
307
|
-
vpc_id=
|
|
297
|
+
vpc_id=bar["id"],
|
|
308
298
|
peer_cloud_account="<PEER_ACCOUNT_ID>",
|
|
309
299
|
peer_vpc="google-project1",
|
|
310
300
|
peer_region="aws-eu-west-1",
|
|
311
301
|
user_peer_network_cidrs=["10.0.0.0/24"])
|
|
312
302
|
```
|
|
313
|
-
<!--End PulumiCodeChooser -->
|
|
314
303
|
|
|
315
304
|
## Import
|
|
316
305
|
|
|
317
306
|
```sh
|
|
318
|
-
$ pulumi import aiven:index/transitGatewayVpcAttachment:TransitGatewayVpcAttachment attachment
|
|
307
|
+
$ pulumi import aiven:index/transitGatewayVpcAttachment:TransitGatewayVpcAttachment attachment PROJECT/VPC_ID/PEER_CLOUD_ACCOUNT/PEER_VPC/PEER_REGION
|
|
319
308
|
```
|
|
320
309
|
|
|
321
310
|
:param str resource_name: The name of the resource.
|
|
@@ -378,7 +367,7 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
378
367
|
peer_vpc: Optional[pulumi.Input[str]] = None,
|
|
379
368
|
peering_connection_id: Optional[pulumi.Input[str]] = None,
|
|
380
369
|
state: Optional[pulumi.Input[str]] = None,
|
|
381
|
-
state_info: Optional[pulumi.Input[Mapping[str,
|
|
370
|
+
state_info: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
382
371
|
user_peer_network_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
383
372
|
vpc_id: Optional[pulumi.Input[str]] = None) -> 'TransitGatewayVpcAttachment':
|
|
384
373
|
"""
|
|
@@ -388,14 +377,14 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
388
377
|
:param str resource_name: The unique name of the resulting resource.
|
|
389
378
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
390
379
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
391
|
-
:param pulumi.Input[str] peer_cloud_account: AWS account ID or GCP project ID of the peered VPC.
|
|
392
|
-
:param pulumi.Input[str] peer_region: AWS region of the peered VPC (if not in the same region as Aiven VPC)
|
|
393
|
-
:param pulumi.Input[str] peer_vpc: Transit gateway ID.
|
|
380
|
+
:param pulumi.Input[str] peer_cloud_account: AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource.
|
|
381
|
+
:param pulumi.Input[str] peer_region: AWS region of the peered VPC (if not in the same region as Aiven VPC). This value can't be changed.
|
|
382
|
+
:param pulumi.Input[str] peer_vpc: Transit gateway ID. Changing this property forces recreation of the resource.
|
|
394
383
|
:param pulumi.Input[str] peering_connection_id: Cloud provider identifier for the peering connection if available
|
|
395
384
|
:param pulumi.Input[str] state: State of the peering connection
|
|
396
|
-
:param pulumi.Input[Mapping[str,
|
|
385
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] state_info: State-specific help or error information
|
|
397
386
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] user_peer_network_cidrs: List of private IPv4 ranges to route through the peering connection
|
|
398
|
-
:param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
387
|
+
:param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
399
388
|
"""
|
|
400
389
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
401
390
|
|
|
@@ -415,7 +404,7 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
415
404
|
@pulumi.getter(name="peerCloudAccount")
|
|
416
405
|
def peer_cloud_account(self) -> pulumi.Output[str]:
|
|
417
406
|
"""
|
|
418
|
-
AWS account ID or GCP project ID of the peered VPC.
|
|
407
|
+
AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource.
|
|
419
408
|
"""
|
|
420
409
|
return pulumi.get(self, "peer_cloud_account")
|
|
421
410
|
|
|
@@ -423,18 +412,15 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
423
412
|
@pulumi.getter(name="peerRegion")
|
|
424
413
|
def peer_region(self) -> pulumi.Output[Optional[str]]:
|
|
425
414
|
"""
|
|
426
|
-
AWS region of the peered VPC (if not in the same region as Aiven VPC)
|
|
415
|
+
AWS region of the peered VPC (if not in the same region as Aiven VPC). This value can't be changed.
|
|
427
416
|
"""
|
|
428
|
-
warnings.warn("""This field is deprecated and will be removed in the next major release.""", DeprecationWarning)
|
|
429
|
-
pulumi.log.warn("""peer_region is deprecated: This field is deprecated and will be removed in the next major release.""")
|
|
430
|
-
|
|
431
417
|
return pulumi.get(self, "peer_region")
|
|
432
418
|
|
|
433
419
|
@property
|
|
434
420
|
@pulumi.getter(name="peerVpc")
|
|
435
421
|
def peer_vpc(self) -> pulumi.Output[str]:
|
|
436
422
|
"""
|
|
437
|
-
Transit gateway ID.
|
|
423
|
+
Transit gateway ID. Changing this property forces recreation of the resource.
|
|
438
424
|
"""
|
|
439
425
|
return pulumi.get(self, "peer_vpc")
|
|
440
426
|
|
|
@@ -456,7 +442,7 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
456
442
|
|
|
457
443
|
@property
|
|
458
444
|
@pulumi.getter(name="stateInfo")
|
|
459
|
-
def state_info(self) -> pulumi.Output[Mapping[str,
|
|
445
|
+
def state_info(self) -> pulumi.Output[Mapping[str, str]]:
|
|
460
446
|
"""
|
|
461
447
|
State-specific help or error information
|
|
462
448
|
"""
|
|
@@ -474,7 +460,7 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
474
460
|
@pulumi.getter(name="vpcId")
|
|
475
461
|
def vpc_id(self) -> pulumi.Output[str]:
|
|
476
462
|
"""
|
|
477
|
-
The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
463
|
+
The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
478
464
|
"""
|
|
479
465
|
return pulumi.get(self, "vpc_id")
|
|
480
466
|
|