pulumi-cloudamqp 3.20.3__py3-none-any.whl → 3.21.0a1725600315__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-cloudamqp might be problematic. Click here for more details.

Files changed (47) hide show
  1. pulumi_cloudamqp/_inputs.py +6 -157
  2. pulumi_cloudamqp/_utilities.py +1 -1
  3. pulumi_cloudamqp/account_action.py +0 -5
  4. pulumi_cloudamqp/alarm.py +0 -5
  5. pulumi_cloudamqp/config/__init__.pyi +0 -5
  6. pulumi_cloudamqp/config/vars.py +0 -5
  7. pulumi_cloudamqp/custom_domain.py +0 -5
  8. pulumi_cloudamqp/extra_disk_size.py +0 -5
  9. pulumi_cloudamqp/get_account.py +5 -12
  10. pulumi_cloudamqp/get_account_vpcs.py +5 -12
  11. pulumi_cloudamqp/get_alarm.py +5 -27
  12. pulumi_cloudamqp/get_credentials.py +5 -15
  13. pulumi_cloudamqp/get_instance.py +5 -30
  14. pulumi_cloudamqp/get_nodes.py +5 -14
  15. pulumi_cloudamqp/get_notification.py +5 -21
  16. pulumi_cloudamqp/get_plugins.py +8 -47
  17. pulumi_cloudamqp/get_plugins_community.py +8 -47
  18. pulumi_cloudamqp/get_upgradable_versions.py +5 -15
  19. pulumi_cloudamqp/get_vpc_gcp_info.py +5 -22
  20. pulumi_cloudamqp/get_vpc_info.py +5 -19
  21. pulumi_cloudamqp/instance.py +0 -5
  22. pulumi_cloudamqp/integration_aws_eventbridge.py +0 -5
  23. pulumi_cloudamqp/integration_log.py +0 -5
  24. pulumi_cloudamqp/integration_metric.py +0 -5
  25. pulumi_cloudamqp/node_actions.py +0 -5
  26. pulumi_cloudamqp/notification.py +0 -5
  27. pulumi_cloudamqp/outputs.py +60 -57
  28. pulumi_cloudamqp/plugin.py +35 -54
  29. pulumi_cloudamqp/plugin_community.py +35 -54
  30. pulumi_cloudamqp/privatelink_aws.py +0 -5
  31. pulumi_cloudamqp/privatelink_azure.py +0 -5
  32. pulumi_cloudamqp/provider.py +0 -5
  33. pulumi_cloudamqp/pulumi-plugin.json +1 -1
  34. pulumi_cloudamqp/rabbit_configuration.py +0 -5
  35. pulumi_cloudamqp/security_firewall.py +21 -67
  36. pulumi_cloudamqp/upgrade_lavinmq.py +0 -5
  37. pulumi_cloudamqp/upgrade_rabbitmq.py +0 -5
  38. pulumi_cloudamqp/vpc.py +0 -5
  39. pulumi_cloudamqp/vpc_connect.py +0 -5
  40. pulumi_cloudamqp/vpc_gcp_peering.py +31 -66
  41. pulumi_cloudamqp/vpc_peering.py +2 -19
  42. pulumi_cloudamqp/webhook.py +0 -5
  43. {pulumi_cloudamqp-3.20.3.dist-info → pulumi_cloudamqp-3.21.0a1725600315.dist-info}/METADATA +5 -6
  44. pulumi_cloudamqp-3.21.0a1725600315.dist-info/RECORD +49 -0
  45. {pulumi_cloudamqp-3.20.3.dist-info → pulumi_cloudamqp-3.21.0a1725600315.dist-info}/WHEEL +1 -1
  46. pulumi_cloudamqp-3.20.3.dist-info/RECORD +0 -49
  47. {pulumi_cloudamqp-3.20.3.dist-info → pulumi_cloudamqp-3.21.0a1725600315.dist-info}/top_level.txt +0 -0
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
  from . import outputs
17
12
  from ._inputs import *
@@ -27,14 +22,9 @@ class SecurityFirewallArgs:
27
22
  timeout: Optional[pulumi.Input[int]] = None):
