https://pulumi.com logo
Title
b

billions-glass-17089

02/03/2022, 8:25 PM
Is there support for setting up VPC peering?
p

prehistoric-activity-61023

02/03/2022, 8:26 PM
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

billions-glass-17089

02/03/2022, 8:28 PM
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

prehistoric-activity-61023

02/03/2022, 8:29 PM
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

billions-glass-17089

02/03/2022, 8:33 PM
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!