2022-10-16 01:18:40 -07:00
|
|
|
# PSC Producer
|
2022-10-17 01:40:11 -07:00
|
|
|
|
|
|
|
The module creates:
|
|
|
|
|
|
|
|
- a producer VPC
|
|
|
|
- an internal regional TCP proxy load balancer with a hybrid Network Endpoint Group (NEG) backend, pointing to an on-prem service (IP + port)
|
|
|
|
- a Private Service Connect Service Attachment (PSC SA) exposing the service to [PSC consumers](../psc-consumer/README.md)
|
2022-10-16 01:18:40 -07:00
|
|
|
<!-- BEGIN TFDOC -->
|
|
|
|
|
|
|
|
## Variables
|
|
|
|
|
|
|
|
| name | description | type | required | default |
|
|
|
|
|---|---|:---:|:---:|:---:|
|
2022-11-19 03:38:37 -08:00
|
|
|
| [accepted_limits](variables.tf#L17) | Incoming accepted projects with endpoints limit. | <code>map(number)</code> | ✓ | |
|
|
|
|
| [dest_ip_address](variables.tf#L22) | On-prem service destination IP address. | <code>string</code> | ✓ | |
|
|
|
|
| [name](variables.tf#L33) | Name of the resources created. | <code>string</code> | ✓ | |
|
|
|
|
| [network](variables.tf#L38) | Producer network id. | <code>string</code> | ✓ | |
|
|
|
|
| [project_id](variables.tf#L43) | The ID of the project where this VPC will be created. | <code>string</code> | ✓ | |
|
|
|
|
| [region](variables.tf#L48) | Region where resources will be created. | <code>string</code> | ✓ | |
|
|
|
|
| [subnet](variables.tf#L53) | Subnetwork id where resources will be associated. | <code>string</code> | ✓ | |
|
|
|
|
| [subnet_proxy](variables.tf#L58) | L7 Regional load balancing subnet id. | <code>string</code> | ✓ | |
|
|
|
|
| [subnets_psc](variables.tf#L63) | PSC NAT subnets. | <code>list(string)</code> | ✓ | |
|
|
|
|
| [zone](variables.tf#L68) | Zone where resources will be created. | <code>string</code> | ✓ | |
|
|
|
|
| [dest_port](variables.tf#L27) | On-prem service destination port. | <code>string</code> | | <code>"80"</code> |
|
2022-10-16 01:18:40 -07:00
|
|
|
|
|
|
|
## Outputs
|
|
|
|
|
|
|
|
| name | description | sensitive |
|
|
|
|
|---|---|:---:|
|
|
|
|
| [service_attachment](outputs.tf#L17) | The service attachment resource. | |
|
|
|
|
|
|
|
|
<!-- END TFDOC -->
|