# PSC Producer
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)
## Variables
| name | description | type | required | default |
|---|---|:---:|:---:|:---:|
| [accepted_limits](variables.tf#L17) | Incoming accepted projects with endpoints limit. | map(number)
| ✓ | |
| [dest_ip_address](variables.tf#L22) | On-prem service destination IP address. | string
| ✓ | |
| [name](variables.tf#L33) | Name of the resources created. | string
| ✓ | |
| [network](variables.tf#L38) | Producer network id. | string
| ✓ | |
| [project_id](variables.tf#L43) | The ID of the project where this VPC will be created. | string
| ✓ | |
| [region](variables.tf#L48) | Region where resources will be created. | string
| ✓ | |
| [subnet](variables.tf#L53) | Subnetwork id where resources will be associated. | string
| ✓ | |
| [subnet_proxy](variables.tf#L58) | L7 Regional load balancing subnet id. | string
| ✓ | |
| [subnets_psc](variables.tf#L63) | PSC NAT subnets. | list(string)
| ✓ | |
| [zone](variables.tf#L68) | Zone where resources will be created. | string
| ✓ | |
| [dest_port](variables.tf#L27) | On-prem service destination port. | string
| | "80"
|
## Outputs
| name | description | sensitive |
|---|---|:---:|
| [service_attachment](outputs.tf#L17) | The service attachment resource. | |