pulumi-cloudamqp 3.21.0a1734450331__tar.gz → 3.21.0a1735017689__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.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/PKG-INFO +1 -1
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/pulumi-plugin.json +1 -1
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/vpc_gcp_peering.py +61 -31
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/vpc_peering.py +14 -2
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp.egg-info/PKG-INFO +1 -1
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pyproject.toml +1 -1
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/README.md +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/__init__.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/_inputs.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/_utilities.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/account_action.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/alarm.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/config/__init__.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/config/__init__.pyi +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/config/vars.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/custom_domain.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/extra_disk_size.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/get_account.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/get_account_vpcs.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/get_alarm.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/get_credentials.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/get_instance.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/get_nodes.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/get_notification.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/get_plugins.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/get_plugins_community.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/get_upgradable_versions.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/get_vpc_gcp_info.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/get_vpc_info.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/instance.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/integration_aws_eventbridge.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/integration_log.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/integration_metric.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/node_actions.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/notification.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/outputs.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/plugin.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/plugin_community.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/privatelink_aws.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/privatelink_azure.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/provider.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/py.typed +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/rabbit_configuration.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/security_firewall.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/upgrade_lavinmq.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/upgrade_rabbitmq.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/vpc.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/vpc_connect.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/webhook.py +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp.egg-info/SOURCES.txt +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp.egg-info/dependency_links.txt +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp.egg-info/requires.txt +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp.egg-info/top_level.txt +0 -0
- {pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/setup.cfg +0 -0
|
@@ -27,7 +27,7 @@ class VpcGcpPeeringArgs:
|
|
|
27
27
|
wait_on_peering_status: Optional[pulumi.Input[bool]] = None):
|
|
28
28
|
"""
|
|
29
29
|
The set of arguments for constructing a VpcGcpPeering resource.
|
|
30
|
-
:param pulumi.Input[str] peer_network_uri: Network
|
|
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.
|
|
31
31
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier. *Deprecated from v1.16.0*
|
|
32
32
|
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) between retries when requesting or reading
|
|
33
33
|
peering. Default set to 10 seconds. *Available from v1.29.0*
|
|
@@ -53,7 +53,7 @@ class VpcGcpPeeringArgs:
|
|
|
53
53
|
@pulumi.getter(name="peerNetworkUri")
|
|
54
54
|
def peer_network_uri(self) -> pulumi.Input[str]:
|
|
55
55
|
"""
|
|
56
|
-
Network
|
|
56
|
+
Network URI of the VPC network to which you will peer with. See examples above for the format.
|
|
57
57
|
"""
|
|
58
58
|
return pulumi.get(self, "peer_network_uri")
|
|
59
59
|
|
|
@@ -141,7 +141,7 @@ class _VpcGcpPeeringState:
|
|
|
141
141
|
Input properties used for looking up and filtering VpcGcpPeering resources.
|
|
142
142
|
:param pulumi.Input[bool] auto_create_routes: VPC peering auto created routes
|
|
143
143
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier. *Deprecated from v1.16.0*
|
|
144
|
-
:param pulumi.Input[str] peer_network_uri: Network
|
|
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.
|
|
145
145
|
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) between retries when requesting or reading
|
|
146
146
|
peering. Default set to 10 seconds. *Available from v1.29.0*
|
|
147
147
|
:param pulumi.Input[str] state: VPC peering state
|
|
@@ -199,7 +199,7 @@ class _VpcGcpPeeringState:
|
|
|
199
199
|
@pulumi.getter(name="peerNetworkUri")
|
|
200
200
|
def peer_network_uri(self) -> Optional[pulumi.Input[str]]:
|
|
201
201
|
"""
|
|
202
|
-
Network
|
|
202
|
+
Network URI of the VPC network to which you will peer with. See examples above for the format.
|
|
203
203
|
"""
|
|
204
204
|
return pulumi.get(self, "peer_network_uri")
|
|
205
205
|
|
|
@@ -296,7 +296,10 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
296
296
|
wait_on_peering_status: Optional[pulumi.Input[bool]] = None,
|
|
297
297
|
__props__=None):
|
|
298
298
|
"""
|
|
299
|
-
This resouce creates a VPC peering configuration for the CloudAMQP instance. The configuration will
|
|
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.
|
|
300
303
|
|
|
301
304
|
> **Note:** Creating a VPC peering will automatically add firewall rules for the peered subnet.
|
|
302
305
|
|
|
@@ -330,7 +333,7 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
330
333
|
# VPC peering configuration
|
|
331
334
|
vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
|
|
332
335
|
instance_id=instance.id,
|
|
333
|
-
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
|
|
336
|
+
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
|
|
334
337
|
```
|
|
335
338
|
|
|
336
339
|
</details>
|
|
@@ -364,7 +367,7 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
364
367
|
# VPC peering configuration
|
|
365
368
|
vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
|
|
366
369
|
vpc_id=vpc.id,
|
|
367
|
-
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
|
|
370
|
+
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
|
|
368
371
|
```
|
|
369
372
|
|
|
370
373
|
</details>
|
|
@@ -376,7 +379,8 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
376
379
|
</b>
|
|
377
380
|
</summary>
|
|
378
381
|
|
|
379
|
-
Default peering request, no need to set `wait_on_peering_status`. It's default set to false and will
|
|
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.
|
|
380
384
|
|
|
381
385
|
```python
|
|
382
386
|
import pulumi
|
|
@@ -384,10 +388,11 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
384
388
|
|
|
385
389
|
vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
|
|
386
390
|
vpc_id=vpc["id"],
|
|
387
|
-
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
|
|
391
|
+
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
|
|
388
392
|
```
|
|
389
393
|
|
|
390
|
-
Peering request and waiting for peering status.
|
|
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.
|
|
391
396
|
|
|
392
397
|
```python
|
|
393
398
|
import pulumi
|
|
@@ -396,7 +401,7 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
396
401
|
vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
|
|
397
402
|
vpc_id=vpc["id"],
|
|
398
403
|
wait_on_peering_status=True,
|
|
399
|
-
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
|
|
404
|
+
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
|
|
400
405
|
```
|
|
401
406
|
|
|
402
407
|
</details>
|
|
@@ -499,25 +504,35 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
499
504
|
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
500
505
|
|
|
501
506
|
*From v1.16.0*
|
|
502
|
-
This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance
|
|
507
|
+
This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance
|
|
508
|
+
identifier, `cloudamqp_instance.instance.id`.
|
|
503
509
|
|
|
504
510
|
## Create VPC Peering with additional firewall rules
|
|
505
511
|
|
|
506
|
-
To create a VPC peering configuration with additional firewall rules, it's required to chain the
|
|
507
|
-
|
|
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.
|
|
508
516
|
|
|
509
|
-
Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
517
|
+
Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
518
|
+
the VPC peering also needs to be added.
|
|
510
519
|
|
|
511
520
|
See example below.
|
|
512
521
|
|
|
513
522
|
## Import
|
|
514
523
|
|
|
515
|
-
|
|
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>
|
|
516
531
|
|
|
517
532
|
:param str resource_name: The name of the resource.
|
|
518
533
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
519
534
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier. *Deprecated from v1.16.0*
|
|
520
|
-
:param pulumi.Input[str] peer_network_uri: Network
|
|
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.
|
|
521
536
|
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) between retries when requesting or reading
|
|
522
537
|
peering. Default set to 10 seconds. *Available from v1.29.0*
|
|
523
538
|
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) before retries times out. Default set
|
|
@@ -533,7 +548,10 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
533
548
|
args: VpcGcpPeeringArgs,
|
|
534
549
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
535
550
|
"""
|
|
536
|
-
This resouce creates a VPC peering configuration for the CloudAMQP instance. The configuration will
|
|
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.
|
|
537
555
|
|
|
538
556
|
> **Note:** Creating a VPC peering will automatically add firewall rules for the peered subnet.
|
|
539
557
|
|
|
@@ -567,7 +585,7 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
567
585
|
# VPC peering configuration
|
|
568
586
|
vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
|
|
569
587
|
instance_id=instance.id,
|
|
570
|
-
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
|
|
588
|
+
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
|
|
571
589
|
```
|
|
572
590
|
|
|
573
591
|
</details>
|
|
@@ -601,7 +619,7 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
601
619
|
# VPC peering configuration
|
|
602
620
|
vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
|
|
603
621
|
vpc_id=vpc.id,
|
|
604
|
-
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
|
|
622
|
+
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
|
|
605
623
|
```
|
|
606
624
|
|
|
607
625
|
</details>
|
|
@@ -613,7 +631,8 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
613
631
|
</b>
|
|
614
632
|
</summary>
|
|
615
633
|
|
|
616
|
-
Default peering request, no need to set `wait_on_peering_status`. It's default set to false and will
|
|
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.
|
|
617
636
|
|
|
618
637
|
```python
|
|
619
638
|
import pulumi
|
|
@@ -621,10 +640,11 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
621
640
|
|
|
622
641
|
vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
|
|
623
642
|
vpc_id=vpc["id"],
|
|
624
|
-
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
|
|
643
|
+
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
|
|
625
644
|
```
|
|
626
645
|
|
|
627
|
-
Peering request and waiting for peering status.
|
|
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.
|
|
628
648
|
|
|
629
649
|
```python
|
|
630
650
|
import pulumi
|
|
@@ -633,7 +653,7 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
633
653
|
vpc_peering_request = cloudamqp.VpcGcpPeering("vpc_peering_request",
|
|
634
654
|
vpc_id=vpc["id"],
|
|
635
655
|
wait_on_peering_status=True,
|
|
636
|
-
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<NETWORK-NAME>")
|
|
656
|
+
peer_network_uri="https://www.googleapis.com/compute/v1/projects/<PROJECT-NAME>/global/networks/<VPC-NETWORK-NAME>")
|
|
637
657
|
```
|
|
638
658
|
|
|
639
659
|
</details>
|
|
@@ -736,20 +756,30 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
736
756
|
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
737
757
|
|
|
738
758
|
*From v1.16.0*
|
|
739
|
-
This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance
|
|
759
|
+
This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance
|
|
760
|
+
identifier, `cloudamqp_instance.instance.id`.
|
|
740
761
|
|
|
741
762
|
## Create VPC Peering with additional firewall rules
|
|
742
763
|
|
|
743
|
-
To create a VPC peering configuration with additional firewall rules, it's required to chain the
|
|
744
|
-
|
|
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.
|
|
745
768
|
|
|
746
|
-
Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
769
|
+
Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
770
|
+
the VPC peering also needs to be added.
|
|
747
771
|
|
|
748
772
|
See example below.
|
|
749
773
|
|
|
750
774
|
## Import
|
|
751
775
|
|
|
752
|
-
|
|
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>
|
|
753
783
|
|
|
754
784
|
:param str resource_name: The name of the resource.
|
|
755
785
|
:param VpcGcpPeeringArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -820,7 +850,7 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
820
850
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
821
851
|
:param pulumi.Input[bool] auto_create_routes: VPC peering auto created routes
|
|
822
852
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier. *Deprecated from v1.16.0*
|
|
823
|
-
:param pulumi.Input[str] peer_network_uri: Network
|
|
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.
|
|
824
854
|
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) between retries when requesting or reading
|
|
825
855
|
peering. Default set to 10 seconds. *Available from v1.29.0*
|
|
826
856
|
:param pulumi.Input[str] state: VPC peering state
|
|
@@ -866,7 +896,7 @@ class VpcGcpPeering(pulumi.CustomResource):
|
|
|
866
896
|
@pulumi.getter(name="peerNetworkUri")
|
|
867
897
|
def peer_network_uri(self) -> pulumi.Output[str]:
|
|
868
898
|
"""
|
|
869
|
-
Network
|
|
899
|
+
Network URI of the VPC network to which you will peer with. See examples above for the format.
|
|
870
900
|
"""
|
|
871
901
|
return pulumi.get(self, "peer_network_uri")
|
|
872
902
|
|
|
@@ -237,7 +237,13 @@ class VpcPeering(pulumi.CustomResource):
|
|
|
237
237
|
"""
|
|
238
238
|
## Import
|
|
239
239
|
|
|
240
|
-
|
|
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.
|
|
241
247
|
|
|
242
248
|
:param str resource_name: The name of the resource.
|
|
243
249
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -260,7 +266,13 @@ class VpcPeering(pulumi.CustomResource):
|
|
|
260
266
|
"""
|
|
261
267
|
## Import
|
|
262
268
|
|
|
263
|
-
|
|
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.
|
|
264
276
|
|
|
265
277
|
:param str resource_name: The name of the resource.
|
|
266
278
|
:param VpcPeeringArgs args: The arguments to use to populate this resource's properties.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/alarm.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
|
|
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
|
|
File without changes
|
|
File without changes
|
{pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/plugin.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/pulumi_cloudamqp/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_cloudamqp-3.21.0a1734450331 → pulumi_cloudamqp-3.21.0a1735017689}/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
|