Giter VIP home page Giter VIP logo

Comments (3)

Zambonilli avatar Zambonilli commented on July 17, 2024

Here's a workaround as well based for version 10.0.x. You can use the regex.full_match to filter forwarding rules to only those that start with the name value that is passed into lb-http. I set a the name value to a locals so it's only defined once.

"metric.type=\"loadbalancing.googleapis.com/https/total_latencies\" AND resource.type=\"https_lb_rule\" AND resource.labels.forwarding_rule_name=monitoring.regex.full_match(\"^${local.lb_http_name}.*\")"

from terraform-google-lb-http.

imrannayer avatar imrannayer commented on July 17, 2024

@Zambonilli forwarding rule name is an input. You can reference it without output.

from terraform-google-lb-http.

Zambonilli avatar Zambonilli commented on July 17, 2024

Yeah, you're right and this was all me. I added a random to the end of the forwarding rule name before passing it in. Which made me think the module was adding the random.

Sorry, for the confusion and thanks for the great work on this module!

from terraform-google-lb-http.

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.