pulumi-cloudamqp 3.16.0a1694194060__tar.gz → 3.16.0a1694755387__tar.gz
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.
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/PKG-INFO +1 -1
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/alarm.py +4 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/get_account.py +2 -2
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/get_account_vpcs.py +2 -2
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/get_alarm.py +13 -13
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/get_credentials.py +4 -4
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/get_instance.py +19 -19
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/get_nodes.py +5 -5
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/get_notification.py +7 -7
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/get_plugins.py +3 -3
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/get_plugins_community.py +3 -3
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/get_upgradable_versions.py +4 -4
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/get_vpc_gcp_info.py +6 -6
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/get_vpc_info.py +7 -7
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/instance.py +82 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/integration_metric.py +18 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/rabbit_configuration.py +0 -196
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/upgrade_rabbitmq.py +6 -4
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp.egg-info/PKG-INFO +1 -1
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/setup.py +1 -24
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/README.md +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/__init__.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/_inputs.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/_utilities.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/config/__init__.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/config/vars.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/custom_domain.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/extra_disk_size.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/integration_aws_eventbridge.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/integration_log.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/node_actions.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/notification.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/outputs.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/plugin.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/plugin_community.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/privatelink_aws.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/privatelink_azure.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/provider.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/pulumi-plugin.json +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/py.typed +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/security_firewall.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/vpc.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/vpc_gcp_peering.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/vpc_peering.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/webhook.py +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp.egg-info/SOURCES.txt +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp.egg-info/dependency_links.txt +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp.egg-info/not-zip-safe +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp.egg-info/requires.txt +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp.egg-info/top_level.txt +0 -0
- {pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/setup.cfg +0 -0
{pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/alarm.py
RENAMED
|
@@ -465,6 +465,8 @@ class Alarm(pulumi.CustomResource):
|
|
|
465
465
|
| Server unreachable | server_unreachable | - | ✔ | time_threshold |
|
|
466
466
|
| Notice | notice | ✔ | ✔ | |
|
|
467
467
|
|
|
468
|
+
> Notice alarm is manadatory! Only one can exists and cannot be deleted. Setting `no_default_alarm` to true, will still create this alarm.
|
|
469
|
+
|
|
468
470
|
## Dependency
|
|
469
471
|
|
|
470
472
|
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
@@ -558,6 +560,8 @@ class Alarm(pulumi.CustomResource):
|
|
|
558
560
|
| Server unreachable | server_unreachable | - | ✔ | time_threshold |
|
|
559
561
|
| Notice | notice | ✔ | ✔ | |
|
|
560
562
|
|
|
563
|
+
> Notice alarm is manadatory! Only one can exists and cannot be deleted. Setting `no_default_alarm` to true, will still create this alarm.
|
|
564
|
+
|
|
561
565
|
## Dependency
|
|
562
566
|
|
|
563
567
|
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
@@ -95,5 +95,5 @@ def get_account(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAcco
|
|
|
95
95
|
__ret__ = pulumi.runtime.invoke('cloudamqp:index/getAccount:getAccount', __args__, opts=opts, typ=GetAccountResult).value
|
|
96
96
|
|
|
97
97
|
return AwaitableGetAccountResult(
|
|
98
|
-
id=__ret__
|
|
99
|
-
instances=__ret__
|
|
98
|
+
id=pulumi.get(__ret__, 'id'),
|
|
99
|
+
instances=pulumi.get(__ret__, 'instances'))
|
|
@@ -96,5 +96,5 @@ def get_account_vpcs(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGe
|
|
|
96
96
|
__ret__ = pulumi.runtime.invoke('cloudamqp:index/getAccountVpcs:getAccountVpcs', __args__, opts=opts, typ=GetAccountVpcsResult).value
|
|
97
97
|
|
|
98
98
|
return AwaitableGetAccountVpcsResult(
|
|
99
|
-
id=__ret__
|
|
100
|
-
vpcs=__ret__
|
|
99
|
+
id=pulumi.get(__ret__, 'id'),
|
|
100
|
+
vpcs=pulumi.get(__ret__, 'vpcs'))
|
|
@@ -209,19 +209,19 @@ def get_alarm(alarm_id: Optional[int] = None,
|
|
|
209
209
|
__ret__ = pulumi.runtime.invoke('cloudamqp:index/getAlarm:getAlarm', __args__, opts=opts, typ=GetAlarmResult).value
|
|
210
210
|
|
|
211
211
|
return AwaitableGetAlarmResult(
|
|
212
|
-
alarm_id=__ret__
|
|
213
|
-
enabled=__ret__
|
|
214
|
-
id=__ret__
|
|
215
|
-
instance_id=__ret__
|
|
216
|
-
message_type=__ret__
|
|
217
|
-
queue_regex=__ret__
|
|
218
|
-
recipients=__ret__
|
|
219
|
-
reminder_interval=__ret__
|
|
220
|
-
time_threshold=__ret__
|
|
221
|
-
type=__ret__
|
|
222
|
-
value_calculation=__ret__
|
|
223
|
-
value_threshold=__ret__
|
|
224
|
-
vhost_regex=__ret__
|
|
212
|
+
alarm_id=pulumi.get(__ret__, 'alarm_id'),
|
|
213
|
+
enabled=pulumi.get(__ret__, 'enabled'),
|
|
214
|
+
id=pulumi.get(__ret__, 'id'),
|
|
215
|
+
instance_id=pulumi.get(__ret__, 'instance_id'),
|
|
216
|
+
message_type=pulumi.get(__ret__, 'message_type'),
|
|
217
|
+
queue_regex=pulumi.get(__ret__, 'queue_regex'),
|
|
218
|
+
recipients=pulumi.get(__ret__, 'recipients'),
|
|
219
|
+
reminder_interval=pulumi.get(__ret__, 'reminder_interval'),
|
|
220
|
+
time_threshold=pulumi.get(__ret__, 'time_threshold'),
|
|
221
|
+
type=pulumi.get(__ret__, 'type'),
|
|
222
|
+
value_calculation=pulumi.get(__ret__, 'value_calculation'),
|
|
223
|
+
value_threshold=pulumi.get(__ret__, 'value_threshold'),
|
|
224
|
+
vhost_regex=pulumi.get(__ret__, 'vhost_regex'))
|
|
225
225
|
|
|
226
226
|
|
|
227
227
|
@_utilities.lift_output_func(get_alarm)
|
|
@@ -105,10 +105,10 @@ def get_credentials(instance_id: Optional[int] = None,
|
|
|
105
105
|
__ret__ = pulumi.runtime.invoke('cloudamqp:index/getCredentials:getCredentials', __args__, opts=opts, typ=GetCredentialsResult).value
|
|
106
106
|
|
|
107
107
|
return AwaitableGetCredentialsResult(
|
|
108
|
-
id=__ret__
|
|
109
|
-
instance_id=__ret__
|
|
110
|
-
password=__ret__
|
|
111
|
-
username=__ret__
|
|
108
|
+
id=pulumi.get(__ret__, 'id'),
|
|
109
|
+
instance_id=pulumi.get(__ret__, 'instance_id'),
|
|
110
|
+
password=pulumi.get(__ret__, 'password'),
|
|
111
|
+
username=pulumi.get(__ret__, 'username'))
|
|
112
112
|
|
|
113
113
|
|
|
114
114
|
@_utilities.lift_output_func(get_credentials)
|
|
@@ -241,25 +241,25 @@ def get_instance(instance_id: Optional[int] = None,
|
|
|
241
241
|
__ret__ = pulumi.runtime.invoke('cloudamqp:index/getInstance:getInstance', __args__, opts=opts, typ=GetInstanceResult).value
|
|
242
242
|
|
|
243
243
|
return AwaitableGetInstanceResult(
|
|
244
|
-
apikey=__ret__
|
|
245
|
-
backend=__ret__
|
|
246
|
-
dedicated=__ret__
|
|
247
|
-
host=__ret__
|
|
248
|
-
host_internal=__ret__
|
|
249
|
-
id=__ret__
|
|
250
|
-
instance_id=__ret__
|
|
251
|
-
name=__ret__
|
|
252
|
-
no_default_alarms=__ret__
|
|
253
|
-
nodes=__ret__
|
|
254
|
-
plan=__ret__
|
|
255
|
-
ready=__ret__
|
|
256
|
-
region=__ret__
|
|
257
|
-
rmq_version=__ret__
|
|
258
|
-
tags=__ret__
|
|
259
|
-
url=__ret__
|
|
260
|
-
vhost=__ret__
|
|
261
|
-
vpc_id=__ret__
|
|
262
|
-
vpc_subnet=__ret__
|
|
244
|
+
apikey=pulumi.get(__ret__, 'apikey'),
|
|
245
|
+
backend=pulumi.get(__ret__, 'backend'),
|
|
246
|
+
dedicated=pulumi.get(__ret__, 'dedicated'),
|
|
247
|
+
host=pulumi.get(__ret__, 'host'),
|
|
248
|
+
host_internal=pulumi.get(__ret__, 'host_internal'),
|
|
249
|
+
id=pulumi.get(__ret__, 'id'),
|
|
250
|
+
instance_id=pulumi.get(__ret__, 'instance_id'),
|
|
251
|
+
name=pulumi.get(__ret__, 'name'),
|
|
252
|
+
no_default_alarms=pulumi.get(__ret__, 'no_default_alarms'),
|
|
253
|
+
nodes=pulumi.get(__ret__, 'nodes'),
|
|
254
|
+
plan=pulumi.get(__ret__, 'plan'),
|
|
255
|
+
ready=pulumi.get(__ret__, 'ready'),
|
|
256
|
+
region=pulumi.get(__ret__, 'region'),
|
|
257
|
+
rmq_version=pulumi.get(__ret__, 'rmq_version'),
|
|
258
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
259
|
+
url=pulumi.get(__ret__, 'url'),
|
|
260
|
+
vhost=pulumi.get(__ret__, 'vhost'),
|
|
261
|
+
vpc_id=pulumi.get(__ret__, 'vpc_id'),
|
|
262
|
+
vpc_subnet=pulumi.get(__ret__, 'vpc_subnet'))
|
|
263
263
|
|
|
264
264
|
|
|
265
265
|
@_utilities.lift_output_func(get_instance)
|
|
@@ -91,7 +91,7 @@ def get_nodes(instance_id: Optional[int] = None,
|
|
|
91
91
|
* `name` - Name of the node.
|
|
92
92
|
* `running` - Is the node running?
|
|
93
93
|
* `rabbitmq_version` - Currently configured Rabbit MQ version on the node.
|
|
94
|
-
* `erlang_version` - Currently used
|
|
94
|
+
* `erlang_version` - Currently used Erlang version on the node.
|
|
95
95
|
* `hipe` - Enable or disable High-performance Erlang.
|
|
96
96
|
* `configured` - Is the node configured?
|
|
97
97
|
* `disk_size` - Subscription plan disk size
|
|
@@ -112,9 +112,9 @@ def get_nodes(instance_id: Optional[int] = None,
|
|
|
112
112
|
__ret__ = pulumi.runtime.invoke('cloudamqp:index/getNodes:getNodes', __args__, opts=opts, typ=GetNodesResult).value
|
|
113
113
|
|
|
114
114
|
return AwaitableGetNodesResult(
|
|
115
|
-
id=__ret__
|
|
116
|
-
instance_id=__ret__
|
|
117
|
-
nodes=__ret__
|
|
115
|
+
id=pulumi.get(__ret__, 'id'),
|
|
116
|
+
instance_id=pulumi.get(__ret__, 'instance_id'),
|
|
117
|
+
nodes=pulumi.get(__ret__, 'nodes'))
|
|
118
118
|
|
|
119
119
|
|
|
120
120
|
@_utilities.lift_output_func(get_nodes)
|
|
@@ -146,7 +146,7 @@ def get_nodes_output(instance_id: Optional[pulumi.Input[int]] = None,
|
|
|
146
146
|
* `name` - Name of the node.
|
|
147
147
|
* `running` - Is the node running?
|
|
148
148
|
* `rabbitmq_version` - Currently configured Rabbit MQ version on the node.
|
|
149
|
-
* `erlang_version` - Currently used
|
|
149
|
+
* `erlang_version` - Currently used Erlang version on the node.
|
|
150
150
|
* `hipe` - Enable or disable High-performance Erlang.
|
|
151
151
|
* `configured` - Is the node configured?
|
|
152
152
|
* `disk_size` - Subscription plan disk size
|
|
@@ -142,13 +142,13 @@ def get_notification(instance_id: Optional[int] = None,
|
|
|
142
142
|
__ret__ = pulumi.runtime.invoke('cloudamqp:index/getNotification:getNotification', __args__, opts=opts, typ=GetNotificationResult).value
|
|
143
143
|
|
|
144
144
|
return AwaitableGetNotificationResult(
|
|
145
|
-
id=__ret__
|
|
146
|
-
instance_id=__ret__
|
|
147
|
-
name=__ret__
|
|
148
|
-
options=__ret__
|
|
149
|
-
recipient_id=__ret__
|
|
150
|
-
type=__ret__
|
|
151
|
-
value=__ret__
|
|
145
|
+
id=pulumi.get(__ret__, 'id'),
|
|
146
|
+
instance_id=pulumi.get(__ret__, 'instance_id'),
|
|
147
|
+
name=pulumi.get(__ret__, 'name'),
|
|
148
|
+
options=pulumi.get(__ret__, 'options'),
|
|
149
|
+
recipient_id=pulumi.get(__ret__, 'recipient_id'),
|
|
150
|
+
type=pulumi.get(__ret__, 'type'),
|
|
151
|
+
value=pulumi.get(__ret__, 'value'))
|
|
152
152
|
|
|
153
153
|
|
|
154
154
|
@_utilities.lift_output_func(get_notification)
|
|
@@ -103,9 +103,9 @@ def get_plugins(instance_id: Optional[int] = None,
|
|
|
103
103
|
__ret__ = pulumi.runtime.invoke('cloudamqp:index/getPlugins:getPlugins', __args__, opts=opts, typ=GetPluginsResult).value
|
|
104
104
|
|
|
105
105
|
return AwaitableGetPluginsResult(
|
|
106
|
-
id=__ret__
|
|
107
|
-
instance_id=__ret__
|
|
108
|
-
plugins=__ret__
|
|
106
|
+
id=pulumi.get(__ret__, 'id'),
|
|
107
|
+
instance_id=pulumi.get(__ret__, 'instance_id'),
|
|
108
|
+
plugins=pulumi.get(__ret__, 'plugins'))
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
@_utilities.lift_output_func(get_plugins)
|
|
@@ -102,9 +102,9 @@ def get_plugins_community(instance_id: Optional[int] = None,
|
|
|
102
102
|
__ret__ = pulumi.runtime.invoke('cloudamqp:index/getPluginsCommunity:getPluginsCommunity', __args__, opts=opts, typ=GetPluginsCommunityResult).value
|
|
103
103
|
|
|
104
104
|
return AwaitableGetPluginsCommunityResult(
|
|
105
|
-
id=__ret__
|
|
106
|
-
instance_id=__ret__
|
|
107
|
-
plugins=__ret__
|
|
105
|
+
id=pulumi.get(__ret__, 'id'),
|
|
106
|
+
instance_id=pulumi.get(__ret__, 'instance_id'),
|
|
107
|
+
plugins=pulumi.get(__ret__, 'plugins'))
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
@_utilities.lift_output_func(get_plugins_community)
|
|
@@ -104,10 +104,10 @@ def get_upgradable_versions(instance_id: Optional[int] = None,
|
|
|
104
104
|
__ret__ = pulumi.runtime.invoke('cloudamqp:index/getUpgradableVersions:getUpgradableVersions', __args__, opts=opts, typ=GetUpgradableVersionsResult).value
|
|
105
105
|
|
|
106
106
|
return AwaitableGetUpgradableVersionsResult(
|
|
107
|
-
id=__ret__
|
|
108
|
-
instance_id=__ret__
|
|
109
|
-
new_erlang_version=__ret__
|
|
110
|
-
new_rabbitmq_version=__ret__
|
|
107
|
+
id=pulumi.get(__ret__, 'id'),
|
|
108
|
+
instance_id=pulumi.get(__ret__, 'instance_id'),
|
|
109
|
+
new_erlang_version=pulumi.get(__ret__, 'new_erlang_version'),
|
|
110
|
+
new_rabbitmq_version=pulumi.get(__ret__, 'new_rabbitmq_version'))
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
@_utilities.lift_output_func(get_upgradable_versions)
|
|
@@ -158,12 +158,12 @@ def get_vpc_gcp_info(instance_id: Optional[int] = None,
|
|
|
158
158
|
__ret__ = pulumi.runtime.invoke('cloudamqp:index/getVpcGcpInfo:getVpcGcpInfo', __args__, opts=opts, typ=GetVpcGcpInfoResult).value
|
|
159
159
|
|
|
160
160
|
return AwaitableGetVpcGcpInfoResult(
|
|
161
|
-
id=__ret__
|
|
162
|
-
instance_id=__ret__
|
|
163
|
-
name=__ret__
|
|
164
|
-
network=__ret__
|
|
165
|
-
vpc_id=__ret__
|
|
166
|
-
vpc_subnet=__ret__
|
|
161
|
+
id=pulumi.get(__ret__, 'id'),
|
|
162
|
+
instance_id=pulumi.get(__ret__, 'instance_id'),
|
|
163
|
+
name=pulumi.get(__ret__, 'name'),
|
|
164
|
+
network=pulumi.get(__ret__, 'network'),
|
|
165
|
+
vpc_id=pulumi.get(__ret__, 'vpc_id'),
|
|
166
|
+
vpc_subnet=pulumi.get(__ret__, 'vpc_subnet'))
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
@_utilities.lift_output_func(get_vpc_gcp_info)
|
|
@@ -170,13 +170,13 @@ def get_vpc_info(instance_id: Optional[int] = None,
|
|
|
170
170
|
__ret__ = pulumi.runtime.invoke('cloudamqp:index/getVpcInfo:getVpcInfo', __args__, opts=opts, typ=GetVpcInfoResult).value
|
|
171
171
|
|
|
172
172
|
return AwaitableGetVpcInfoResult(
|
|
173
|
-
id=__ret__
|
|
174
|
-
instance_id=__ret__
|
|
175
|
-
name=__ret__
|
|
176
|
-
owner_id=__ret__
|
|
177
|
-
security_group_id=__ret__
|
|
178
|
-
vpc_id=__ret__
|
|
179
|
-
vpc_subnet=__ret__
|
|
173
|
+
id=pulumi.get(__ret__, 'id'),
|
|
174
|
+
instance_id=pulumi.get(__ret__, 'instance_id'),
|
|
175
|
+
name=pulumi.get(__ret__, 'name'),
|
|
176
|
+
owner_id=pulumi.get(__ret__, 'owner_id'),
|
|
177
|
+
security_group_id=pulumi.get(__ret__, 'security_group_id'),
|
|
178
|
+
vpc_id=pulumi.get(__ret__, 'vpc_id'),
|
|
179
|
+
vpc_subnet=pulumi.get(__ret__, 'vpc_subnet'))
|
|
180
180
|
|
|
181
181
|
|
|
182
182
|
@_utilities.lift_output_func(get_vpc_info)
|
|
@@ -662,6 +662,47 @@ class Instance(pulumi.CustomResource):
|
|
|
662
662
|
|
|
663
663
|
Set attribute `keep_associated_vpc` to true, will keep managed VPC when deleting the instances.
|
|
664
664
|
</details>
|
|
665
|
+
## Upgrade and downgrade
|
|
666
|
+
|
|
667
|
+
It's possible to upgrade or downgrade your subscription plan, this will either increase or decrease the underlying resource used for by the CloudAMQP instance. To do this, change the argument `plan` in the configuration and apply the changes. See available plans.
|
|
668
|
+
|
|
669
|
+
<details>
|
|
670
|
+
<summary>
|
|
671
|
+
<b>
|
|
672
|
+
<i>Upgrade the subscription plan</i>
|
|
673
|
+
</b>
|
|
674
|
+
</summary>
|
|
675
|
+
|
|
676
|
+
```python
|
|
677
|
+
import pulumi
|
|
678
|
+
import pulumi_cloudamqp as cloudamqp
|
|
679
|
+
|
|
680
|
+
# Upgraded CloudAMQP instance configuration
|
|
681
|
+
instance = cloudamqp.Instance("instance",
|
|
682
|
+
plan="bunny-1",
|
|
683
|
+
region="amazon-web-services::us-west-1",
|
|
684
|
+
tags=["terraform"])
|
|
685
|
+
```
|
|
686
|
+
</details>
|
|
687
|
+
|
|
688
|
+
<details>
|
|
689
|
+
<summary>
|
|
690
|
+
<b>
|
|
691
|
+
<i>Downgrade number of nodes from 3 to 1</i>
|
|
692
|
+
</b>
|
|
693
|
+
</summary>
|
|
694
|
+
|
|
695
|
+
```python
|
|
696
|
+
import pulumi
|
|
697
|
+
import pulumi_cloudamqp as cloudamqp
|
|
698
|
+
|
|
699
|
+
# Downgraded CloudAMQP instance configuration
|
|
700
|
+
instance = cloudamqp.Instance("instance",
|
|
701
|
+
plan="bunny-1",
|
|
702
|
+
region="amazon-web-services::us-west-1",
|
|
703
|
+
tags=["terraform"])
|
|
704
|
+
```
|
|
705
|
+
</details>
|
|
665
706
|
|
|
666
707
|
## Import
|
|
667
708
|
|
|
@@ -835,6 +876,47 @@ class Instance(pulumi.CustomResource):
|
|
|
835
876
|
|
|
836
877
|
Set attribute `keep_associated_vpc` to true, will keep managed VPC when deleting the instances.
|
|
837
878
|
</details>
|
|
879
|
+
## Upgrade and downgrade
|
|
880
|
+
|
|
881
|
+
It's possible to upgrade or downgrade your subscription plan, this will either increase or decrease the underlying resource used for by the CloudAMQP instance. To do this, change the argument `plan` in the configuration and apply the changes. See available plans.
|
|
882
|
+
|
|
883
|
+
<details>
|
|
884
|
+
<summary>
|
|
885
|
+
<b>
|
|
886
|
+
<i>Upgrade the subscription plan</i>
|
|
887
|
+
</b>
|
|
888
|
+
</summary>
|
|
889
|
+
|
|
890
|
+
```python
|
|
891
|
+
import pulumi
|
|
892
|
+
import pulumi_cloudamqp as cloudamqp
|
|
893
|
+
|
|
894
|
+
# Upgraded CloudAMQP instance configuration
|
|
895
|
+
instance = cloudamqp.Instance("instance",
|
|
896
|
+
plan="bunny-1",
|
|
897
|
+
region="amazon-web-services::us-west-1",
|
|
898
|
+
tags=["terraform"])
|
|
899
|
+
```
|
|
900
|
+
</details>
|
|
901
|
+
|
|
902
|
+
<details>
|
|
903
|
+
<summary>
|
|
904
|
+
<b>
|
|
905
|
+
<i>Downgrade number of nodes from 3 to 1</i>
|
|
906
|
+
</b>
|
|
907
|
+
</summary>
|
|
908
|
+
|
|
909
|
+
```python
|
|
910
|
+
import pulumi
|
|
911
|
+
import pulumi_cloudamqp as cloudamqp
|
|
912
|
+
|
|
913
|
+
# Downgraded CloudAMQP instance configuration
|
|
914
|
+
instance = cloudamqp.Instance("instance",
|
|
915
|
+
plan="bunny-1",
|
|
916
|
+
region="amazon-web-services::us-west-1",
|
|
917
|
+
tags=["terraform"])
|
|
918
|
+
```
|
|
919
|
+
</details>
|
|
838
920
|
|
|
839
921
|
## Import
|
|
840
922
|
|
|
@@ -277,6 +277,9 @@ class IntegrationMetricArgs:
|
|
|
277
277
|
"""
|
|
278
278
|
**Deprecated**
|
|
279
279
|
"""
|
|
280
|
+
warnings.warn("""use queue_allowlist instead""", DeprecationWarning)
|
|
281
|
+
pulumi.log.warn("""queue_whitelist is deprecated: use queue_allowlist instead""")
|
|
282
|
+
|
|
280
283
|
return pulumi.get(self, "queue_whitelist")
|
|
281
284
|
|
|
282
285
|
@queue_whitelist.setter
|
|
@@ -337,6 +340,9 @@ class IntegrationMetricArgs:
|
|
|
337
340
|
"""
|
|
338
341
|
**Deprecated**
|
|
339
342
|
"""
|
|
343
|
+
warnings.warn("""use vhost_allowlist instead""", DeprecationWarning)
|
|
344
|
+
pulumi.log.warn("""vhost_whitelist is deprecated: use vhost_allowlist instead""")
|
|
345
|
+
|
|
340
346
|
return pulumi.get(self, "vhost_whitelist")
|
|
341
347
|
|
|
342
348
|
@vhost_whitelist.setter
|
|
@@ -611,6 +617,9 @@ class _IntegrationMetricState:
|
|
|
611
617
|
"""
|
|
612
618
|
**Deprecated**
|
|
613
619
|
"""
|
|
620
|
+
warnings.warn("""use queue_allowlist instead""", DeprecationWarning)
|
|
621
|
+
pulumi.log.warn("""queue_whitelist is deprecated: use queue_allowlist instead""")
|
|
622
|
+
|
|
614
623
|
return pulumi.get(self, "queue_whitelist")
|
|
615
624
|
|
|
616
625
|
@queue_whitelist.setter
|
|
@@ -671,6 +680,9 @@ class _IntegrationMetricState:
|
|
|
671
680
|
"""
|
|
672
681
|
**Deprecated**
|
|
673
682
|
"""
|
|
683
|
+
warnings.warn("""use vhost_allowlist instead""", DeprecationWarning)
|
|
684
|
+
pulumi.log.warn("""vhost_whitelist is deprecated: use vhost_allowlist instead""")
|
|
685
|
+
|
|
674
686
|
return pulumi.get(self, "vhost_whitelist")
|
|
675
687
|
|
|
676
688
|
@vhost_whitelist.setter
|
|
@@ -1013,6 +1025,9 @@ class IntegrationMetric(pulumi.CustomResource):
|
|
|
1013
1025
|
"""
|
|
1014
1026
|
**Deprecated**
|
|
1015
1027
|
"""
|
|
1028
|
+
warnings.warn("""use queue_allowlist instead""", DeprecationWarning)
|
|
1029
|
+
pulumi.log.warn("""queue_whitelist is deprecated: use queue_allowlist instead""")
|
|
1030
|
+
|
|
1016
1031
|
return pulumi.get(self, "queue_whitelist")
|
|
1017
1032
|
|
|
1018
1033
|
@property
|
|
@@ -1053,5 +1068,8 @@ class IntegrationMetric(pulumi.CustomResource):
|
|
|
1053
1068
|
"""
|
|
1054
1069
|
**Deprecated**
|
|
1055
1070
|
"""
|
|
1071
|
+
warnings.warn("""use vhost_allowlist instead""", DeprecationWarning)
|
|
1072
|
+
pulumi.log.warn("""vhost_whitelist is deprecated: use vhost_allowlist instead""")
|
|
1073
|
+
|
|
1056
1074
|
return pulumi.get(self, "vhost_whitelist")
|
|
1057
1075
|
|
|
@@ -437,104 +437,6 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
437
437
|
vm_memory_high_watermark: Optional[pulumi.Input[float]] = None,
|
|
438
438
|
__props__=None):
|
|
439
439
|
"""
|
|
440
|
-
This resource allows you update RabbitMQ config.
|
|
441
|
-
|
|
442
|
-
Only available for dedicated subscription plans running ***RabbitMQ***.
|
|
443
|
-
|
|
444
|
-
## Example Usage
|
|
445
|
-
|
|
446
|
-
<details>
|
|
447
|
-
<summary>
|
|
448
|
-
<b>
|
|
449
|
-
<i>RabbitMQ configuration with default values</i>
|
|
450
|
-
</b>
|
|
451
|
-
</summary>
|
|
452
|
-
|
|
453
|
-
```python
|
|
454
|
-
import pulumi
|
|
455
|
-
import pulumi_cloudamqp as cloudamqp
|
|
456
|
-
|
|
457
|
-
rabbitmq_config = cloudamqp.RabbitConfiguration("rabbitmqConfig",
|
|
458
|
-
instance_id=cloudamqp_instance["instance"]["id"],
|
|
459
|
-
channel_max=0,
|
|
460
|
-
connection_max=-1,
|
|
461
|
-
consumer_timeout=7200000,
|
|
462
|
-
heartbeat=120,
|
|
463
|
-
log_exchange_level="error",
|
|
464
|
-
max_message_size=134217728,
|
|
465
|
-
queue_index_embed_msgs_below=4096,
|
|
466
|
-
vm_memory_high_watermark=0.81,
|
|
467
|
-
cluster_partition_handling="autoheal")
|
|
468
|
-
```
|
|
469
|
-
</details>
|
|
470
|
-
|
|
471
|
-
<details>
|
|
472
|
-
<summary>
|
|
473
|
-
<b>
|
|
474
|
-
<i>Change log level and combine `NodeActions` for RabbitMQ restart</i>
|
|
475
|
-
</b>
|
|
476
|
-
</summary>
|
|
477
|
-
|
|
478
|
-
```python
|
|
479
|
-
import pulumi
|
|
480
|
-
import pulumi_cloudamqp as cloudamqp
|
|
481
|
-
|
|
482
|
-
rabbitmq_config = cloudamqp.RabbitConfiguration("rabbitmqConfig",
|
|
483
|
-
instance_id=cloudamqp_instance["instance"]["id"],
|
|
484
|
-
channel_max=0,
|
|
485
|
-
connection_max=-1,
|
|
486
|
-
consumer_timeout=7200000,
|
|
487
|
-
heartbeat=120,
|
|
488
|
-
log_exchange_level="info",
|
|
489
|
-
max_message_size=134217728,
|
|
490
|
-
queue_index_embed_msgs_below=4096,
|
|
491
|
-
vm_memory_high_watermark=0.81,
|
|
492
|
-
cluster_partition_handling="autoheal")
|
|
493
|
-
list_nodes = cloudamqp.get_nodes(instance_id=cloudamqp_instance["instance"]["id"])
|
|
494
|
-
node_action = cloudamqp.NodeActions("nodeAction",
|
|
495
|
-
instance_id=cloudamqp_instance["instance"]["id"],
|
|
496
|
-
node_name=list_nodes.nodes[0].name,
|
|
497
|
-
action="restart",
|
|
498
|
-
opts=pulumi.ResourceOptions(depends_on=[rabbitmq_config]))
|
|
499
|
-
```
|
|
500
|
-
</details>
|
|
501
|
-
|
|
502
|
-
<details>
|
|
503
|
-
<summary>
|
|
504
|
-
<b>
|
|
505
|
-
<i>Only change log level for exchange. All other values will be read from the RabbitMQ configuration.</i>
|
|
506
|
-
</b>
|
|
507
|
-
</summary>
|
|
508
|
-
|
|
509
|
-
```python
|
|
510
|
-
import pulumi
|
|
511
|
-
import pulumi_cloudamqp as cloudamqp
|
|
512
|
-
|
|
513
|
-
rabbit_config = cloudamqp.RabbitConfiguration("rabbitConfig",
|
|
514
|
-
instance_id=cloudamqp_instance["instance"]["id"],
|
|
515
|
-
log_exchange_level="info")
|
|
516
|
-
```
|
|
517
|
-
</details>
|
|
518
|
-
## Argument threshold values
|
|
519
|
-
|
|
520
|
-
| Argument | Type | Default | Min | Max | Unit | Affect | Note |
|
|
521
|
-
|---|---|---|---|---|---|---|---|
|
|
522
|
-
| heartbeat | int | 120 | 0 | - | | Only effects new connections | |
|
|
523
|
-
| connection_max | int | -1 | 1 | - | | RabbitMQ restart required | -1 in the provider corresponds to INFINITY in the RabbitMQ config |
|
|
524
|
-
| channel_max | int | 128 | 0 | - | | Only effects new connections | |
|
|
525
|
-
| consumer_timeout | int | 7200000 | 10000 | 86400000 | milliseconds | Only effects new channels | -1 in the provider corresponds to false (disable) in the RabbitMQ config |
|
|
526
|
-
| vm_memory_high_watermark | float | 0.81 | 0.4 | 0.9 | | Applied immediately | |
|
|
527
|
-
| queue_index_embed_msgs_below | int | 4096 | 0 | 10485760 | bytes | Applied immediately for new queues, requires restart for existing queues | |
|
|
528
|
-
| max_message_size | int | 134217728 | 1 | 536870912 | bytes | Only effects new channels | |
|
|
529
|
-
| log_exchange_level | string | error | - | - | | RabbitMQ restart required | debug, info, warning, error, critical |
|
|
530
|
-
| cluster_partition_handling | string | see below | - | - | | Applied immediately | autoheal, pause_minority, ignore |
|
|
531
|
-
|
|
532
|
-
*Note: Recommended setting for cluster_partition_handling: `autoheal` for cluster with 1-2 nodes, `pause_minority` for cluster with 3 or more nodes. While `ignore` setting is not recommended.*
|
|
533
|
-
|
|
534
|
-
## Dependency
|
|
535
|
-
|
|
536
|
-
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
537
|
-
|
|
538
440
|
## Import
|
|
539
441
|
|
|
540
442
|
`cloudamqp_rabbitmq_configuration` can be imported using the CloudAMQP instance identifier.
|
|
@@ -567,104 +469,6 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
567
469
|
args: RabbitConfigurationArgs,
|
|
568
470
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
569
471
|
"""
|
|
570
|
-
This resource allows you update RabbitMQ config.
|
|
571
|
-
|
|
572
|
-
Only available for dedicated subscription plans running ***RabbitMQ***.
|
|
573
|
-
|
|
574
|
-
## Example Usage
|
|
575
|
-
|
|
576
|
-
<details>
|
|
577
|
-
<summary>
|
|
578
|
-
<b>
|
|
579
|
-
<i>RabbitMQ configuration with default values</i>
|
|
580
|
-
</b>
|
|
581
|
-
</summary>
|
|
582
|
-
|
|
583
|
-
```python
|
|
584
|
-
import pulumi
|
|
585
|
-
import pulumi_cloudamqp as cloudamqp
|
|
586
|
-
|
|
587
|
-
rabbitmq_config = cloudamqp.RabbitConfiguration("rabbitmqConfig",
|
|
588
|
-
instance_id=cloudamqp_instance["instance"]["id"],
|
|
589
|
-
channel_max=0,
|
|
590
|
-
connection_max=-1,
|
|
591
|
-
consumer_timeout=7200000,
|
|
592
|
-
heartbeat=120,
|
|
593
|
-
log_exchange_level="error",
|
|
594
|
-
max_message_size=134217728,
|
|
595
|
-
queue_index_embed_msgs_below=4096,
|
|
596
|
-
vm_memory_high_watermark=0.81,
|
|
597
|
-
cluster_partition_handling="autoheal")
|
|
598
|
-
```
|
|
599
|
-
</details>
|
|
600
|
-
|
|
601
|
-
<details>
|
|
602
|
-
<summary>
|
|
603
|
-
<b>
|
|
604
|
-
<i>Change log level and combine `NodeActions` for RabbitMQ restart</i>
|
|
605
|
-
</b>
|
|
606
|
-
</summary>
|
|
607
|
-
|
|
608
|
-
```python
|
|
609
|
-
import pulumi
|
|
610
|
-
import pulumi_cloudamqp as cloudamqp
|
|
611
|
-
|
|
612
|
-
rabbitmq_config = cloudamqp.RabbitConfiguration("rabbitmqConfig",
|
|
613
|
-
instance_id=cloudamqp_instance["instance"]["id"],
|
|
614
|
-
channel_max=0,
|
|
615
|
-
connection_max=-1,
|
|
616
|
-
consumer_timeout=7200000,
|
|
617
|
-
heartbeat=120,
|
|
618
|
-
log_exchange_level="info",
|
|
619
|
-
max_message_size=134217728,
|
|
620
|
-
queue_index_embed_msgs_below=4096,
|
|
621
|
-
vm_memory_high_watermark=0.81,
|
|
622
|
-
cluster_partition_handling="autoheal")
|
|
623
|
-
list_nodes = cloudamqp.get_nodes(instance_id=cloudamqp_instance["instance"]["id"])
|
|
624
|
-
node_action = cloudamqp.NodeActions("nodeAction",
|
|
625
|
-
instance_id=cloudamqp_instance["instance"]["id"],
|
|
626
|
-
node_name=list_nodes.nodes[0].name,
|
|
627
|
-
action="restart",
|
|
628
|
-
opts=pulumi.ResourceOptions(depends_on=[rabbitmq_config]))
|
|
629
|
-
```
|
|
630
|
-
</details>
|
|
631
|
-
|
|
632
|
-
<details>
|
|
633
|
-
<summary>
|
|
634
|
-
<b>
|
|
635
|
-
<i>Only change log level for exchange. All other values will be read from the RabbitMQ configuration.</i>
|
|
636
|
-
</b>
|
|
637
|
-
</summary>
|
|
638
|
-
|
|
639
|
-
```python
|
|
640
|
-
import pulumi
|
|
641
|
-
import pulumi_cloudamqp as cloudamqp
|
|
642
|
-
|
|
643
|
-
rabbit_config = cloudamqp.RabbitConfiguration("rabbitConfig",
|
|
644
|
-
instance_id=cloudamqp_instance["instance"]["id"],
|
|
645
|
-
log_exchange_level="info")
|
|
646
|
-
```
|
|
647
|
-
</details>
|
|
648
|
-
## Argument threshold values
|
|
649
|
-
|
|
650
|
-
| Argument | Type | Default | Min | Max | Unit | Affect | Note |
|
|
651
|
-
|---|---|---|---|---|---|---|---|
|
|
652
|
-
| heartbeat | int | 120 | 0 | - | | Only effects new connections | |
|
|
653
|
-
| connection_max | int | -1 | 1 | - | | RabbitMQ restart required | -1 in the provider corresponds to INFINITY in the RabbitMQ config |
|
|
654
|
-
| channel_max | int | 128 | 0 | - | | Only effects new connections | |
|
|
655
|
-
| consumer_timeout | int | 7200000 | 10000 | 86400000 | milliseconds | Only effects new channels | -1 in the provider corresponds to false (disable) in the RabbitMQ config |
|
|
656
|
-
| vm_memory_high_watermark | float | 0.81 | 0.4 | 0.9 | | Applied immediately | |
|
|
657
|
-
| queue_index_embed_msgs_below | int | 4096 | 0 | 10485760 | bytes | Applied immediately for new queues, requires restart for existing queues | |
|
|
658
|
-
| max_message_size | int | 134217728 | 1 | 536870912 | bytes | Only effects new channels | |
|
|
659
|
-
| log_exchange_level | string | error | - | - | | RabbitMQ restart required | debug, info, warning, error, critical |
|
|
660
|
-
| cluster_partition_handling | string | see below | - | - | | Applied immediately | autoheal, pause_minority, ignore |
|
|
661
|
-
|
|
662
|
-
*Note: Recommended setting for cluster_partition_handling: `autoheal` for cluster with 1-2 nodes, `pause_minority` for cluster with 3 or more nodes. While `ignore` setting is not recommended.*
|
|
663
|
-
|
|
664
|
-
## Dependency
|
|
665
|
-
|
|
666
|
-
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
667
|
-
|
|
668
472
|
## Import
|
|
669
473
|
|
|
670
474
|
`cloudamqp_rabbitmq_configuration` can be imported using the CloudAMQP instance identifier.
|
|
@@ -66,10 +66,11 @@ class UpgradeRabbitmq(pulumi.CustomResource):
|
|
|
66
66
|
instance_id: Optional[pulumi.Input[int]] = None,
|
|
67
67
|
__props__=None):
|
|
68
68
|
"""
|
|
69
|
-
This resource allows you to automatically upgrade to latest possible upgradable versions for RabbitMQ and Erlang. Depending on initial versions of RabbitMQ and Erlang of the CloudAMQP instance, multiple runs may be needed to get to latest versions. After completed upgrade, check data source `get_upgradable_versions` to see if newer versions is available. Then delete `UpgradeRabbitmq` and create it again to invoke the upgrade.
|
|
69
|
+
This resource allows you to automatically upgrade to the latest possible upgradable versions for RabbitMQ and Erlang. Depending on initial versions of RabbitMQ and Erlang of the CloudAMQP instance, multiple runs may be needed to get to the latest versions. After completed upgrade, check data source `get_upgradable_versions` to see if newer versions is available. Then delete `UpgradeRabbitmq` and create it again to invoke the upgrade.
|
|
70
70
|
|
|
71
71
|
> **Important Upgrade Information**
|
|
72
|
-
> - All
|
|
72
|
+
> - All single node upgrades will require some downtime since RabbitMQ needs a restart.
|
|
73
|
+
> - From RabbitMQ version 3.9, rolling upgrades between minor versions (e.g. 3.9 to 3.10), in a multi-node cluster are possible without downtime. This means that one node is upgraded at a time while the other nodes are still running. For versions older than 3.9, patch version upgrades (e.g. 3.8.x to 3.8.y) are possible without downtime in a multi-node cluster, but minor version upgrades will require downtime.
|
|
73
74
|
> - Auto delete queues (queues that are marked AD) will be deleted during the update.
|
|
74
75
|
> - Any custom plugins support has installed on your behalf will be disabled and you need to contact support@cloudamqp.com and ask to have them re-installed.
|
|
75
76
|
> - TLS 1.0 and 1.1 will not be supported after the update.
|
|
@@ -120,10 +121,11 @@ class UpgradeRabbitmq(pulumi.CustomResource):
|
|
|
120
121
|
args: UpgradeRabbitmqArgs,
|
|
121
122
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
122
123
|
"""
|
|
123
|
-
This resource allows you to automatically upgrade to latest possible upgradable versions for RabbitMQ and Erlang. Depending on initial versions of RabbitMQ and Erlang of the CloudAMQP instance, multiple runs may be needed to get to latest versions. After completed upgrade, check data source `get_upgradable_versions` to see if newer versions is available. Then delete `UpgradeRabbitmq` and create it again to invoke the upgrade.
|
|
124
|
+
This resource allows you to automatically upgrade to the latest possible upgradable versions for RabbitMQ and Erlang. Depending on initial versions of RabbitMQ and Erlang of the CloudAMQP instance, multiple runs may be needed to get to the latest versions. After completed upgrade, check data source `get_upgradable_versions` to see if newer versions is available. Then delete `UpgradeRabbitmq` and create it again to invoke the upgrade.
|
|
124
125
|
|
|
125
126
|
> **Important Upgrade Information**
|
|
126
|
-
> - All
|
|
127
|
+
> - All single node upgrades will require some downtime since RabbitMQ needs a restart.
|
|
128
|
+
> - From RabbitMQ version 3.9, rolling upgrades between minor versions (e.g. 3.9 to 3.10), in a multi-node cluster are possible without downtime. This means that one node is upgraded at a time while the other nodes are still running. For versions older than 3.9, patch version upgrades (e.g. 3.8.x to 3.8.y) are possible without downtime in a multi-node cluster, but minor version upgrades will require downtime.
|
|
127
129
|
> - Auto delete queues (queues that are marked AD) will be deleted during the update.
|
|
128
130
|
> - Any custom plugins support has installed on your behalf will be disabled and you need to contact support@cloudamqp.com and ask to have them re-installed.
|
|
129
131
|
> - TLS 1.0 and 1.1 will not be supported after the update.
|
|
@@ -8,27 +8,7 @@ from setuptools.command.install import install
|
|
|
8
8
|
from subprocess import check_call
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
VERSION = "3.16.
|
|
12
|
-
PLUGIN_VERSION = "3.16.0-alpha.1694194060+3062209a"
|
|
13
|
-
|
|
14
|
-
class InstallPluginCommand(install):
|
|
15
|
-
def run(self):
|
|
16
|
-
install.run(self)
|
|
17
|
-
try:
|
|
18
|
-
check_call(['pulumi', 'plugin', 'install', 'resource', 'cloudamqp', PLUGIN_VERSION])
|
|
19
|
-
except OSError as error:
|
|
20
|
-
if error.errno == errno.ENOENT:
|
|
21
|
-
print(f"""
|
|
22
|
-
There was an error installing the cloudamqp resource provider plugin.
|
|
23
|
-
It looks like `pulumi` is not installed on your system.
|
|
24
|
-
Please visit https://pulumi.com/ to install the Pulumi CLI.
|
|
25
|
-
You may try manually installing the plugin by running
|
|
26
|
-
`pulumi plugin install resource cloudamqp {PLUGIN_VERSION}`
|
|
27
|
-
""")
|
|
28
|
-
else:
|
|
29
|
-
raise
|
|
30
|
-
|
|
31
|
-
|
|
11
|
+
VERSION = "3.16.0a1694755387"
|
|
32
12
|
def readme():
|
|
33
13
|
try:
|
|
34
14
|
with open('README.md', encoding='utf-8') as f:
|
|
@@ -43,9 +23,6 @@ setup(name='pulumi_cloudamqp',
|
|
|
43
23
|
description="A Pulumi package for creating and managing CloudAMQP resources.",
|
|
44
24
|
long_description=readme(),
|
|
45
25
|
long_description_content_type='text/markdown',
|
|
46
|
-
cmdclass={
|
|
47
|
-
'install': InstallPluginCommand,
|
|
48
|
-
},
|
|
49
26
|
keywords='pulumi cloudamqp',
|
|
50
27
|
url='https://pulumi.io',
|
|
51
28
|
project_urls={
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/plugin.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
{pulumi_cloudamqp-3.16.0a1694194060 → pulumi_cloudamqp-3.16.0a1694755387}/pulumi_cloudamqp/vpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|