pulumi-cloudamqp 3.17.4__py3-none-any.whl → 3.17.6__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.
- pulumi_cloudamqp/alarm.py +116 -16
- pulumi_cloudamqp/custom_domain.py +4 -2
- pulumi_cloudamqp/extra_disk_size.py +34 -8
- pulumi_cloudamqp/get_account.py +0 -66
- pulumi_cloudamqp/get_account_vpcs.py +2 -0
- pulumi_cloudamqp/get_alarm.py +4 -2
- pulumi_cloudamqp/get_credentials.py +4 -2
- pulumi_cloudamqp/get_instance.py +0 -42
- pulumi_cloudamqp/get_nodes.py +4 -2
- pulumi_cloudamqp/get_notification.py +4 -2
- pulumi_cloudamqp/get_plugins.py +4 -2
- pulumi_cloudamqp/get_plugins_community.py +4 -2
- pulumi_cloudamqp/get_upgradable_versions.py +4 -2
- pulumi_cloudamqp/get_vpc_gcp_info.py +6 -4
- pulumi_cloudamqp/get_vpc_info.py +6 -4
- pulumi_cloudamqp/instance.py +40 -100
- pulumi_cloudamqp/integration_aws_eventbridge.py +6 -2
- pulumi_cloudamqp/integration_log.py +406 -36
- pulumi_cloudamqp/node_actions.py +38 -36
- pulumi_cloudamqp/notification.py +56 -40
- pulumi_cloudamqp/plugin_community.py +2 -2
- pulumi_cloudamqp/privatelink_aws.py +18 -34
- pulumi_cloudamqp/privatelink_azure.py +18 -34
- pulumi_cloudamqp/provider.py +0 -5
- pulumi_cloudamqp/pulumi-plugin.json +2 -1
- pulumi_cloudamqp/upgrade_rabbitmq.py +16 -10
- pulumi_cloudamqp/vpc.py +12 -6
- pulumi_cloudamqp/vpc_connect.py +32 -54
- pulumi_cloudamqp/vpc_gcp_peering.py +202 -30
- pulumi_cloudamqp/webhook.py +6 -4
- {pulumi_cloudamqp-3.17.4.dist-info → pulumi_cloudamqp-3.17.6.dist-info}/METADATA +1 -1
- pulumi_cloudamqp-3.17.6.dist-info/RECORD +48 -0
- {pulumi_cloudamqp-3.17.4.dist-info → pulumi_cloudamqp-3.17.6.dist-info}/WHEEL +1 -1
- pulumi_cloudamqp-3.17.4.dist-info/RECORD +0 -48
- {pulumi_cloudamqp-3.17.4.dist-info → pulumi_cloudamqp-3.17.6.dist-info}/top_level.txt +0 -0
pulumi_cloudamqp/notification.py
CHANGED
|
@@ -268,10 +268,11 @@ class Notification(pulumi.CustomResource):
|
|
|
268
268
|
import pulumi
|
|
269
269
|
import pulumi_cloudamqp as cloudamqp
|
|
270
270
|
|
|
271
|
-
email_recipient = cloudamqp.Notification("
|
|
272
|
-
instance_id=
|
|
271
|
+
email_recipient = cloudamqp.Notification("email_recipient",
|
|
272
|
+
instance_id=instance["id"],
|
|
273
273
|
type="email",
|
|
274
|
-
value="alarm@example.com"
|
|
274
|
+
value="alarm@example.com",
|
|
275
|
+
name="alarm")
|
|
275
276
|
```
|
|
276
277
|
|
|
277
278
|
</details>
|
|
@@ -285,10 +286,11 @@ class Notification(pulumi.CustomResource):
|
|
|
285
286
|
import pulumi
|
|
286
287
|
import pulumi_cloudamqp as cloudamqp
|
|
287
288
|
|
|
288
|
-
opsgenie_recipient = cloudamqp.Notification("
|
|
289
|
-
instance_id=
|
|
289
|
+
opsgenie_recipient = cloudamqp.Notification("opsgenie_recipient",
|
|
290
|
+
instance_id=instance["id"],
|
|
290
291
|
type="opsgenie",
|
|
291
292
|
value="<api-key>",
|
|
293
|
+
name="OpsGenie",
|
|
292
294
|
responders=[
|
|
293
295
|
cloudamqp.NotificationResponderArgs(
|
|
294
296
|
type="team",
|
|
@@ -312,10 +314,11 @@ class Notification(pulumi.CustomResource):
|
|
|
312
314
|
import pulumi
|
|
313
315
|
import pulumi_cloudamqp as cloudamqp
|
|
314
316
|
|
|
315
|
-
pagerduty_recipient = cloudamqp.Notification("
|
|
316
|
-
instance_id=
|
|
317
|
+
pagerduty_recipient = cloudamqp.Notification("pagerduty_recipient",
|
|
318
|
+
instance_id=instance["id"],
|
|
317
319
|
type="pagerduty",
|
|
318
320
|
value="<integration-key>",
|
|
321
|
+
name="PagerDuty",
|
|
319
322
|
options={
|
|
320
323
|
"dedupkey": "DEDUPKEY",
|
|
321
324
|
})
|
|
@@ -332,10 +335,11 @@ class Notification(pulumi.CustomResource):
|
|
|
332
335
|
import pulumi
|
|
333
336
|
import pulumi_cloudamqp as cloudamqp
|
|
334
337
|
|
|
335
|
-
signl4_recipient = cloudamqp.Notification("
|
|
336
|
-
instance_id=
|
|
338
|
+
signl4_recipient = cloudamqp.Notification("signl4_recipient",
|
|
339
|
+
instance_id=instance["id"],
|
|
337
340
|
type="signl4",
|
|
338
|
-
value="<team-secret>"
|
|
341
|
+
value="<team-secret>",
|
|
342
|
+
name="Signl4")
|
|
339
343
|
```
|
|
340
344
|
|
|
341
345
|
</details>
|
|
@@ -349,10 +353,11 @@ class Notification(pulumi.CustomResource):
|
|
|
349
353
|
import pulumi
|
|
350
354
|
import pulumi_cloudamqp as cloudamqp
|
|
351
355
|
|
|
352
|
-
teams_recipient = cloudamqp.Notification("
|
|
353
|
-
instance_id=
|
|
356
|
+
teams_recipient = cloudamqp.Notification("teams_recipient",
|
|
357
|
+
instance_id=instance["id"],
|
|
354
358
|
type="teams",
|
|
355
|
-
value="<teams-webhook-url>"
|
|
359
|
+
value="<teams-webhook-url>",
|
|
360
|
+
name="Teams")
|
|
356
361
|
```
|
|
357
362
|
|
|
358
363
|
</details>
|
|
@@ -366,10 +371,11 @@ class Notification(pulumi.CustomResource):
|
|
|
366
371
|
import pulumi
|
|
367
372
|
import pulumi_cloudamqp as cloudamqp
|
|
368
373
|
|
|
369
|
-
victorops_recipient = cloudamqp.Notification("
|
|
370
|
-
instance_id=
|
|
374
|
+
victorops_recipient = cloudamqp.Notification("victorops_recipient",
|
|
375
|
+
instance_id=instance["id"],
|
|
371
376
|
type="victorops",
|
|
372
377
|
value="<integration-key>",
|
|
378
|
+
name="Victorops",
|
|
373
379
|
options={
|
|
374
380
|
"rk": "ROUTINGKEY",
|
|
375
381
|
})
|
|
@@ -386,13 +392,15 @@ class Notification(pulumi.CustomResource):
|
|
|
386
392
|
import pulumi
|
|
387
393
|
import pulumi_cloudamqp as cloudamqp
|
|
388
394
|
|
|
389
|
-
webhook_recipient = cloudamqp.Notification("
|
|
390
|
-
instance_id=
|
|
395
|
+
webhook_recipient = cloudamqp.Notification("webhook_recipient",
|
|
396
|
+
instance_id=instance["id"],
|
|
391
397
|
type="webhook",
|
|
392
|
-
value="<webhook-url>"
|
|
398
|
+
value="<webhook-url>",
|
|
399
|
+
name="Webhook")
|
|
393
400
|
```
|
|
394
401
|
|
|
395
402
|
</details>
|
|
403
|
+
|
|
396
404
|
## Notification Type reference
|
|
397
405
|
|
|
398
406
|
Valid options for notification type.
|
|
@@ -422,9 +430,9 @@ class Notification(pulumi.CustomResource):
|
|
|
422
430
|
|
|
423
431
|
`cloudamqp_notification` can be imported using CloudAMQP internal identifier of a recipient together
|
|
424
432
|
|
|
425
|
-
|
|
433
|
+
(CSV separated) with the instance identifier. To retrieve the identifier of a recipient, use
|
|
426
434
|
|
|
427
|
-
|
|
435
|
+
[CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-notification-recipients)
|
|
428
436
|
|
|
429
437
|
```sh
|
|
430
438
|
$ pulumi import cloudamqp:index/notification:Notification recipient <id>,<instance_id>`
|
|
@@ -468,10 +476,11 @@ class Notification(pulumi.CustomResource):
|
|
|
468
476
|
import pulumi
|
|
469
477
|
import pulumi_cloudamqp as cloudamqp
|
|
470
478
|
|
|
471
|
-
email_recipient = cloudamqp.Notification("
|
|
472
|
-
instance_id=
|
|
479
|
+
email_recipient = cloudamqp.Notification("email_recipient",
|
|
480
|
+
instance_id=instance["id"],
|
|
473
481
|
type="email",
|
|
474
|
-
value="alarm@example.com"
|
|
482
|
+
value="alarm@example.com",
|
|
483
|
+
name="alarm")
|
|
475
484
|
```
|
|
476
485
|
|
|
477
486
|
</details>
|
|
@@ -485,10 +494,11 @@ class Notification(pulumi.CustomResource):
|
|
|
485
494
|
import pulumi
|
|
486
495
|
import pulumi_cloudamqp as cloudamqp
|
|
487
496
|
|
|
488
|
-
opsgenie_recipient = cloudamqp.Notification("
|
|
489
|
-
instance_id=
|
|
497
|
+
opsgenie_recipient = cloudamqp.Notification("opsgenie_recipient",
|
|
498
|
+
instance_id=instance["id"],
|
|
490
499
|
type="opsgenie",
|
|
491
500
|
value="<api-key>",
|
|
501
|
+
name="OpsGenie",
|
|
492
502
|
responders=[
|
|
493
503
|
cloudamqp.NotificationResponderArgs(
|
|
494
504
|
type="team",
|
|
@@ -512,10 +522,11 @@ class Notification(pulumi.CustomResource):
|
|
|
512
522
|
import pulumi
|
|
513
523
|
import pulumi_cloudamqp as cloudamqp
|
|
514
524
|
|
|
515
|
-
pagerduty_recipient = cloudamqp.Notification("
|
|
516
|
-
instance_id=
|
|
525
|
+
pagerduty_recipient = cloudamqp.Notification("pagerduty_recipient",
|
|
526
|
+
instance_id=instance["id"],
|
|
517
527
|
type="pagerduty",
|
|
518
528
|
value="<integration-key>",
|
|
529
|
+
name="PagerDuty",
|
|
519
530
|
options={
|
|
520
531
|
"dedupkey": "DEDUPKEY",
|
|
521
532
|
})
|
|
@@ -532,10 +543,11 @@ class Notification(pulumi.CustomResource):
|
|
|
532
543
|
import pulumi
|
|
533
544
|
import pulumi_cloudamqp as cloudamqp
|
|
534
545
|
|
|
535
|
-
signl4_recipient = cloudamqp.Notification("
|
|
536
|
-
instance_id=
|
|
546
|
+
signl4_recipient = cloudamqp.Notification("signl4_recipient",
|
|
547
|
+
instance_id=instance["id"],
|
|
537
548
|
type="signl4",
|
|
538
|
-
value="<team-secret>"
|
|
549
|
+
value="<team-secret>",
|
|
550
|
+
name="Signl4")
|
|
539
551
|
```
|
|
540
552
|
|
|
541
553
|
</details>
|
|
@@ -549,10 +561,11 @@ class Notification(pulumi.CustomResource):
|
|
|
549
561
|
import pulumi
|
|
550
562
|
import pulumi_cloudamqp as cloudamqp
|
|
551
563
|
|
|
552
|
-
teams_recipient = cloudamqp.Notification("
|
|
553
|
-
instance_id=
|
|
564
|
+
teams_recipient = cloudamqp.Notification("teams_recipient",
|
|
565
|
+
instance_id=instance["id"],
|
|
554
566
|
type="teams",
|
|
555
|
-
value="<teams-webhook-url>"
|
|
567
|
+
value="<teams-webhook-url>",
|
|
568
|
+
name="Teams")
|
|
556
569
|
```
|
|
557
570
|
|
|
558
571
|
</details>
|
|
@@ -566,10 +579,11 @@ class Notification(pulumi.CustomResource):
|
|
|
566
579
|
import pulumi
|
|
567
580
|
import pulumi_cloudamqp as cloudamqp
|
|
568
581
|
|
|
569
|
-
victorops_recipient = cloudamqp.Notification("
|
|
570
|
-
instance_id=
|
|
582
|
+
victorops_recipient = cloudamqp.Notification("victorops_recipient",
|
|
583
|
+
instance_id=instance["id"],
|
|
571
584
|
type="victorops",
|
|
572
585
|
value="<integration-key>",
|
|
586
|
+
name="Victorops",
|
|
573
587
|
options={
|
|
574
588
|
"rk": "ROUTINGKEY",
|
|
575
589
|
})
|
|
@@ -586,13 +600,15 @@ class Notification(pulumi.CustomResource):
|
|
|
586
600
|
import pulumi
|
|
587
601
|
import pulumi_cloudamqp as cloudamqp
|
|
588
602
|
|
|
589
|
-
webhook_recipient = cloudamqp.Notification("
|
|
590
|
-
instance_id=
|
|
603
|
+
webhook_recipient = cloudamqp.Notification("webhook_recipient",
|
|
604
|
+
instance_id=instance["id"],
|
|
591
605
|
type="webhook",
|
|
592
|
-
value="<webhook-url>"
|
|
606
|
+
value="<webhook-url>",
|
|
607
|
+
name="Webhook")
|
|
593
608
|
```
|
|
594
609
|
|
|
595
610
|
</details>
|
|
611
|
+
|
|
596
612
|
## Notification Type reference
|
|
597
613
|
|
|
598
614
|
Valid options for notification type.
|
|
@@ -622,9 +638,9 @@ class Notification(pulumi.CustomResource):
|
|
|
622
638
|
|
|
623
639
|
`cloudamqp_notification` can be imported using CloudAMQP internal identifier of a recipient together
|
|
624
640
|
|
|
625
|
-
|
|
641
|
+
(CSV separated) with the instance identifier. To retrieve the identifier of a recipient, use
|
|
626
642
|
|
|
627
|
-
|
|
643
|
+
[CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-notification-recipients)
|
|
628
644
|
|
|
629
645
|
```sh
|
|
630
646
|
$ pulumi import cloudamqp:index/notification:Notification recipient <id>,<instance_id>`
|
|
@@ -233,7 +233,7 @@ class PluginCommunity(pulumi.CustomResource):
|
|
|
233
233
|
|
|
234
234
|
`cloudamqp_plugin` can be imported using the name argument of the resource together with CloudAMQP
|
|
235
235
|
|
|
236
|
-
|
|
236
|
+
instance identifier. The name and identifier are CSV separated, see example below.
|
|
237
237
|
|
|
238
238
|
```sh
|
|
239
239
|
$ pulumi import cloudamqp:index/pluginCommunity:PluginCommunity <resource_name> <plugin_name>,<instance_id>`
|
|
@@ -258,7 +258,7 @@ class PluginCommunity(pulumi.CustomResource):
|
|
|
258
258
|
|
|
259
259
|
`cloudamqp_plugin` can be imported using the name argument of the resource together with CloudAMQP
|
|
260
260
|
|
|
261
|
-
|
|
261
|
+
instance identifier. The name and identifier are CSV separated, see example below.
|
|
262
262
|
|
|
263
263
|
```sh
|
|
264
264
|
$ pulumi import cloudamqp:index/pluginCommunity:PluginCommunity <resource_name> <plugin_name>,<instance_id>`
|
|
@@ -249,21 +249,6 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
249
249
|
<i>Default PrivateLink firewall rule</i>
|
|
250
250
|
</summary>
|
|
251
251
|
|
|
252
|
-
```python
|
|
253
|
-
import pulumi
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
</details>
|
|
257
|
-
|
|
258
|
-
Pricing is available at [cloudamqp.com](https://www.cloudamqp.com/plans.html)
|
|
259
|
-
where you can also find more information about
|
|
260
|
-
[CloudAMQP PrivateLink](https://www.cloudamqp.com/docs/cloudamqp-privatelink.html#aws-privatelink).
|
|
261
|
-
|
|
262
|
-
Only available for dedicated subscription plans.
|
|
263
|
-
|
|
264
|
-
> **Warning:** This resource considered deprecated and will be removed in next major version (v2.0).
|
|
265
|
-
Recommended to start using the new resource`VpcConnect`.
|
|
266
|
-
|
|
267
252
|
## Example Usage
|
|
268
253
|
|
|
269
254
|
<details>
|
|
@@ -278,6 +263,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
278
263
|
import pulumi_cloudamqp as cloudamqp
|
|
279
264
|
|
|
280
265
|
instance = cloudamqp.Instance("instance",
|
|
266
|
+
name="Instance 01",
|
|
281
267
|
plan="bunny-1",
|
|
282
268
|
region="amazon-web-services::us-west-1",
|
|
283
269
|
tags=[])
|
|
@@ -300,10 +286,12 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
300
286
|
import pulumi_cloudamqp as cloudamqp
|
|
301
287
|
|
|
302
288
|
vpc = cloudamqp.Vpc("vpc",
|
|
289
|
+
name="Standalone VPC",
|
|
303
290
|
region="amazon-web-services::us-west-1",
|
|
304
291
|
subnet="10.56.72.0/24",
|
|
305
292
|
tags=[])
|
|
306
293
|
instance = cloudamqp.Instance("instance",
|
|
294
|
+
name="Instance 01",
|
|
307
295
|
plan="bunny-1",
|
|
308
296
|
region="amazon-web-services::us-west-1",
|
|
309
297
|
tags=[],
|
|
@@ -315,6 +303,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
315
303
|
```
|
|
316
304
|
|
|
317
305
|
</details>
|
|
306
|
+
|
|
318
307
|
### With Additional Firewall Rules
|
|
319
308
|
|
|
320
309
|
<details>
|
|
@@ -329,10 +318,12 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
329
318
|
import pulumi_cloudamqp as cloudamqp
|
|
330
319
|
|
|
331
320
|
vpc = cloudamqp.Vpc("vpc",
|
|
321
|
+
name="Standalone VPC",
|
|
332
322
|
region="amazon-web-services::us-west-1",
|
|
333
323
|
subnet="10.56.72.0/24",
|
|
334
324
|
tags=[])
|
|
335
325
|
instance = cloudamqp.Instance("instance",
|
|
326
|
+
name="Instance 01",
|
|
336
327
|
plan="bunny-1",
|
|
337
328
|
region="amazon-web-services::us-west-1",
|
|
338
329
|
tags=[],
|
|
@@ -341,7 +332,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
341
332
|
privatelink = cloudamqp.PrivatelinkAws("privatelink",
|
|
342
333
|
instance_id=instance.id,
|
|
343
334
|
allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
|
|
344
|
-
firewall_settings = cloudamqp.SecurityFirewall("
|
|
335
|
+
firewall_settings = cloudamqp.SecurityFirewall("firewall_settings",
|
|
345
336
|
instance_id=instance.id,
|
|
346
337
|
rules=[
|
|
347
338
|
cloudamqp.SecurityFirewallRuleArgs(
|
|
@@ -367,6 +358,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
367
358
|
```
|
|
368
359
|
|
|
369
360
|
</details>
|
|
361
|
+
|
|
370
362
|
## Depedency
|
|
371
363
|
|
|
372
364
|
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
@@ -388,7 +380,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
388
380
|
$ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
|
|
389
381
|
```
|
|
390
382
|
|
|
391
|
-
|
|
383
|
+
The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
|
|
392
384
|
|
|
393
385
|
:param str resource_name: The name of the resource.
|
|
394
386
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -420,21 +412,6 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
420
412
|
<i>Default PrivateLink firewall rule</i>
|
|
421
413
|
</summary>
|
|
422
414
|
|
|
423
|
-
```python
|
|
424
|
-
import pulumi
|
|
425
|
-
```
|
|
426
|
-
|
|
427
|
-
</details>
|
|
428
|
-
|
|
429
|
-
Pricing is available at [cloudamqp.com](https://www.cloudamqp.com/plans.html)
|
|
430
|
-
where you can also find more information about
|
|
431
|
-
[CloudAMQP PrivateLink](https://www.cloudamqp.com/docs/cloudamqp-privatelink.html#aws-privatelink).
|
|
432
|
-
|
|
433
|
-
Only available for dedicated subscription plans.
|
|
434
|
-
|
|
435
|
-
> **Warning:** This resource considered deprecated and will be removed in next major version (v2.0).
|
|
436
|
-
Recommended to start using the new resource`VpcConnect`.
|
|
437
|
-
|
|
438
415
|
## Example Usage
|
|
439
416
|
|
|
440
417
|
<details>
|
|
@@ -449,6 +426,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
449
426
|
import pulumi_cloudamqp as cloudamqp
|
|
450
427
|
|
|
451
428
|
instance = cloudamqp.Instance("instance",
|
|
429
|
+
name="Instance 01",
|
|
452
430
|
plan="bunny-1",
|
|
453
431
|
region="amazon-web-services::us-west-1",
|
|
454
432
|
tags=[])
|
|
@@ -471,10 +449,12 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
471
449
|
import pulumi_cloudamqp as cloudamqp
|
|
472
450
|
|
|
473
451
|
vpc = cloudamqp.Vpc("vpc",
|
|
452
|
+
name="Standalone VPC",
|
|
474
453
|
region="amazon-web-services::us-west-1",
|
|
475
454
|
subnet="10.56.72.0/24",
|
|
476
455
|
tags=[])
|
|
477
456
|
instance = cloudamqp.Instance("instance",
|
|
457
|
+
name="Instance 01",
|
|
478
458
|
plan="bunny-1",
|
|
479
459
|
region="amazon-web-services::us-west-1",
|
|
480
460
|
tags=[],
|
|
@@ -486,6 +466,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
486
466
|
```
|
|
487
467
|
|
|
488
468
|
</details>
|
|
469
|
+
|
|
489
470
|
### With Additional Firewall Rules
|
|
490
471
|
|
|
491
472
|
<details>
|
|
@@ -500,10 +481,12 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
500
481
|
import pulumi_cloudamqp as cloudamqp
|
|
501
482
|
|
|
502
483
|
vpc = cloudamqp.Vpc("vpc",
|
|
484
|
+
name="Standalone VPC",
|
|
503
485
|
region="amazon-web-services::us-west-1",
|
|
504
486
|
subnet="10.56.72.0/24",
|
|
505
487
|
tags=[])
|
|
506
488
|
instance = cloudamqp.Instance("instance",
|
|
489
|
+
name="Instance 01",
|
|
507
490
|
plan="bunny-1",
|
|
508
491
|
region="amazon-web-services::us-west-1",
|
|
509
492
|
tags=[],
|
|
@@ -512,7 +495,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
512
495
|
privatelink = cloudamqp.PrivatelinkAws("privatelink",
|
|
513
496
|
instance_id=instance.id,
|
|
514
497
|
allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
|
|
515
|
-
firewall_settings = cloudamqp.SecurityFirewall("
|
|
498
|
+
firewall_settings = cloudamqp.SecurityFirewall("firewall_settings",
|
|
516
499
|
instance_id=instance.id,
|
|
517
500
|
rules=[
|
|
518
501
|
cloudamqp.SecurityFirewallRuleArgs(
|
|
@@ -538,6 +521,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
538
521
|
```
|
|
539
522
|
|
|
540
523
|
</details>
|
|
524
|
+
|
|
541
525
|
## Depedency
|
|
542
526
|
|
|
543
527
|
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
@@ -559,7 +543,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
559
543
|
$ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
|
|
560
544
|
```
|
|
561
545
|
|
|
562
|
-
|
|
546
|
+
The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
|
|
563
547
|
|
|
564
548
|
:param str resource_name: The name of the resource.
|
|
565
549
|
:param PrivatelinkAwsArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -246,21 +246,6 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
246
246
|
<i>Default PrivateLink firewall rule</i>
|
|
247
247
|
</summary>
|
|
248
248
|
|
|
249
|
-
```python
|
|
250
|
-
import pulumi
|
|
251
|
-
```
|
|
252
|
-
|
|
253
|
-
</details>
|
|
254
|
-
|
|
255
|
-
Pricing is available at [cloudamqp.com](https://www.cloudamqp.com/plans.html) where you can also
|
|
256
|
-
find more information about
|
|
257
|
-
[CloudAMQP PrivateLink](https://www.cloudamqp.com/docs/cloudamqp-privatelink.html#azure-privatelink).
|
|
258
|
-
|
|
259
|
-
Only available for dedicated subscription plans.
|
|
260
|
-
|
|
261
|
-
> **Warning:** This resource considered deprecated and will be removed in next major version (v2.0).
|
|
262
|
-
Recommended to start using the new resource`VpcConnect`.
|
|
263
|
-
|
|
264
249
|
## Example Usage
|
|
265
250
|
|
|
266
251
|
<details>
|
|
@@ -275,6 +260,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
275
260
|
import pulumi_cloudamqp as cloudamqp
|
|
276
261
|
|
|
277
262
|
instance = cloudamqp.Instance("instance",
|
|
263
|
+
name="Instance 01",
|
|
278
264
|
plan="bunny-1",
|
|
279
265
|
region="azure-arm::westus",
|
|
280
266
|
tags=[])
|
|
@@ -296,10 +282,12 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
296
282
|
import pulumi_cloudamqp as cloudamqp
|
|
297
283
|
|
|
298
284
|
vpc = cloudamqp.Vpc("vpc",
|
|
285
|
+
name="Standalone VPC",
|
|
299
286
|
region="azure-arm::westus",
|
|
300
287
|
subnet="10.56.72.0/24",
|
|
301
288
|
tags=[])
|
|
302
289
|
instance = cloudamqp.Instance("instance",
|
|
290
|
+
name="Instance 01",
|
|
303
291
|
plan="bunny-1",
|
|
304
292
|
region="azure-arm::westus",
|
|
305
293
|
tags=[],
|
|
@@ -311,6 +299,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
311
299
|
```
|
|
312
300
|
|
|
313
301
|
</details>
|
|
302
|
+
|
|
314
303
|
### With Additional Firewall Rules
|
|
315
304
|
|
|
316
305
|
<details>
|
|
@@ -325,10 +314,12 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
325
314
|
import pulumi_cloudamqp as cloudamqp
|
|
326
315
|
|
|
327
316
|
vpc = cloudamqp.Vpc("vpc",
|
|
317
|
+
name="Standalone VPC",
|
|
328
318
|
region="azure-arm::westus",
|
|
329
319
|
subnet="10.56.72.0/24",
|
|
330
320
|
tags=[])
|
|
331
321
|
instance = cloudamqp.Instance("instance",
|
|
322
|
+
name="Instance 01",
|
|
332
323
|
plan="bunny-1",
|
|
333
324
|
region="azure-arm::westus",
|
|
334
325
|
tags=[],
|
|
@@ -337,7 +328,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
337
328
|
privatelink = cloudamqp.PrivatelinkAzure("privatelink",
|
|
338
329
|
instance_id=instance.id,
|
|
339
330
|
approved_subscriptions=["XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"])
|
|
340
|
-
firewall_settings = cloudamqp.SecurityFirewall("
|
|
331
|
+
firewall_settings = cloudamqp.SecurityFirewall("firewall_settings",
|
|
341
332
|
instance_id=instance.id,
|
|
342
333
|
rules=[
|
|
343
334
|
cloudamqp.SecurityFirewallRuleArgs(
|
|
@@ -363,6 +354,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
363
354
|
```
|
|
364
355
|
|
|
365
356
|
</details>
|
|
357
|
+
|
|
366
358
|
## Depedency
|
|
367
359
|
|
|
368
360
|
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
@@ -384,7 +376,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
384
376
|
$ pulumi import cloudamqp:index/privatelinkAzure:PrivatelinkAzure privatelink <id>`
|
|
385
377
|
```
|
|
386
378
|
|
|
387
|
-
|
|
379
|
+
The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
|
|
388
380
|
|
|
389
381
|
:param str resource_name: The name of the resource.
|
|
390
382
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -416,21 +408,6 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
416
408
|
<i>Default PrivateLink firewall rule</i>
|
|
417
409
|
</summary>
|
|
418
410
|
|
|
419
|
-
```python
|
|
420
|
-
import pulumi
|
|
421
|
-
```
|
|
422
|
-
|
|
423
|
-
</details>
|
|
424
|
-
|
|
425
|
-
Pricing is available at [cloudamqp.com](https://www.cloudamqp.com/plans.html) where you can also
|
|
426
|
-
find more information about
|
|
427
|
-
[CloudAMQP PrivateLink](https://www.cloudamqp.com/docs/cloudamqp-privatelink.html#azure-privatelink).
|
|
428
|
-
|
|
429
|
-
Only available for dedicated subscription plans.
|
|
430
|
-
|
|
431
|
-
> **Warning:** This resource considered deprecated and will be removed in next major version (v2.0).
|
|
432
|
-
Recommended to start using the new resource`VpcConnect`.
|
|
433
|
-
|
|
434
411
|
## Example Usage
|
|
435
412
|
|
|
436
413
|
<details>
|
|
@@ -445,6 +422,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
445
422
|
import pulumi_cloudamqp as cloudamqp
|
|
446
423
|
|
|
447
424
|
instance = cloudamqp.Instance("instance",
|
|
425
|
+
name="Instance 01",
|
|
448
426
|
plan="bunny-1",
|
|
449
427
|
region="azure-arm::westus",
|
|
450
428
|
tags=[])
|
|
@@ -466,10 +444,12 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
466
444
|
import pulumi_cloudamqp as cloudamqp
|
|
467
445
|
|
|
468
446
|
vpc = cloudamqp.Vpc("vpc",
|
|
447
|
+
name="Standalone VPC",
|
|
469
448
|
region="azure-arm::westus",
|
|
470
449
|
subnet="10.56.72.0/24",
|
|
471
450
|
tags=[])
|
|
472
451
|
instance = cloudamqp.Instance("instance",
|
|
452
|
+
name="Instance 01",
|
|
473
453
|
plan="bunny-1",
|
|
474
454
|
region="azure-arm::westus",
|
|
475
455
|
tags=[],
|
|
@@ -481,6 +461,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
481
461
|
```
|
|
482
462
|
|
|
483
463
|
</details>
|
|
464
|
+
|
|
484
465
|
### With Additional Firewall Rules
|
|
485
466
|
|
|
486
467
|
<details>
|
|
@@ -495,10 +476,12 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
495
476
|
import pulumi_cloudamqp as cloudamqp
|
|
496
477
|
|
|
497
478
|
vpc = cloudamqp.Vpc("vpc",
|
|
479
|
+
name="Standalone VPC",
|
|
498
480
|
region="azure-arm::westus",
|
|
499
481
|
subnet="10.56.72.0/24",
|
|
500
482
|
tags=[])
|
|
501
483
|
instance = cloudamqp.Instance("instance",
|
|
484
|
+
name="Instance 01",
|
|
502
485
|
plan="bunny-1",
|
|
503
486
|
region="azure-arm::westus",
|
|
504
487
|
tags=[],
|
|
@@ -507,7 +490,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
507
490
|
privatelink = cloudamqp.PrivatelinkAzure("privatelink",
|
|
508
491
|
instance_id=instance.id,
|
|
509
492
|
approved_subscriptions=["XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"])
|
|
510
|
-
firewall_settings = cloudamqp.SecurityFirewall("
|
|
493
|
+
firewall_settings = cloudamqp.SecurityFirewall("firewall_settings",
|
|
511
494
|
instance_id=instance.id,
|
|
512
495
|
rules=[
|
|
513
496
|
cloudamqp.SecurityFirewallRuleArgs(
|
|
@@ -533,6 +516,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
533
516
|
```
|
|
534
517
|
|
|
535
518
|
</details>
|
|
519
|
+
|
|
536
520
|
## Depedency
|
|
537
521
|
|
|
538
522
|
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
@@ -554,7 +538,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
554
538
|
$ pulumi import cloudamqp:index/privatelinkAzure:PrivatelinkAzure privatelink <id>`
|
|
555
539
|
```
|
|
556
540
|
|
|
557
|
-
|
|
541
|
+
The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
|
|
558
542
|
|
|
559
543
|
:param str resource_name: The name of the resource.
|
|
560
544
|
:param PrivatelinkAzureArgs args: The arguments to use to populate this resource's properties.
|
pulumi_cloudamqp/provider.py
CHANGED
|
@@ -21,7 +21,6 @@ class ProviderArgs:
|
|
|
21
21
|
The set of arguments for constructing a Provider resource.
|
|
22
22
|
:param pulumi.Input[str] apikey: Key used to authentication to the CloudAMQP Customer API
|
|
23
23
|
:param pulumi.Input[str] baseurl: Base URL to CloudAMQP Customer website
|
|
24
|
-
:param pulumi.Input[bool] enable_faster_instance_destroy: Skips destroying backend resources on 'terraform destroy'
|
|
25
24
|
"""
|
|
26
25
|
pulumi.set(__self__, "apikey", apikey)
|
|
27
26
|
if baseurl is not None:
|
|
@@ -56,9 +55,6 @@ class ProviderArgs:
|
|
|
56
55
|
@property
|
|
57
56
|
@pulumi.getter(name="enableFasterInstanceDestroy")
|
|
58
57
|
def enable_faster_instance_destroy(self) -> Optional[pulumi.Input[bool]]:
|
|
59
|
-
"""
|
|
60
|
-
Skips destroying backend resources on 'terraform destroy'
|
|
61
|
-
"""
|
|
62
58
|
return pulumi.get(self, "enable_faster_instance_destroy")
|
|
63
59
|
|
|
64
60
|
@enable_faster_instance_destroy.setter
|
|
@@ -85,7 +81,6 @@ class Provider(pulumi.ProviderResource):
|
|
|
85
81
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
86
82
|
:param pulumi.Input[str] apikey: Key used to authentication to the CloudAMQP Customer API
|
|
87
83
|
:param pulumi.Input[str] baseurl: Base URL to CloudAMQP Customer website
|
|
88
|
-
:param pulumi.Input[bool] enable_faster_instance_destroy: Skips destroying backend resources on 'terraform destroy'
|
|
89
84
|
"""
|
|
90
85
|
...
|
|
91
86
|
@overload
|