pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0a1736849214__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (168) hide show
  1. pulumi_aiven/__init__.py +127 -0
  2. pulumi_aiven/_inputs.py +32615 -13711
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +32 -45
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +35 -14
  7. pulumi_aiven/account_team_member.py +48 -39
  8. pulumi_aiven/account_team_project.py +40 -27
  9. pulumi_aiven/alloydbomni.py +1335 -0
  10. pulumi_aiven/alloydbomni_database.py +347 -0
  11. pulumi_aiven/alloydbomni_user.py +433 -0
  12. pulumi_aiven/aws_privatelink.py +44 -43
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -61
  14. pulumi_aiven/azure_privatelink.py +54 -53
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -77
  17. pulumi_aiven/billing_group.py +33 -34
  18. pulumi_aiven/cassandra.py +145 -126
  19. pulumi_aiven/cassandra_user.py +59 -58
  20. pulumi_aiven/clickhouse.py +133 -114
  21. pulumi_aiven/clickhouse_database.py +58 -62
  22. pulumi_aiven/clickhouse_grant.py +135 -134
  23. pulumi_aiven/clickhouse_role.py +36 -49
  24. pulumi_aiven/clickhouse_user.py +50 -49
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -66
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -104
  30. pulumi_aiven/flink_application.py +58 -55
  31. pulumi_aiven/flink_application_deployment.py +178 -73
  32. pulumi_aiven/flink_application_version.py +179 -96
  33. pulumi_aiven/gcp_privatelink.py +69 -42
  34. pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
  35. pulumi_aiven/gcp_vpc_peering_connection.py +49 -48
  36. pulumi_aiven/get_account.py +20 -9
  37. pulumi_aiven/get_account_authentication.py +31 -5
  38. pulumi_aiven/get_account_team.py +18 -5
  39. pulumi_aiven/get_account_team_member.py +29 -14
  40. pulumi_aiven/get_account_team_project.py +19 -6
  41. pulumi_aiven/get_alloydbomni.py +499 -0
  42. pulumi_aiven/get_alloydbomni_database.py +168 -0
  43. pulumi_aiven/get_alloydbomni_user.py +210 -0
  44. pulumi_aiven/get_aws_privatelink.py +33 -24
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
  46. pulumi_aiven/get_azure_privatelink.py +37 -26
  47. pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
  48. pulumi_aiven/get_billing_group.py +31 -8
  49. pulumi_aiven/get_cassanda.py +55 -23
  50. pulumi_aiven/get_cassandra.py +55 -23
  51. pulumi_aiven/get_cassandra_user.py +42 -30
  52. pulumi_aiven/get_clickhouse.py +55 -23
  53. pulumi_aiven/get_clickhouse_database.py +35 -26
  54. pulumi_aiven/get_clickhouse_user.py +40 -29
  55. pulumi_aiven/get_connection_pool.py +43 -30
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -23
  59. pulumi_aiven/get_flink_application.py +44 -31
  60. pulumi_aiven/get_flink_application_version.py +55 -37
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
  63. pulumi_aiven/get_grafana.py +55 -23
  64. pulumi_aiven/get_influx_db.py +41 -5
  65. pulumi_aiven/get_influxdb_database.py +18 -5
  66. pulumi_aiven/get_influxdb_user.py +21 -5
  67. pulumi_aiven/get_kafka.py +59 -25
  68. pulumi_aiven/get_kafka_acl.py +50 -37
  69. pulumi_aiven/get_kafka_connect.py +54 -36
  70. pulumi_aiven/get_kafka_connector.py +44 -28
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -32
  72. pulumi_aiven/get_kafka_schema.py +35 -23
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -21
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -29
  76. pulumi_aiven/get_kafka_user.py +42 -30
  77. pulumi_aiven/get_m3_aggregator.py +51 -19
  78. pulumi_aiven/get_m3_db.py +55 -23
  79. pulumi_aiven/get_m3db_user.py +38 -28
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
  81. pulumi_aiven/get_my_sql.py +50 -18
  82. pulumi_aiven/get_mysql_database.py +31 -22
  83. pulumi_aiven/get_mysql_user.py +36 -23
  84. pulumi_aiven/get_open_search.py +50 -18
  85. pulumi_aiven/get_open_search_acl_config.py +27 -19
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -25
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
  88. pulumi_aiven/get_opensearch_user.py +32 -22
  89. pulumi_aiven/get_organization.py +25 -17
  90. pulumi_aiven/get_organization_application_user.py +176 -0
  91. pulumi_aiven/get_organization_user.py +18 -5
  92. pulumi_aiven/get_organization_user_group.py +48 -14
  93. pulumi_aiven/get_organization_user_list.py +121 -0
  94. pulumi_aiven/get_organizational_unit.py +26 -14
  95. pulumi_aiven/get_pg.py +55 -23
  96. pulumi_aiven/get_pg_database.py +39 -28
  97. pulumi_aiven/get_pg_user.py +44 -31
  98. pulumi_aiven/get_project.py +43 -26
  99. pulumi_aiven/get_project_user.py +27 -19
  100. pulumi_aiven/get_project_vpc.py +31 -23
  101. pulumi_aiven/get_redis.py +50 -18
  102. pulumi_aiven/get_redis_user.py +40 -26
  103. pulumi_aiven/get_service_component.py +40 -22
  104. pulumi_aiven/get_service_integration.py +163 -53
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -37
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -322
  111. pulumi_aiven/influx_db.py +127 -90
  112. pulumi_aiven/influxdb_database.py +40 -55
  113. pulumi_aiven/influxdb_user.py +47 -42
  114. pulumi_aiven/kafka.py +157 -144
  115. pulumi_aiven/kafka_acl.py +64 -57
  116. pulumi_aiven/kafka_connect.py +201 -332
  117. pulumi_aiven/kafka_connector.py +67 -60
  118. pulumi_aiven/kafka_mirror_maker.py +137 -320
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_schema.py +63 -58
  121. pulumi_aiven/kafka_schema_configuration.py +25 -24
  122. pulumi_aiven/kafka_schema_registry_acl.py +80 -35
  123. pulumi_aiven/kafka_topic.py +184 -65
  124. pulumi_aiven/kafka_user.py +59 -58
  125. pulumi_aiven/m3_aggregator.py +174 -310
  126. pulumi_aiven/m3_db.py +190 -326
  127. pulumi_aiven/m3db_user.py +51 -50
  128. pulumi_aiven/mirror_maker_replication_flow.py +215 -55
  129. pulumi_aiven/my_sql.py +188 -324
  130. pulumi_aiven/mysql_database.py +32 -51
  131. pulumi_aiven/mysql_user.py +37 -36
  132. pulumi_aiven/open_search.py +126 -107
  133. pulumi_aiven/open_search_acl_config.py +33 -36
  134. pulumi_aiven/open_search_acl_rule.py +55 -54
  135. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  136. pulumi_aiven/opensearch_user.py +30 -29
  137. pulumi_aiven/organization.py +18 -17
  138. pulumi_aiven/organization_application_user.py +345 -0
  139. pulumi_aiven/organization_application_user_token.py +711 -0
  140. pulumi_aiven/organization_group_project.py +349 -0
  141. pulumi_aiven/organization_permission.py +421 -0
  142. pulumi_aiven/organization_user.py +25 -46
  143. pulumi_aiven/organization_user_group.py +64 -23
  144. pulumi_aiven/organization_user_group_member.py +359 -0
  145. pulumi_aiven/organizational_unit.py +41 -36
  146. pulumi_aiven/outputs.py +38355 -21458
  147. pulumi_aiven/pg.py +92 -88
  148. pulumi_aiven/pg_database.py +52 -71
  149. pulumi_aiven/pg_user.py +80 -65
  150. pulumi_aiven/project.py +111 -102
  151. pulumi_aiven/project_user.py +44 -35
  152. pulumi_aiven/project_vpc.py +58 -29
  153. pulumi_aiven/provider.py +5 -0
  154. pulumi_aiven/pulumi-plugin.json +2 -1
  155. pulumi_aiven/redis.py +161 -297
  156. pulumi_aiven/redis_user.py +58 -57
  157. pulumi_aiven/service_integration.py +511 -165
  158. pulumi_aiven/service_integration_endpoint.py +466 -158
  159. pulumi_aiven/static_ip.py +21 -16
  160. pulumi_aiven/thanos.py +1262 -0
  161. pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
  162. pulumi_aiven/valkey.py +1256 -0
  163. pulumi_aiven/valkey_user.py +606 -0
  164. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736849214.dist-info}/METADATA +7 -6
  165. pulumi_aiven-6.31.0a1736849214.dist-info/RECORD +169 -0
  166. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736849214.dist-info}/WHEEL +1 -1
  167. pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
  168. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736849214.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. This property cannot be changed, doing so forces recreation of the resource.