28
23
  """
29
24
  The set of arguments for constructing a SecurityFirewall resource.
30
- :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
31
- :param pulumi.Input[Sequence[pulumi.Input['SecurityFirewallRuleArgs']]] rules: An array of rules, minimum of 1 needs to be configured. Each `rules` block consists of the field documented below.
32
- :param pulumi.Input[int] sleep: Configurable sleep time in seconds between retries for firewall configuration. Default set to 30 seconds.
33
- :param pulumi.Input[int] timeout: Configurable timeout time in seconds for firewall configuration. Default set to 1800 seconds.
34
-
35
- ___
36
-
37
- The `rules` block consists of:
25
+ :param pulumi.Input[int] instance_id: Instance identifier
26
+ :param pulumi.Input[int] sleep: Configurable sleep time in seconds between retries for firewall configuration
27
+ :param pulumi.Input[int] timeout: Configurable timeout time in seconds for firewall configuration
38
28
  """
39
29
  pulumi.set(__self__, "instance_id", instance_id)
40
30
  pulumi.set(__self__, "rules", rules)
@@ -47,7 +37,7 @@ class SecurityFirewallArgs:
47
37
  @pulumi.getter(name="instanceId")
48
38
  def instance_id(self) -> pulumi.Input[int]:
49
39
  """
50
- The CloudAMQP instance ID.
40
+ Instance identifier
51
41
  """
52
42
  return pulumi.get(self, "instance_id")
53
43
 
@@ -58,9 +48,6 @@ class SecurityFirewallArgs:
58
48
  @property
59
49
  @pulumi.getter
60
50
  def rules(self) -> pulumi.Input[Sequence[pulumi.Input['SecurityFirewallRuleArgs']]]:
61
- """
62
- An array of rules, minimum of 1 needs to be configured. Each `rules` block consists of the field documented below.
63
- """
64
51
  return pulumi.get(self, "rules")
65
52
 
66
53
  @rules.setter
@@ -71,7 +58,7 @@ class SecurityFirewallArgs:
71
58
  @pulumi.getter
72
59
  def sleep(self) -> Optional[pulumi.Input[int]]:
73
60
  """
74
- Configurable sleep time in seconds between retries for firewall configuration. Default set to 30 seconds.
61
+ Configurable sleep time in seconds between retries for firewall configuration
75
62
  """
76
63
  return pulumi.get(self, "sleep")
77
64
 
@@ -83,11 +70,7 @@ class SecurityFirewallArgs:
83
70
  @pulumi.getter
84
71
  def timeout(self) -> Optional[pulumi.Input[int]]:
85
72
  """
86
- Configurable timeout time in seconds for firewall configuration. Default set to 1800 seconds.
87
-
88
- ___
89
-
90
- The `rules` block consists of:
73
+ Configurable timeout time in seconds for firewall configuration
91
74
  """
92
75
  return pulumi.get(self, "timeout")
93
76
 
@@ -105,14 +88,9 @@ class _SecurityFirewallState:
105
88
  timeout: Optional[pulumi.Input[int]] = None):
106
89
  """
107
90
  Input properties used for looking up and filtering SecurityFirewall resources.
108
- :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
109
- :param pulumi.Input[Sequence[pulumi.Input['SecurityFirewallRuleArgs']]] rules: An array of rules, minimum of 1 needs to be configured. Each `rules` block consists of the field documented below.
110
- :param pulumi.Input[int] sleep: Configurable sleep time in seconds between retries for firewall configuration. Default set to 30 seconds.
111
- :param pulumi.Input[int] timeout: Configurable timeout time in seconds for firewall configuration. Default set to 1800 seconds.
112
-
113
- ___
114
-
115
- The `rules` block consists of:
91
+ :param pulumi.Input[int] instance_id: Instance identifier
92
+ :param pulumi.Input[int] sleep: Configurable sleep time in seconds between retries for firewall configuration
93
+ :param pulumi.Input[int] timeout: Configurable timeout time in seconds for firewall configuration
116
94
  """
117
95
  if instance_id is not None:
118
96
  pulumi.set(__self__, "instance_id", instance_id)
@@ -127,7 +105,7 @@ class _SecurityFirewallState:
127
105
  @pulumi.getter(name="instanceId")
128
106
  def instance_id(self) -> Optional[pulumi.Input[int]]:
129
107
  """
130
- The CloudAMQP instance ID.
108
+ Instance identifier
131
109
  """
132
110
  return pulumi.get(self, "instance_id")
133
111
 
