Build AWS Privatelink in Terraform
Usage scenario: expose custom (non-AWS) services provided in one VPC to consumers in another VPC.
Terminology and Architecture
Rehash of privatelink definitions:
+-------------------------------------+
| |
| Service Consumer VPC |
| |
| VPC endpoint ENI |
+-----o-------------------------------+
|
\|/
+-----o-------------------------------+
| VPC Endpoint Service |
| | |
| \|/ |
| NLB |
| | |
| \|/ |
| ALB |
| |
| Service Provider VPC |
| |
+-------------------------------------+