25
- :param pulumi.Input[str] peer_vpc: Transit gateway ID. This property cannot be changed, doing so forces recreation of the resource.
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. This property cannot be changed, doing so forces recreation of the resource.
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. This property cannot be changed, doing so forces recreation of the resource.
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. This property cannot be changed, doing so forces recreation of the resource.
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. This property cannot be changed, doing so forces recreation of the resource.
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, Any]]] = None,
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. This property cannot be changed, doing so forces recreation of the resource.
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. This property cannot be changed, doing so forces recreation of the resource.
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, Any]] state_info: State-specific help or error information
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. This property cannot be changed, doing so forces recreation of the resource.
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. This property cannot be changed, doing so forces recreation of the resource.
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. This property cannot be changed, doing so forces recreation of the resource.
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, Any]]]:
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, Any]]]):
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. This property cannot be changed, doing so forces recreation of the resource.
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=aiven_project_vpc["bar"]["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 project/vpc_id/peer_cloud_account/peer_vpc/peer_region
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. This property cannot be changed, doing so forces recreation of the resource.
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. This property cannot be changed, doing so forces recreation of the resource.
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. This property cannot be changed, doing so forces recreation of the resource.
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=aiven_project_vpc["bar"]["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 project/vpc_id/peer_cloud_account/peer_vpc/peer_region
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, Any]]] = None,
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. This property cannot be changed, doing so forces recreation of the resource.
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. This property cannot be changed, doing so forces recreation of the resource.
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, Any]] state_info: State-specific help or error information
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. This property cannot be changed, doing so forces recreation of the resource.
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. This property cannot be changed, doing so forces recreation of the resource.
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. This property cannot be changed, doing so forces recreation of the resource.
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, Any]]:
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. This property cannot be changed, doing so forces recreation of the resource.
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