@@ -138,9 +116,6 @@ class _SecurityFirewallState:
138
116
  @property
139
117
  @pulumi.getter
140
118
  def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityFirewallRuleArgs']]]]:
141
- """
142
- An array of rules, minimum of 1 needs to be configured. Each `rules` block consists of the field documented below.
143
- """
144
119
  return pulumi.get(self, "rules")
145
120
 
146
121
  @rules.setter
@@ -151,7 +126,7 @@ class _SecurityFirewallState:
151
126
  @pulumi.getter
152
127
  def sleep(self) -> Optional[pulumi.Input[int]]:
153
128
  """
154
- Configurable sleep time in seconds between retries for firewall configuration. Default set to 30 seconds.
129
+ Configurable sleep time in seconds between retries for firewall configuration
155
130
  """
156
131
  return pulumi.get(self, "sleep")
157
132
 
@@ -163,11 +138,7 @@ class _SecurityFirewallState:
163
138
  @pulumi.getter
164
139
  def timeout(self) -> Optional[pulumi.Input[int]]:
165
140
  """
166
- Configurable timeout time in seconds for firewall configuration. Default set to 1800 seconds.
167
-
168
- ___
169
-
170
- The `rules` block consists of:
141
+ Configurable timeout time in seconds for firewall configuration
171
142
  """
172
143
  return pulumi.get(self, "timeout")
173
144
 
@@ -197,14 +168,9 @@ class SecurityFirewall(pulumi.CustomResource):
197
168
 
198
169
  :param str resource_name: The name of the resource.
199
170
  :param pulumi.ResourceOptions opts: Options for the resource.
200
- :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
201
- :param pulumi.Input[Sequence[pulumi.Input[Union['SecurityFirewallRuleArgs', 'SecurityFirewallRuleArgsDict']]]] rules: An array of rules, minimum of 1 needs to be configured. Each `rules` block consists of the field documented below.
202
- :param pulumi.Input[int] sleep: Configurable sleep time in seconds between retries for firewall configuration. Default set to 30 seconds.
203
- :param pulumi.Input[int] timeout: Configurable timeout time in seconds for firewall configuration. Default set to 1800 seconds.
204
-
205
- ___
206
-
207
- The `rules` block consists of:
171
+ :param pulumi.Input[int] instance_id: Instance identifier
172
+ :param pulumi.Input[int] sleep: Configurable sleep time in seconds between retries for firewall configuration
173
+ :param pulumi.Input[int] timeout: Configurable timeout time in seconds for firewall configuration
208
174
  """
209
175
  ...
210
176
  @overload
@@ -278,14 +244,9 @@ class SecurityFirewall(pulumi.CustomResource):
278
244
  :param str resource_name: The unique name of the resulting resource.
279
245
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
280
246
  :param pulumi.ResourceOptions opts: Options for the resource.
281
- :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
282
- :param pulumi.Input[Sequence[pulumi.Input[Union['SecurityFirewallRuleArgs', 'SecurityFirewallRuleArgsDict']]]] rules: An array of rules, minimum of 1 needs to be configured. Each `rules` block consists of the field documented below.
283
- :param pulumi.Input[int] sleep: Configurable sleep time in seconds between retries for firewall configuration. Default set to 30 seconds.
284
- :param pulumi.Input[int] timeout: Configurable timeout time in seconds for firewall configuration. Default set to 1800 seconds.
285
-
286
- ___
287
-
288
- The `rules` block consists of:
247
+ :param pulumi.Input[int] instance_id: Instance identifier
248
+ :param pulumi.Input[int] sleep: Configurable sleep time in seconds between retries for firewall configuration
249
+ :param pulumi.Input[int] timeout: Configurable timeout time in seconds for firewall configuration
289
250
  """
290
251
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
291
252
 
@@ -301,23 +262,20 @@ class SecurityFirewall(pulumi.CustomResource):
301
262
  @pulumi.getter(name="instanceId")
302
263
  def instance_id(self) -> pulumi.Output[int]:
303
264
  """
304
- The CloudAMQP instance ID.
265
+ Instance identifier
305
266
  """
306
267
  return pulumi.get(self, "instance_id")
307
268
 
308
269
  @property
309
270
  @pulumi.getter
310
271
  def rules(self) -> pulumi.Output[Sequence['outputs.SecurityFirewallRule']]:
