pulumi-cloudamqp 3.18.0a1703136255__py3-none-any.whl → 3.18.0a1703654737__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/instance.py +2 -2
- pulumi_cloudamqp/privatelink_aws.py +4 -0
- pulumi_cloudamqp/privatelink_azure.py +4 -0
- pulumi_cloudamqp/vpc_connect.py +126 -0
- {pulumi_cloudamqp-3.18.0a1703136255.dist-info → pulumi_cloudamqp-3.18.0a1703654737.dist-info}/METADATA +2 -2
- {pulumi_cloudamqp-3.18.0a1703136255.dist-info → pulumi_cloudamqp-3.18.0a1703654737.dist-info}/RECORD +8 -8
- {pulumi_cloudamqp-3.18.0a1703136255.dist-info → pulumi_cloudamqp-3.18.0a1703654737.dist-info}/WHEEL +0 -0
- {pulumi_cloudamqp-3.18.0a1703136255.dist-info → pulumi_cloudamqp-3.18.0a1703654737.dist-info}/top_level.txt +0 -0
pulumi_cloudamqp/instance.py
CHANGED
|
@@ -802,7 +802,7 @@ class Instance(pulumi.CustomResource):
|
|
|
802
802
|
$ pulumi import cloudamqp:index/instance:Instance instance <id>`
|
|
803
803
|
```
|
|
804
804
|
|
|
805
|
-
To retrieve the identifier for
|
|
805
|
+
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) to list all available instances for an account.
|
|
806
806
|
|
|
807
807
|
:param str resource_name: The name of the resource.
|
|
808
808
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -1060,7 +1060,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1060
1060
|
$ pulumi import cloudamqp:index/instance:Instance instance <id>`
|
|
1061
1061
|
```
|
|
1062
1062
|
|
|
1063
|
-
To retrieve the identifier for
|
|
1063
|
+
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) to list all available instances for an account.
|
|
1064
1064
|
|
|
1065
1065
|
:param str resource_name: The name of the resource.
|
|
1066
1066
|
:param InstanceArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -388,6 +388,8 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
388
388
|
$ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
|
|
389
389
|
```
|
|
390
390
|
|
|
391
|
+
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
|
+
|
|
391
393
|
:param str resource_name: The name of the resource.
|
|
392
394
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
393
395
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_principals: Allowed principals to access the endpoint service.
|
|
@@ -557,6 +559,8 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
557
559
|
$ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
|
|
558
560
|
```
|
|
559
561
|
|
|
562
|
+
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
|
+
|
|
560
564
|
:param str resource_name: The name of the resource.
|
|
561
565
|
:param PrivatelinkAwsArgs args: The arguments to use to populate this resource's properties.
|
|
562
566
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -384,6 +384,8 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
384
384
|
$ pulumi import cloudamqp:index/privatelinkAzure:PrivatelinkAzure privatelink <id>`
|
|
385
385
|
```
|
|
386
386
|
|
|
387
|
+
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
|
+
|
|
387
389
|
:param str resource_name: The name of the resource.
|
|
388
390
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
389
391
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] approved_subscriptions: Approved subscriptions to access the endpoint service.
|
|
@@ -552,6 +554,8 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
552
554
|
$ pulumi import cloudamqp:index/privatelinkAzure:PrivatelinkAzure privatelink <id>`
|
|
553
555
|
```
|
|
554
556
|
|
|
557
|
+
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
|
+
|
|
555
559
|
:param str resource_name: The name of the resource.
|
|
556
560
|
:param PrivatelinkAzureArgs args: The arguments to use to populate this resource's properties.
|
|
557
561
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
pulumi_cloudamqp/vpc_connect.py
CHANGED
|
@@ -492,6 +492,58 @@ class VpcConnect(pulumi.CustomResource):
|
|
|
492
492
|
allowed_projects=["some-project-123456"])
|
|
493
493
|
```
|
|
494
494
|
|
|
495
|
+
</details>
|
|
496
|
+
### With Additional Firewall Rules
|
|
497
|
+
|
|
498
|
+
<details>
|
|
499
|
+
<summary>
|
|
500
|
+
<b>
|
|
501
|
+
<i>CloudAMQP instance in an existing VPC with managed firewall rules</i>
|
|
502
|
+
</b>
|
|
503
|
+
</summary>
|
|
504
|
+
|
|
505
|
+
```python
|
|
506
|
+
import pulumi
|
|
507
|
+
import pulumi_cloudamqp as cloudamqp
|
|
508
|
+
|
|
509
|
+
vpc = cloudamqp.Vpc("vpc",
|
|
510
|
+
region="amazon-web-services::us-west-1",
|
|
511
|
+
subnet="10.56.72.0/24",
|
|
512
|
+
tags=[])
|
|
513
|
+
instance = cloudamqp.Instance("instance",
|
|
514
|
+
plan="bunny-1",
|
|
515
|
+
region="amazon-web-services::us-west-1",
|
|
516
|
+
tags=[],
|
|
517
|
+
vpc_id=vpc.id,
|
|
518
|
+
keep_associated_vpc=True)
|
|
519
|
+
vpc_connect = cloudamqp.VpcConnect("vpcConnect",
|
|
520
|
+
instance_id=instance.id,
|
|
521
|
+
allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
|
|
522
|
+
firewall_settings = cloudamqp.SecurityFirewall("firewallSettings",
|
|
523
|
+
instance_id=instance.id,
|
|
524
|
+
rules=[
|
|
525
|
+
cloudamqp.SecurityFirewallRuleArgs(
|
|
526
|
+
description="Custom PrivateLink setup",
|
|
527
|
+
ip=vpc.subnet,
|
|
528
|
+
ports=[],
|
|
529
|
+
services=[
|
|
530
|
+
"AMQP",
|
|
531
|
+
"AMQPS",
|
|
532
|
+
"HTTPS",
|
|
533
|
+
"STREAM",
|
|
534
|
+
"STREAM_SSL",
|
|
535
|
+
],
|
|
536
|
+
),
|
|
537
|
+
cloudamqp.SecurityFirewallRuleArgs(
|
|
538
|
+
description="MGMT interface",
|
|
539
|
+
ip="0.0.0.0/0",
|
|
540
|
+
ports=[],
|
|
541
|
+
services=["HTTPS"],
|
|
542
|
+
),
|
|
543
|
+
],
|
|
544
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connect]))
|
|
545
|
+
```
|
|
546
|
+
|
|
495
547
|
</details>
|
|
496
548
|
## Depedency
|
|
497
549
|
|
|
@@ -500,6 +552,15 @@ class VpcConnect(pulumi.CustomResource):
|
|
|
500
552
|
Since `region` also is required, suggest to reuse the argument from CloudAMQP instance,
|
|
501
553
|
`cloudamqp_instance.instance.region`.
|
|
502
554
|
|
|
555
|
+
## Create VPC Connect with additional firewall rules
|
|
556
|
+
|
|
557
|
+
To create a PrivateLink/Private Service Connect configuration with additional firewall rules, it's required to chain the SecurityFirewall
|
|
558
|
+
resource to avoid parallel conflicting resource calls. You can do this by making the firewall
|
|
559
|
+
resource depend on the VPC Connect resource, `cloudamqp_vpc_connect.vpc_connect`.
|
|
560
|
+
|
|
561
|
+
Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
562
|
+
the VPC Connect also needs to be added.
|
|
563
|
+
|
|
503
564
|
## Import
|
|
504
565
|
|
|
505
566
|
`cloudamqp_vpc_connect` can be imported using CloudAMQP internal identifier.
|
|
@@ -508,6 +569,8 @@ class VpcConnect(pulumi.CustomResource):
|
|
|
508
569
|
$ pulumi import cloudamqp:index/vpcConnect:VpcConnect vpc_connect <id>`
|
|
509
570
|
```
|
|
510
571
|
|
|
572
|
+
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).
|
|
573
|
+
|
|
511
574
|
:param str resource_name: The name of the resource.
|
|
512
575
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
513
576
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_principals: List of allowed prinicpals used by AWS, see below table.
|
|
@@ -664,6 +727,58 @@ class VpcConnect(pulumi.CustomResource):
|
|
|
664
727
|
allowed_projects=["some-project-123456"])
|
|
665
728
|
```
|
|
666
729
|
|
|
730
|
+
</details>
|
|
731
|
+
### With Additional Firewall Rules
|
|
732
|
+
|
|
733
|
+
<details>
|
|
734
|
+
<summary>
|
|
735
|
+
<b>
|
|
736
|
+
<i>CloudAMQP instance in an existing VPC with managed firewall rules</i>
|
|
737
|
+
</b>
|
|
738
|
+
</summary>
|
|
739
|
+
|
|
740
|
+
```python
|
|
741
|
+
import pulumi
|
|
742
|
+
import pulumi_cloudamqp as cloudamqp
|
|
743
|
+
|
|
744
|
+
vpc = cloudamqp.Vpc("vpc",
|
|
745
|
+
region="amazon-web-services::us-west-1",
|
|
746
|
+
subnet="10.56.72.0/24",
|
|
747
|
+
tags=[])
|
|
748
|
+
instance = cloudamqp.Instance("instance",
|
|
749
|
+
plan="bunny-1",
|
|
750
|
+
region="amazon-web-services::us-west-1",
|
|
751
|
+
tags=[],
|
|
752
|
+
vpc_id=vpc.id,
|
|
753
|
+
keep_associated_vpc=True)
|
|
754
|
+
vpc_connect = cloudamqp.VpcConnect("vpcConnect",
|
|
755
|
+
instance_id=instance.id,
|
|
756
|
+
allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
|
|
757
|
+
firewall_settings = cloudamqp.SecurityFirewall("firewallSettings",
|
|
758
|
+
instance_id=instance.id,
|
|
759
|
+
rules=[
|
|
760
|
+
cloudamqp.SecurityFirewallRuleArgs(
|
|
761
|
+
description="Custom PrivateLink setup",
|
|
762
|
+
ip=vpc.subnet,
|
|
763
|
+
ports=[],
|
|
764
|
+
services=[
|
|
765
|
+
"AMQP",
|
|
766
|
+
"AMQPS",
|
|
767
|
+
"HTTPS",
|
|
768
|
+
"STREAM",
|
|
769
|
+
"STREAM_SSL",
|
|
770
|
+
],
|
|
771
|
+
),
|
|
772
|
+
cloudamqp.SecurityFirewallRuleArgs(
|
|
773
|
+
description="MGMT interface",
|
|
774
|
+
ip="0.0.0.0/0",
|
|
775
|
+
ports=[],
|
|
776
|
+
services=["HTTPS"],
|
|
777
|
+
),
|
|
778
|
+
],
|
|
779
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connect]))
|
|
780
|
+
```
|
|
781
|
+
|
|
667
782
|
</details>
|
|
668
783
|
## Depedency
|
|
669
784
|
|
|
@@ -672,6 +787,15 @@ class VpcConnect(pulumi.CustomResource):
|
|
|
672
787
|
Since `region` also is required, suggest to reuse the argument from CloudAMQP instance,
|
|
673
788
|
`cloudamqp_instance.instance.region`.
|
|
674
789
|
|
|
790
|
+
## Create VPC Connect with additional firewall rules
|
|
791
|
+
|
|
792
|
+
To create a PrivateLink/Private Service Connect configuration with additional firewall rules, it's required to chain the SecurityFirewall
|
|
793
|
+
resource to avoid parallel conflicting resource calls. You can do this by making the firewall
|
|
794
|
+
resource depend on the VPC Connect resource, `cloudamqp_vpc_connect.vpc_connect`.
|
|
795
|
+
|
|
796
|
+
Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
797
|
+
the VPC Connect also needs to be added.
|
|
798
|
+
|
|
675
799
|
## Import
|
|
676
800
|
|
|
677
801
|
`cloudamqp_vpc_connect` can be imported using CloudAMQP internal identifier.
|
|
@@ -680,6 +804,8 @@ class VpcConnect(pulumi.CustomResource):
|
|
|
680
804
|
$ pulumi import cloudamqp:index/vpcConnect:VpcConnect vpc_connect <id>`
|
|
681
805
|
```
|
|
682
806
|
|
|
807
|
+
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).
|
|
808
|
+
|
|
683
809
|
:param str resource_name: The name of the resource.
|
|
684
810
|
:param VpcConnectArgs args: The arguments to use to populate this resource's properties.
|
|
685
811
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
|
-
Name:
|
|
3
|
-
Version: 3.18.
|
|
2
|
+
Name: pulumi_cloudamqp
|
|
3
|
+
Version: 3.18.0a1703654737
|
|
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
|
{pulumi_cloudamqp-3.18.0a1703136255.dist-info → pulumi_cloudamqp-3.18.0a1703654737.dist-info}/RECORD
RENAMED
|
@@ -17,7 +17,7 @@ pulumi_cloudamqp/get_plugins_community.py,sha256=6IH-7LGwxha4M-cpTEJa0vhsjNRyRNI
|
|
|
17
17
|
pulumi_cloudamqp/get_upgradable_versions.py,sha256=9Hy4W4hT8G8pOgBMUoVowZCDvvmK9F31s87AnXrD5XE,5104
|
|
18
18
|
pulumi_cloudamqp/get_vpc_gcp_info.py,sha256=nLozPcHsK7uR-x1AfSCIbc01JqJETEPxdIIluSkjRCc,9081
|
|
19
19
|
pulumi_cloudamqp/get_vpc_info.py,sha256=Z9F1cNJE4A7t7y7zuKTg8zGjVAse5aunfvjzvfi30po,8240
|
|
20
|
-
pulumi_cloudamqp/instance.py,sha256=
|
|
20
|
+
pulumi_cloudamqp/instance.py,sha256=RyOdw265YAjEc7EuSGUZzEVGVIFl_3LLgUHWGDWjEbo,60467
|
|
21
21
|
pulumi_cloudamqp/integration_aws_eventbridge.py,sha256=G0vW89_SICyQb_oRYeGSM0fq1Qy7YsA3s1-k5K5xckw,22213
|
|
22
22
|
pulumi_cloudamqp/integration_log.py,sha256=e5GReameDkibHiC0kOGJCzNjtrN6sZ1KMWe9HT0wP00,42621
|
|
23
23
|
pulumi_cloudamqp/integration_metric.py,sha256=Fx0mo6dmztZiGek3WIJ0cTVcVLyzcJSkFNHU2Pztabo,45257
|
|
@@ -26,8 +26,8 @@ pulumi_cloudamqp/notification.py,sha256=e5MmTON4tQXZ6HduWDp4UFkuFQtsUmWMTFQ4SrDj
|
|
|
26
26
|
pulumi_cloudamqp/outputs.py,sha256=VHRmCXFQ2bcvjriiuwtmhtGGcIhlrEHP7F2ESaNa0Co,13878
|
|
27
27
|
pulumi_cloudamqp/plugin.py,sha256=TTAp3H0JIlgu83X7Lq4ZNVfQlHxMeCiSftL5TmAcwjs,16457
|
|
28
28
|
pulumi_cloudamqp/plugin_community.py,sha256=e4mKGleCLjA71muXWL4zXuGcjekcVtBVdYfR80zIFrs,16875
|
|
29
|
-
pulumi_cloudamqp/privatelink_aws.py,sha256=
|
|
30
|
-
pulumi_cloudamqp/privatelink_azure.py,sha256=
|
|
29
|
+
pulumi_cloudamqp/privatelink_aws.py,sha256=VsjMlrLlSm_nZmg_7_UFGJSr8qNGltxIVCZ1ZckJhdk,28695
|
|
30
|
+
pulumi_cloudamqp/privatelink_azure.py,sha256=6ASHDCxu6v85TFJ3NNw-K6g-rYBJ_7XVtlDhIPeMLE0,27955
|
|
31
31
|
pulumi_cloudamqp/provider.py,sha256=-1Yblud0x-19h9xdoBUvgYRToei3kqo4YVchG-i-XOo,6886
|
|
32
32
|
pulumi_cloudamqp/pulumi-plugin.json,sha256=So-I3JjRewZ_dOFdPPHpKB-8K3zcppOkGrDnWy-1N5s,46
|
|
33
33
|
pulumi_cloudamqp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -35,14 +35,14 @@ pulumi_cloudamqp/rabbit_configuration.py,sha256=WUsIkaHflmXALm2ljKQUWj44o4FZjCiu
|
|
|
35
35
|
pulumi_cloudamqp/security_firewall.py,sha256=bfr9qQKVQu-7thRxWEkypKfGkndDwKSjuOZgykGRlBs,13943
|
|
36
36
|
pulumi_cloudamqp/upgrade_rabbitmq.py,sha256=BYU-8NifTykI2W--UaQrUm6vzEeG26EM1VSsnYn3fD0,10867
|
|
37
37
|
pulumi_cloudamqp/vpc.py,sha256=KEwIYDhvefVsxtYomCNAaqkZ2fIMJhjx-K6vtO3EN2g,14414
|
|
38
|
-
pulumi_cloudamqp/vpc_connect.py,sha256=
|
|
38
|
+
pulumi_cloudamqp/vpc_connect.py,sha256=owRkgySDwpclvgDEZW5fTYc4DcPPtbwkr_YS703sD24,45028
|
|
39
39
|
pulumi_cloudamqp/vpc_gcp_peering.py,sha256=3tpq3WLWUdc6gSfeWfrK05Yr9H3lzBKUZFd9qW0cIOc,29987
|
|
40
40
|
pulumi_cloudamqp/vpc_peering.py,sha256=1AsazWnJdpiKFKnLl7lHy6aJJrgFIG7FbHxJfN8hBzM,16351
|
|
41
41
|
pulumi_cloudamqp/webhook.py,sha256=1lwTnaixOjy5K0ODjRM30Jn2GEzWAV9Z7E2CiZm_Lqc,17261
|
|
42
42
|
pulumi_cloudamqp/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
|
|
43
43
|
pulumi_cloudamqp/config/__init__.pyi,sha256=iAe4czNsV1QWTP_5dpfwWJUZykmDcnTZMI9M3sJrj_g,615
|
|
44
44
|
pulumi_cloudamqp/config/vars.py,sha256=5mP52CHvnTtGeEXq5P4rNTKeN6BeekCf_wZbwfMdmzE,1029
|
|
45
|
-
pulumi_cloudamqp-3.18.
|
|
46
|
-
pulumi_cloudamqp-3.18.
|
|
47
|
-
pulumi_cloudamqp-3.18.
|
|
48
|
-
pulumi_cloudamqp-3.18.
|
|
45
|
+
pulumi_cloudamqp-3.18.0a1703654737.dist-info/METADATA,sha256=TIcPGiG-AgEeJLXWmkZFgk0qw92si3iuFREBuohAOk0,2755
|
|
46
|
+
pulumi_cloudamqp-3.18.0a1703654737.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
47
|
+
pulumi_cloudamqp-3.18.0a1703654737.dist-info/top_level.txt,sha256=GzOcAz5c3r2TOma1_ftIXuXYIElI_XHfdRiJARoRz2g,17
|
|
48
|
+
pulumi_cloudamqp-3.18.0a1703654737.dist-info/RECORD,,
|
{pulumi_cloudamqp-3.18.0a1703136255.dist-info → pulumi_cloudamqp-3.18.0a1703654737.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|