pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +136 -0
- pulumi_aiven/_inputs.py +32960 -13922
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +34 -43
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +37 -12
- pulumi_aiven/account_team_member.py +48 -35
- pulumi_aiven/account_team_project.py +42 -25
- 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 -39
- pulumi_aiven/aws_vpc_peering_connection.py +72 -57
- pulumi_aiven/azure_privatelink.py +54 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -73
- pulumi_aiven/billing_group.py +33 -30
- pulumi_aiven/cassandra.py +145 -122
- pulumi_aiven/cassandra_user.py +59 -54
- pulumi_aiven/clickhouse.py +133 -110
- pulumi_aiven/clickhouse_database.py +58 -58
- pulumi_aiven/clickhouse_grant.py +135 -130
- pulumi_aiven/clickhouse_role.py +36 -45
- pulumi_aiven/clickhouse_user.py +50 -45
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -62
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -100
- pulumi_aiven/flink_application.py +58 -51
- 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 -44
- pulumi_aiven/get_account.py +20 -5
- 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 -20
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
- pulumi_aiven/get_azure_privatelink.py +37 -22
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -19
- pulumi_aiven/get_cassandra.py +55 -19
- pulumi_aiven/get_cassandra_user.py +42 -26
- pulumi_aiven/get_clickhouse.py +55 -19
- pulumi_aiven/get_clickhouse_database.py +35 -22
- pulumi_aiven/get_clickhouse_user.py +40 -25
- pulumi_aiven/get_connection_pool.py +43 -26
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -19
- pulumi_aiven/get_flink_application.py +44 -27
- pulumi_aiven/get_flink_application_version.py +55 -33
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
- pulumi_aiven/get_grafana.py +55 -19
- 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 -21
- pulumi_aiven/get_kafka_acl.py +50 -33
- pulumi_aiven/get_kafka_connect.py +54 -32
- pulumi_aiven/get_kafka_connector.py +44 -24
- pulumi_aiven/get_kafka_mirror_maker.py +50 -28
- pulumi_aiven/get_kafka_schema.py +35 -19
- pulumi_aiven/get_kafka_schema_configuration.py +32 -17
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -25
- pulumi_aiven/get_kafka_user.py +42 -26
- pulumi_aiven/get_m3_aggregator.py +51 -15
- pulumi_aiven/get_m3_db.py +55 -19
- pulumi_aiven/get_m3db_user.py +38 -24
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
- pulumi_aiven/get_my_sql.py +50 -14
- pulumi_aiven/get_mysql_database.py +31 -18
- pulumi_aiven/get_mysql_user.py +36 -19
- pulumi_aiven/get_open_search.py +50 -14
- pulumi_aiven/get_open_search_acl_config.py +27 -15
- pulumi_aiven/get_open_search_acl_rule.py +37 -21
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
- pulumi_aiven/get_opensearch_user.py +32 -18
- pulumi_aiven/get_organization.py +25 -13
- 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 -19
- pulumi_aiven/get_pg_database.py +39 -24
- pulumi_aiven/get_pg_user.py +44 -27
- pulumi_aiven/get_project.py +43 -22
- pulumi_aiven/get_project_user.py +27 -15
- pulumi_aiven/get_project_vpc.py +31 -19
- pulumi_aiven/get_redis.py +50 -14
- pulumi_aiven/get_redis_user.py +40 -22
- pulumi_aiven/get_service_component.py +40 -18
- pulumi_aiven/get_service_integration.py +163 -49
- pulumi_aiven/get_service_integration_endpoint.py +128 -33
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -318
- 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 -140
- pulumi_aiven/kafka_acl.py +64 -53
- pulumi_aiven/kafka_connect.py +201 -328
- pulumi_aiven/kafka_connector.py +67 -56
- pulumi_aiven/kafka_mirror_maker.py +139 -318
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_quota.py +604 -0
- pulumi_aiven/kafka_schema.py +65 -56
- pulumi_aiven/kafka_schema_configuration.py +25 -20
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -54
- pulumi_aiven/m3_aggregator.py +176 -308
- pulumi_aiven/m3_db.py +190 -322
- pulumi_aiven/m3db_user.py +51 -46
- pulumi_aiven/mirror_maker_replication_flow.py +217 -53
- pulumi_aiven/my_sql.py +190 -322
- pulumi_aiven/mysql_database.py +32 -47
- pulumi_aiven/mysql_user.py +37 -32
- pulumi_aiven/open_search.py +128 -105
- pulumi_aiven/open_search_acl_config.py +33 -32
- pulumi_aiven/open_search_acl_rule.py +55 -50
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -25
- pulumi_aiven/organization.py +18 -13
- 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 -32
- pulumi_aiven/outputs.py +38714 -21632
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -67
- pulumi_aiven/pg_user.py +80 -61
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -31
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +163 -295
- pulumi_aiven/redis_user.py +58 -53
- pulumi_aiven/service_integration.py +511 -161
- 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 -54
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0.dist-info/RECORD +170 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.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
|
|
|
@@ -264,7 +257,7 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
264
257
|
import pulumi_aiven as aiven
|
|
265
258
|
|
|
266
259
|
attachment = aiven.TransitGatewayVpcAttachment("attachment",
|
|
267
|
-
vpc_id=
|
|
260
|
+
vpc_id=bar["id"],
|
|
268
261
|
peer_cloud_account="<PEER_ACCOUNT_ID>",
|
|
269
262
|
peer_vpc="google-project1",
|
|
270
263
|
peer_region="aws-eu-west-1",
|
|
@@ -274,16 +267,16 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
274
267
|
## Import
|
|
275
268
|
|
|
276
269
|
```sh
|
|
277
|
-
|
|
270
|
+
$ pulumi import aiven:index/transitGatewayVpcAttachment:TransitGatewayVpcAttachment attachment PROJECT/VPC_ID/PEER_CLOUD_ACCOUNT/PEER_VPC/PEER_REGION
|
|
278
271
|
```
|
|
279
272
|
|
|
280
273
|
:param str resource_name: The name of the resource.
|
|
281
274
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
282
|
-
:param pulumi.Input[str] peer_cloud_account: AWS account ID or GCP project ID of the peered VPC.
|
|
283
|
-
:param pulumi.Input[str] peer_region: AWS region of the peered VPC (if not in the same region as Aiven VPC)
|
|
284
|
-
: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.
|
|
285
278
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] user_peer_network_cidrs: List of private IPv4 ranges to route through the peering connection
|
|
286
|
-
: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.
|
|
287
280
|
"""
|
|
288
281
|
...
|
|
289
282
|
@overload
|
|
@@ -301,7 +294,7 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
301
294
|
import pulumi_aiven as aiven
|
|
302
295
|
|
|
303
296
|
attachment = aiven.TransitGatewayVpcAttachment("attachment",
|
|
304
|
-
vpc_id=
|
|
297
|
+
vpc_id=bar["id"],
|
|
305
298
|
peer_cloud_account="<PEER_ACCOUNT_ID>",
|
|
306
299
|
peer_vpc="google-project1",
|
|
307
300
|
peer_region="aws-eu-west-1",
|
|
@@ -311,7 +304,7 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
311
304
|
## Import
|
|
312
305
|
|
|
313
306
|
```sh
|
|
314
|
-
|
|
307
|
+
$ pulumi import aiven:index/transitGatewayVpcAttachment:TransitGatewayVpcAttachment attachment PROJECT/VPC_ID/PEER_CLOUD_ACCOUNT/PEER_VPC/PEER_REGION
|
|
315
308
|
```
|
|
316
309
|
|
|
317
310
|
:param str resource_name: The name of the resource.
|
|
@@ -374,7 +367,7 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
374
367
|
peer_vpc: Optional[pulumi.Input[str]] = None,
|
|
375
368
|
peering_connection_id: Optional[pulumi.Input[str]] = None,
|
|
376
369
|
state: Optional[pulumi.Input[str]] = None,
|
|
377
|
-
state_info: Optional[pulumi.Input[Mapping[str,
|
|
370
|
+
state_info: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
378
371
|
user_peer_network_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
379
372
|
vpc_id: Optional[pulumi.Input[str]] = None) -> 'TransitGatewayVpcAttachment':
|
|
380
373
|
"""
|
|
@@ -384,14 +377,14 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
384
377
|
:param str resource_name: The unique name of the resulting resource.
|
|
385
378
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
386
379
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
387
|
-
:param pulumi.Input[str] peer_cloud_account: AWS account ID or GCP project ID of the peered VPC.
|
|
388
|
-
:param pulumi.Input[str] peer_region: AWS region of the peered VPC (if not in the same region as Aiven VPC)
|
|
389
|
-
: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.
|
|
390
383
|
:param pulumi.Input[str] peering_connection_id: Cloud provider identifier for the peering connection if available
|
|
391
384
|
:param pulumi.Input[str] state: State of the peering connection
|
|
392
|
-
:param pulumi.Input[Mapping[str,
|
|
385
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] state_info: State-specific help or error information
|
|
393
386
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] user_peer_network_cidrs: List of private IPv4 ranges to route through the peering connection
|
|
394
|
-
: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.
|
|
395
388
|
"""
|
|
396
389
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
397
390
|
|
|
@@ -411,7 +404,7 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
411
404
|
@pulumi.getter(name="peerCloudAccount")
|
|
412
405
|
def peer_cloud_account(self) -> pulumi.Output[str]:
|
|
413
406
|
"""
|
|
414
|
-
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.
|
|
415
408
|
"""
|
|
416
409
|
return pulumi.get(self, "peer_cloud_account")
|
|
417
410
|
|
|
@@ -419,18 +412,15 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
419
412
|
@pulumi.getter(name="peerRegion")
|
|
420
413
|
def peer_region(self) -> pulumi.Output[Optional[str]]:
|
|
421
414
|
"""
|
|
422
|
-
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.
|
|
423
416
|
"""
|
|
424
|
-
warnings.warn("""This field is deprecated and will be removed in the next major release.""", DeprecationWarning)
|
|
425
|
-
pulumi.log.warn("""peer_region is deprecated: This field is deprecated and will be removed in the next major release.""")
|
|
426
|
-
|
|
427
417
|
return pulumi.get(self, "peer_region")
|
|
428
418
|
|
|
429
419
|
@property
|
|
430
420
|
@pulumi.getter(name="peerVpc")
|
|
431
421
|
def peer_vpc(self) -> pulumi.Output[str]:
|
|
432
422
|
"""
|
|
433
|
-
Transit gateway ID.
|
|
423
|
+
Transit gateway ID. Changing this property forces recreation of the resource.
|
|
434
424
|
"""
|
|
435
425
|
return pulumi.get(self, "peer_vpc")
|
|
436
426
|
|
|
@@ -452,7 +442,7 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
452
442
|
|
|
453
443
|
@property
|
|
454
444
|
@pulumi.getter(name="stateInfo")
|
|
455
|
-
def state_info(self) -> pulumi.Output[Mapping[str,
|
|
445
|
+
def state_info(self) -> pulumi.Output[Mapping[str, str]]:
|
|
456
446
|
"""
|
|
457
447
|
State-specific help or error information
|
|
458
448
|
"""
|
|
@@ -470,7 +460,7 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
470
460
|
@pulumi.getter(name="vpcId")
|
|
471
461
|
def vpc_id(self) -> pulumi.Output[str]:
|
|
472
462
|
"""
|
|
473
|
-
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.
|
|
474
464
|
"""
|
|
475
465
|
return pulumi.get(self, "vpc_id")
|
|
476
466
|
|