311
- """
312
- An array of rules, minimum of 1 needs to be configured. Each `rules` block consists of the field documented below.
313
- """
314
272
  return pulumi.get(self, "rules")
315
273
 
316
274
  @property
317
275
  @pulumi.getter
318
276
  def sleep(self) -> pulumi.Output[Optional[int]]:
319
277
  """
320
- Configurable sleep time in seconds between retries for firewall configuration. Default set to 30 seconds.
278
+ Configurable sleep time in seconds between retries for firewall configuration
321
279
  """
322
280
  return pulumi.get(self, "sleep")
323
281
 
@@ -325,11 +283,7 @@ class SecurityFirewall(pulumi.CustomResource):
325
283
  @pulumi.getter
326
284
  def timeout(self) -> pulumi.Output[Optional[int]]:
327
285
  """
328
- Configurable timeout time in seconds for firewall configuration. Default set to 1800 seconds.
329
-
330
- ___
331
-
332
- The `rules` block consists of:
286
+ Configurable timeout time in seconds for firewall configuration
333
287
  """
334
288
  return pulumi.get(self, "timeout")
335
289
 
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['UpgradeLavinmqArgs', 'UpgradeLavinmq']
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['UpgradeRabbitmqArgs', 'UpgradeRabbitmq']
pulumi_cloudamqp/vpc.py CHANGED
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['VpcArgs', 'Vpc']
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['VpcConnectArgs', 'VpcConnect']
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['VpcGcpPeeringArgs', 'VpcGcpPeering']
@@ -27,7 +22,7 @@ class VpcGcpPeeringArgs:
27
22
  wait_on_peering_status: Optional[pulumi.Input[bool]] = None):
28
23
  """
29
24
  The set of arguments for constructing a VpcGcpPeering resource.
30
- :param pulumi.Input[str] peer_network_uri: Network URI of the VPC network to which you will peer with. See examples above for the format.
25
+ :param pulumi.Input[str] peer_network_uri: Network uri of the VPC network to which you will peer with.
31
26
  :param pulumi.Input[int] instance_id: The CloudAMQP instance identifier. *Deprecated from v1.16.0*
32
27
  :param pulumi.Input[int] sleep: Configurable sleep time (seconds) between retries when requesting or reading
33
28
  peering. Default set to 10 seconds. *Available from v1.29.0*
@@ -53,7 +48,7 @@ class VpcGcpPeeringArgs:
53
48
  @pulumi.getter(name="peerNetworkUri")
54
49
  def peer_network_uri(self) -> pulumi.Input[str]:
55
50
  """
56
- Network URI of the VPC network to which you will peer with. See examples above for the format.
51
+ Network uri of the VPC network to which you will peer with.
57
52
  """
58
53
  return pulumi.get(self, "peer_network_uri")
59
54
 
@@ -141,7 +136,7 @@ class _VpcGcpPeeringState:
141
136
  Input properties used for looking up and filtering VpcGcpPeering resources.
142
137
  :param pulumi.Input[bool] auto_create_routes: VPC peering auto created routes
143
138
  :param pulumi.Input[int] instance_id: The CloudAMQP instance identifier. *Deprecated from v1.16.0*
144
- :param pulumi.Input[str] peer_network_uri: Network URI of the VPC network to which you will peer with. See examples above for the format.
139
+ :param pulumi.Input[str] peer_network_uri: Network uri of the VPC network to which you will peer with.
145
140
  :param pulumi.Input[int] sleep: Configurable sleep time (seconds) between retries when requesting or reading
146
141
  peering. Default set to 10 seconds. *Available from v1.29.0*
147
142
  :param pulumi.Input[str] state: VPC peering state
@@ -199,7 +194,7 @@ class _VpcGcpPeeringState:
199
194
  @pulumi.getter(name="peerNetworkUri")
200
195
  def peer_network_uri(self) -> Optional[pulumi.Input[str]]:
201
196
  """
202
- Network URI of the VPC network to which you will peer with. See examples above for the format.
197
+ Network uri of the VPC network to which you will peer with.
203
198
  """
204
199
  return pulumi.get(self, "peer_network_uri")
205
200
 
@@ -296,10 +291,7 @@ class VpcGcpPeering(pulumi.CustomResource):
296
291
  wait_on_peering_status: Optional[pulumi.Input[bool]] = None,
297
292
  __props__=None):
298
293
  """
