A simple terraform script example to set a Confluent Cloud cluster with Private Link with an AWS VPC
What you need;
- An AWS account id
- An AWS VPC with subnets created
- A Confluent Cloud API KEY and SECRET
Remember that, once set, you won't be able to operate your Confluent Cloud clusters outside AWS VPC https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html
The example is based in confluent official terraform examples https://github.com/confluentinc/terraform-provider-confluent/tree/master/examples/configurations