Git Product home page Git Product logo

Comments (4)

Dev25 avatar Dev25 commented on July 21, 2024 1

@richardmcsong Did you manage to get something up and running yet? I ended up needing to do this last week and have started to use it in production (0.12 + for_each + updated interface/features) that may be of interest. One big change is allowing different types of health checks http/https/http2 along with all the extra var options.

ivankorn/terraform-google-lb-http@acce7ef...Dev25:for-each

Example backend usage:

  backends = {
    "default" = {
      protocol    = "HTTP2"
      port_name   = "https"
      timeout_sec = 60
      enable_cdn  = false

      health_check = {
        check_interval_sec  = 5
        timeout_sec         = 5
        healthy_threshold   = 1
        unhealthy_threshold = 3

        http2_health_check = {
          request_path = "/healthz"
          port         = 443
        }
      }

      groups = [
        {
          group                 = data.google_compute_network_endpoint_group.belgium_d.self_link
          balancing_mode        = "RATE"
          max_rate_per_endpoint = 100
          description           = "GKE nginx-ingress"
        },
        {
          group                 = data.google_compute_network_endpoint_group.belgium_c.self_link
          balancing_mode        = "RATE"
          max_rate_per_endpoint = 100
          description           = "GKE nginx-ingress"
        },
      ]
    },
  }

from terraform-google-lb-http.

richardmcsong avatar richardmcsong commented on July 21, 2024

I'd be interested in taking a crack at this. Should I fork off the terraform 0.12 branch, or wait until the branch is merged into master?

from terraform-google-lb-http.

Dev25 avatar Dev25 commented on July 21, 2024

As mentioned in the PR #52 (comment) i would be interested in also seeing more options then exposed in this new interface e.g setting a host header for health checks

from terraform-google-lb-http.

aaron-lane avatar aaron-lane commented on July 21, 2024

@richardmcsong you can certainly start work off of the 0.12 branch, though there may be additional commits which will need to be incorporated in to your branch.

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.