Giter Site home page Giter Site logo

bryan-rhm / terraform-aws-alb-target-group Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 10 KB

Terraform AWS Load balancer Target group

License: Apache License 2.0

HCL 100.00%
alb aws aws-alb target-group terraform terraform-module terraform-modules

terraform-aws-alb-target-group's Introduction

Terraform AWS Load Balancer Target group module

Basic Usage Example

module "target_group" {
  source      = "github.com/bryan-rhm/terraform-aws-alb-target-group?ref=v1.0.0"
  name        = "my-target"
  vpc_id      = var.vpc_id
  target_type = "ip"
  stickiness = {
    type = "lb_cookie"
  }
}

Requirements

Name Version
terraform >= 1.0.4
aws >= 3.43.0

Providers

Name Version
aws 3.71.0

Modules

No modules.

Resources

Name Type
aws_lb_target_group.this resource

Inputs

Name Description Type Default Required
health_check Health Check configuration block.
object({
path = string
timeout = number
matcher = optional(string)
interval = number
protocol = optional(string)
healthy_threshold = optional(number)
unhealthy_threshold = optional(number)
})
null no
name (Optional, Forces new resource) Name of the target group. If omitted, Terraform will assign a random, unique name. string null no
name_prefix (Optional, Forces new resource) Creates a unique name beginning with the specified prefix. Conflicts with name. Cannot be longer than 6 characters. string null no
port Port on which targets receive traffic, unless overridden when registering a specific target. number 80 no
protocol Should be one of GENEVE, HTTP, HTTPS, TCP, TCP_UDP, TLS, or UDP string "HTTP" no
stickiness Stickiness configuration block.
object({
type = string # The only current possible values are lb_cookie, app_cookie for ALBs, and source_ip for NLBs.
cookie_name = optional(string) # Only needed when type is app_cookie.
cookie_duration = optional(number) # Only used when the type is lb_cookie. Default value 86400
})
null no
tags A map of tags to assign to the target group. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level. map(any) null no
target_type Type of target that you must specify when registering targets with this target group. Valid values: ip|instance|lambda string "instance" no
vpc_id Identifier of the VPC in which to create the target group. Required when target_type is instance or ip string null no

Outputs

Name Description
output Target group attributes

terraform-aws-alb-target-group's People

Contributors

bryan-rhm avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.