You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: community/modules/network/private-service-access/README.md
+35-11Lines changed: 35 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,23 +2,31 @@
2
2
3
3
This module configures [private service access][psa] for the VPC specified by
4
4
the `network_id` variable. It can be used by the
5
-
[Cloud SQL Federation module][sql].
5
+
[Cloud SQL Federation module][sql] or to connect [Google Cloud NetApp Volumes][gcnv].
6
6
7
7
It will automatically perform the following steps, as described in the
8
8
[Private Service Access][psa-creation] creation page:
9
9
10
10
* Create an IP Allocation with the prefix_length specified by the
11
-
`ip_alloc_prefix_length` variable.
11
+
`ip_alloc_prefix_length` variable. Let Google pick the base address automatically, or specify it by using the `address` variable.
12
12
* Create a private connection that establishes a [VPC Network Peering][vpcnp]
13
-
connection between your VPC network and the service producer's network
13
+
connection between your VPC network and the service producer's network.
14
+
* When connecting to Google Cloud NetApp Volumes, it imports and exports custom routes.
15
+
16
+
### deletion_policy
17
+
Some services like CloudSQL or NetApp Volumes delete some internal backend resources lazily. This may take up to a few hours. Deleting the PSA peering while the backend resources still exist will fail. Set `deletion_policy = "ABANDON"` to enable error-free deletion for such PSA connections. See [deletion_policy][deletion_policy].
| <a name="input_address"></a> [address](#input\_address) | The IP address or beginning of the address range allocated for the private service access. | `string` | `null` | no |
106
+
| <a name="input_address"></a> [address](#input\_address) | The IP address or beginning of the address range allocated for the Private Service Access. | `string` | `null` | no |
107
+
| <a name="input_deletion_policy"></a> [deletion\_policy](#input\_deletion\_policy) | The policy to apply when deleting the Private Service Access. Leave empty or use ABANDON. | `string` | `null` | no |
85
108
| <a name="input_labels"></a> [labels](#input\_labels) | Labels to add to supporting resources. Key-value pairs. | `map(string)` | n/a | yes |
86
-
| <a name="input_network_id"></a> [network\_id](#input\_network\_id) | The ID of the GCE VPC network to configure private service Access.:<br/>`projects/<project_id>/global/networks/<network_name>`" | `string` | n/a | yes |
87
-
| <a name="input_prefix_length"></a> [prefix\_length](#input\_prefix\_length) | The prefix length of the IP range allocated for the private service access. | `number` | `16` | no |
109
+
| <a name="input_network_id"></a> [network\_id](#input\_network\_id) | The ID of the GCE VPC network to configure Private Service Access:<br/>`projects/<project_id>/global/networks/<network_name>`" | `string` | n/a | yes |
110
+
| <a name="input_prefix_length"></a> [prefix\_length](#input\_prefix\_length) | The prefix length of the IP range allocated for the Private Service Access. | `number` | `16` | no |
88
111
| <a name="input_project_id"></a> [project\_id](#input\_project\_id) | ID of project in which Private Service Access will be created. | `string` | n/a | yes |
112
+
| <a name="input_service_name"></a> [service\_name](#input\_service\_name) | The name of the service to connect. Defaults to 'servicenetworking.googleapis.com'. | `string` | `"servicenetworking.googleapis.com"` | no |
0 commit comments