Skip to content

Commit

Permalink
Update information about changes made
Browse files Browse the repository at this point in the history
  • Loading branch information
tbroden84 committed Dec 15, 2023
1 parent ec96863 commit 8def353
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docs/resources/vpc_gcp_peering.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ description: |-
This resouce creates a VPC peering configuration for the CloudAMQP instance. The configuration will connect to another VPC network hosted on Google Cloud Platform (GCP). See the [GCP documentation](https://cloud.google.com/vpc/docs/using-vpc-peering) for more information on how to create the VPC peering configuration.

~> **Note:** Creating a VPC peering will automatically add firewall rules for the peered subnet.

<details>
<summary>
<i>Default VPC peering firewall rule</i>
Expand Down Expand Up @@ -148,22 +149,20 @@ resource "cloudamqp_vpc_gcp_peering" "vpc_peering_request" {

*Note: this resource require either `instance_id` or `vpc_id` from v1.16.0*

* `instance_id` - (Optional) The CloudAMQP instance identifier.

***Depreacted: Changed from required to optional in v1.16.0, will be removed in next major version (v2.0)***

* `vpc_id` - (Optional) The managed VPC identifier.
* `instance_id` - (Optional) The CloudAMQP instance identifier. *Deprecated from v1.16.0*

***Note: Added as optional in version v1.16.0, will be required in next major version (v2.0)***
* `vpc_id` - (Optional) The managed VPC identifier. *Available from v1.16.0*

* `peer_network_uri`- (Required) Network uri of the VPC network to which you will peer with.

* `wait_on_peering_status` - (Optional) Makes the resource wait until the peering is connected.
Default set to false. *Available from v1.28.0*

***Note: Added as optional in version v1.28.0. Default set to false and will not wait until the peering is done from both VPCs***
* `sleep` - (Optional) Configurable sleep time (seconds) between retries when requesting or reading
peering. Default set to 10 seconds. *Available from v1.29.0*

* `sleep` - (Optional) Configurable sleep time (seconds) between retries when requesting or reading peering. Default set to 10 seconds.
* `timeout` - (Optional) - Configurable timeout time (seconds) before retries times out. Default set to 1800 seconds.
* `timeout` - (Optional) - Configurable timeout time (seconds) before retries times out. Default set
to 1800 seconds. *Available from v1.29.0*

## Attributes Reference

Expand Down Expand Up @@ -284,11 +283,12 @@ resource "cloudamqp_security_firewall" "firewall_settings" {

List of changes made to this resource for different versions.

[v1.29.0](https://github.com/cloudamqp/terraform-provider-cloudamqp/releases/tag/v1.29.0) configurable
sleep and timeout for retries when requesting and reading peering.
[v1.29.0](https://github.com/cloudamqp/terraform-provider-cloudamqp/releases/tag/v1.29.0)
Configurable sleep and timeout for retries when requesting and reading peering.

[v1.28.0](https://github.com/cloudamqp/terraform-provider-cloudamqp/releases/tag/v1.18.0)
Added `wait_on_peering_status` as optional, set to wait until peering is finished.
Added `wait_on_peering_status` argument if the resource should wait until both VPCs have done its peering.

[v1.16.0](https://github.com/cloudamqp/terraform-provider-cloudamqp/releases/tag/v1.16.0)
deprecated intance_id and use vpc_id instead
Deprecated intance_id, set from required to optional. Will be removed in next major version (v2.0).
Added vpc_id, set to optional. Will be required in next major version (v2.0).

0 comments on commit 8def353

Please sign in to comment.