299
- This resouce creates a VPC peering configuration for the CloudAMQP instance. The configuration will
300
- connect to another VPC network hosted on Google Cloud Platform (GCP). See the
301
- [GCP documentation](https://cloud.google.com/vpc/docs/using-vpc-peering) for more information on how
302
- to create the VPC peering configuration.
294
+ This resouce creates a VPC peering configuration for the CloudAMQP instance. The configuration will connect to another VPC network hosted on Google Cloud Platform (GCP). See the [GCP documentation](https://cloud.google.com/vpc/docs/using-vpc-peering) for more information on how to create the VPC peering configuration.
303
295
 
304
296
  > **Note:** Creating a VPC peering will automatically add firewall rules for the peered subnet.
305
297
 
@@ -333,7 +325,7 @@ class VpcGcpPeering(pulumi.CustomResource):
333
325
  # VPC peering configuration
334
326
  vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
335
327
  instance_id=instance.id,
336
- peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
328
+ peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
337
329
  ```
338
330
 
339
331
  </details>
@@ -367,7 +359,7 @@ class VpcGcpPeering(pulumi.CustomResource):
367
359
  # VPC peering configuration
368
360
  vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
369
361
  vpc_id=vpc.id,
370
- peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
362
+ peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
371
363
  ```
372
364
 
373
365
  </details>
@@ -379,8 +371,7 @@ class VpcGcpPeering(pulumi.CustomResource):
379
371
  </b>
380
372
  </summary>
381
373
 
382
- Default peering request, no need to set `wait_on_peering_status`. It's default set to false and will
383
- not wait on peering status. Create resource will be considered completed, regardless of the status of the state.
374
+ Default peering request, no need to set `wait_on_peering_status`. It's default set to false and will not wait on peering status.
384
375
 
385
376
  ```python
386
377
  import pulumi
@@ -388,11 +379,10 @@ class VpcGcpPeering(pulumi.CustomResource):
388
379
 
389
380
  vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
390
381
  vpc_id=vpc["id"],
391
- peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
382
+ peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
392
383
  ```
393
384
 
394
- Peering request and waiting for peering status of the state to change to ACTIVE before the create resource is consider complete.
395
- This is done once both side have done the peering.
385
+ Peering request and waiting for peering status.
396
386
 
397
387
  ```python
398
388
  import pulumi
@@ -401,7 +391,7 @@ class VpcGcpPeering(pulumi.CustomResource):
401
391
  vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
402
392
  vpc_id=vpc["id"],
403
393
  wait_on_peering_status=True,
404
- peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
394
+ peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
405
395
  ```
406
396
 
407
397
  </details>
@@ -504,35 +494,25 @@ class VpcGcpPeering(pulumi.CustomResource):
504
494
  This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
505
495
 
506
496
  *From v1.16.0*
507
- This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance
508
- identifier, `cloudamqp_instance.instance.id`.
497
+ This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance identifier, `cloudamqp_instance.instance.id`.
509
498
 
510
499
  ## Create VPC Peering with additional firewall rules
511
500
 
512
- To create a VPC peering configuration with additional firewall rules, it's required to chain the
513
- SecurityFirewall
514
- resource to avoid parallel conflicting resource calls. This is done by adding dependency from the
515
- firewall resource to the VPC peering resource.
501
+ To create a VPC peering configuration with additional firewall rules, it's required to chain the SecurityFirewall
502
+ resource to avoid parallel conflicting resource calls. This is done by adding dependency from the firewall resource to the VPC peering resource.
516
503
 
517
- Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
518
- the VPC peering also needs to be added.
504
+ Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for the VPC peering also needs to be added.
519
505
 
520
506
  See example below.
521
507
 
522
508
  ## Import
523
509
 
524
- ### Peering network URI
525
-
526
- This is required to be able to import the correct peering. Following the same format as the argument reference.
527
-
528
- hcl
529
-
530
- https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>
510
+ Not possible to import this resource.
531
511
 
532
512
  :param str resource_name: The name of the resource.
533
513
  :param pulumi.ResourceOptions opts: Options for the resource.
534
514
  :param pulumi.Input[int] instance_id: The CloudAMQP instance identifier. *Deprecated from v1.16.0*
535
- :param pulumi.Input[str] peer_network_uri: Network URI of the VPC network to which you will peer with. See examples above for the format.
515
+ :param pulumi.Input[str] peer_network_uri: Network uri of the VPC network to which you will peer with.
536
516
  :param pulumi.Input[int] sleep: Configurable sleep time (seconds) between retries when requesting or reading
537
517
  peering. Default set to 10 seconds. *Available from v1.29.0*
538
518
  :param pulumi.Input[int] timeout: Configurable timeout time (seconds) before retries times out. Default set
@@ -548,10 +528,7 @@ class VpcGcpPeering(pulumi.CustomResource):
548
528
  args: VpcGcpPeeringArgs,
549
529
  opts: Optional[pulumi.ResourceOptions] = None):
550
530
  """
551
- This resouce creates a VPC peering configuration for the CloudAMQP instance. The configuration will
552
- connect to another VPC network hosted on Google Cloud Platform (GCP). See the
553
- [GCP documentation](https://cloud.google.com/vpc/docs/using-vpc-peering) for more information on how
554
- to create the VPC peering configuration.
531
+ This resouce creates a VPC peering configuration for the CloudAMQP instance. The configuration will connect to another VPC network hosted on Google Cloud Platform (GCP). See the [GCP documentation](https://cloud.google.com/vpc/docs/using-vpc-peering) for more information on how to create the VPC peering configuration.
555
532
 
556
533
  > **Note:** Creating a VPC peering will automatically add firewall rules for the peered subnet.
557
534
 
@@ -585,7 +562,7 @@ class VpcGcpPeering(pulumi.CustomResource):
585
562
  # VPC peering configuration
586
563
  vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
587
564
  instance_id=instance.id,
588
- peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
565
+ peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
589
566
  ```
590
567
 
591
568
  </details>
@@ -619,7 +596,7 @@ class VpcGcpPeering(pulumi.CustomResource):
619
596
  # VPC peering configuration
620
597
  vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
621
598
  vpc_id=vpc.id,
622
- peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
599
+ peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
623
600
  ```
624
601
 
625
602
  </details>
@@ -631,8 +608,7 @@ class VpcGcpPeering(pulumi.CustomResource):
631
608
  </b>
632
609
  </summary>
633
610
 
634
- Default peering request, no need to set `wait_on_peering_status`. It's default set to false and will
635
- not wait on peering status. Create resource will be considered completed, regardless of the status of the state.
611
+ Default peering request, no need to set `wait_on_peering_status`. It's default set to false and will not wait on peering status.
636
612
 
637
613
  ```python
638
614
  import pulumi
@@ -640,11 +616,10 @@ class VpcGcpPeering(pulumi.CustomResource):
640
616
 
641
617
  vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
642
618
  vpc_id=vpc["id"],
643
- peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
619
+ peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
644
620
  ```
645
621
 
646
- Peering request and waiting for peering status of the state to change to ACTIVE before the create resource is consider complete.
647
- This is done once both side have done the peering.
622
+ Peering request and waiting for peering status.
648
623
 
649
624
  ```python
650
625
  import pulumi
@@ -653,7 +628,7 @@ class VpcGcpPeering(pulumi.CustomResource):
653
628
  vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
654
629
  vpc_id=vpc["id"],
655
630
  wait_on_peering_status=True,
656
- peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
631
+ peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
657
632
  ```
658
633
 
659
634
  </details>
@@ -756,30 +731,20 @@ class VpcGcpPeering(pulumi.CustomResource):
756
731
  This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
757
732
 
758
733
  *From v1.16.0*
759
- This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance
760
- identifier, `cloudamqp_instance.instance.id`.
734
+ This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance identifier, `cloudamqp_instance.instance.id`.
761
735
 
762
736
  ## Create VPC Peering with additional firewall rules
763
737
 
764
- To create a VPC peering configuration with additional firewall rules, it's required to chain the
765
- SecurityFirewall
766
- resource to avoid parallel conflicting resource calls. This is done by adding dependency from the
767
- firewall resource to the VPC peering resource.
738
+ To create a VPC peering configuration with additional firewall rules, it's required to chain the SecurityFirewall
739
+ resource to avoid parallel conflicting resource calls. This is done by adding dependency from the firewall resource to the VPC peering resource.
768
740
 
769
- Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
770
- the VPC peering also needs to be added.
741
+ Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for the VPC peering also needs to be added.
771
742
 
772
743
  See example below.
773
744
 
774
745
  ## Import
775
746
 
776
- ### Peering network URI
777
-
778
- This is required to be able to import the correct peering. Following the same format as the argument reference.
779
-
780
- hcl
781
-
782
- https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>
747
+ Not possible to import this resource.
783
748
 
784
749
  :param str resource_name: The name of the resource.
785
750
  :param VpcGcpPeeringArgs args: The arguments to use to populate this resource's properties.
@@ -850,7 +815,7 @@ class VpcGcpPeering(pulumi.CustomResource):
850
815
  :param pulumi.ResourceOptions opts: Options for the resource.
851
816
  :param pulumi.Input[bool] auto_create_routes: VPC peering auto created routes
852
817
  :param pulumi.Input[int] instance_id: The CloudAMQP instance identifier. *Deprecated from v1.16.0*
853
- :param pulumi.Input[str] peer_network_uri: Network URI of the VPC network to which you will peer with. See examples above for the format.
818
+ :param pulumi.Input[str] peer_network_uri: Network uri of the VPC network to which you will peer with.
854
819
  :param pulumi.Input[int] sleep: Configurable sleep time (seconds) between retries when requesting or reading
855
820
  peering. Default set to 10 seconds. *Available from v1.29.0*
856
821
  :param pulumi.Input[str] state: VPC peering state
@@ -896,7 +861,7 @@ class VpcGcpPeering(pulumi.CustomResource):
896
861
  @pulumi.getter(name="peerNetworkUri")
897
862
  def peer_network_uri(self) -> pulumi.Output[str]:
898
863
  """
899
- Network URI of the VPC network to which you will peer with. See examples above for the format.
864
+ Network uri of the VPC network to which you will peer with.
900
865
  """
901
866
  return pulumi.get(self, "peer_network_uri")
902
867
 
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['VpcPeeringArgs', 'VpcPeering']
@@ -237,13 +232,7 @@ class VpcPeering(pulumi.CustomResource):
237
232
  """
238
233
  ## Import
239
234
 
240
- ### Peering Identifier
241
-
242
- This can be found as *peering connection id* in your AWS VPC dashboard/Peering connections, for the correct VPC peering.
243
-
244
- Also available as the identifier for *aws_vpc_peering_connection* resource or
245
-
246
- data source.
235
+ Not possible to import this resource.
247
236
 
248
237
  :param str resource_name: The name of the resource.
249
238
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -266,13 +255,7 @@ class VpcPeering(pulumi.CustomResource):
266
255
  """
267
256
  ## Import
268
257
 
269
- ### Peering Identifier
270
-
271
- This can be found as *peering connection id* in your AWS VPC dashboard/Peering connections, for the correct VPC peering.
272
-
273
- Also available as the identifier for *aws_vpc_peering_connection* resource or
274
-
275
- data source.
258
+ Not possible to import this resource.
276
259
 
277
260
  :param str resource_name: The name of the resource.
278
261
  :param VpcPeeringArgs args: The arguments to use to populate this resource's properties.
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['WebhookArgs', 'Webhook']
@@ -1,17 +1,16 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_cloudamqp
3
- Version: 3.20.3
3
+ Version: 3.21.0a1725600315
4
4
  Summary: A Pulumi package for creating and managing CloudAMQP resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
7
7
  Project-URL: Repository, https://github.com/pulumi/pulumi-cloudamqp
8
8
  Keywords: pulumi,cloudamqp
9
- Requires-Python: >=3.9
9
+ Requires-Python: >=3.8
10
10
  Description-Content-Type: text/markdown
11
- Requires-Dist: parver>=0.2.1
12
- Requires-Dist: pulumi<4.0.0,>=3.142.0
13
- Requires-Dist: semver>=2.8.1
14
- Requires-Dist: typing-extensions>=4.11; python_version < "3.11"
11
+ Requires-Dist: parver >=0.2.1
12
+ Requires-Dist: pulumi <4.0.0,>=3.0.0
13
+ Requires-Dist: semver >=2.8.1
15
14
 
16
15
  [![Actions Status](https://github.com/pulumi/pulumi-cloudamqp/workflows/master/badge.svg)](https://github.com/pulumi/pulumi-cloudamqp/actions)
17
16
  [![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com)