Is there support for setting up VPC peering?
# google-cloud
b
Is there support for setting up VPC peering?
p
not a networking specialist here… but what are you trying to setup?
I’m asking cause I’ve got some code to setup private connectivity for CloudSQL/MemoryStore instances and maybe that’s what you’re looking for 🙂
b
ah no, I'm trying to setup peering between two VPCs in different projects
I believe GCP will setup peering to CloudSQL/MemoryStore automatically
p
Sure… if you do that in Console Web UI 😄
if you use terraform/pulumi, you have to actually create a couple of things to get it working
Anyway, regarding peering between two VPCs, I haven’t done that yet so I won’t be able to help, sorry 😞
if you’re using classic GCP provider, you can search for some terraform examples and translate them to pulumi commands
(it’s still much easier to find a working TF examples)
b
kk thanks, yeah I searched through the native stuff but doesn't look like it's there, I'll add an issue. I'm trying to avoid the classic package as much as possible but seems unlikely right now 😦
if you use terraform/pulumi, you have to actually create a couple of things to get it working
I'll have to bug you on this when I get there! 😉 Thanks again!