Giter Club home page Giter Club logo

Comments (9)

nesl247 avatar nesl247 commented on July 22, 2024 1

We can close this out. If we run into this again we can always reopen it.

from pulumi-gcp.

stack72 avatar stack72 commented on July 22, 2024 1

Thanks to you both :)

from pulumi-gcp.

clstokes avatar clstokes commented on July 22, 2024

@fernandocarletti is this the right resource/setting for you? https://pulumi.io/reference/pkg/nodejs/@pulumi/gcp/compute/#NetworkPeeringArgs-autoCreateRoutes

This is the same as networkPeering.autoCreateRoutes at https://cloud.google.com/compute/docs/reference/rest/v1/networks/addPeering.

from pulumi-gcp.

fernandocarletti avatar fernandocarletti commented on July 22, 2024

@clstokes My issue is with networkPeering.exchangeSubnetRoutes, which export/import the custom routes in the peering VPC. That's the one I could not find a way to set in Pulumi.

from pulumi-gcp.

clstokes avatar clstokes commented on July 22, 2024

@fernandocarletti The description for networkPeering.autoCreateRoutes says This field will be deprecated soon. Prefer using exchangeSubnetRoutes instead. so I wonder if it has the same effect?

image

(We'll still need to address the deprecation of it.)

from pulumi-gcp.

fernandocarletti avatar fernandocarletti commented on July 22, 2024

@clstokes That's the problem. I can't use exchangeSubnetRoutes since there's no place I can set it: https://pulumi.io/reference/pkg/nodejs/@pulumi/gcp/compute/#NetworkPeering

from pulumi-gcp.

clstokes avatar clstokes commented on July 22, 2024

@fernandocarletti I think they are functionally equivalent. Can you set autoCreateRoutes in Pulumi and see if it works for you?

from pulumi-gcp.

stack72 avatar stack72 commented on July 22, 2024

Ping @fernandocarletti just circling back on this one before we either close it out or chase it down

from pulumi-gcp.

fernandocarletti avatar fernandocarletti commented on July 22, 2024

Hello @stack72. I believe in the end this feature wasn't used at Linio (@nesl247 can tell for sure). Seems like the options for configuring the peering in the GCP console are a bit different from the ones available in the API. As far as I remember with the autoCreateRoutes you can't select if you are just importing or just exporting, what was needed in the case I was working on.

TLDR I believe we can close this.

from pulumi-gcp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.