alb

clouddrove/alb/aws

Terraform Module HCL AWS

This terraform module is used to create ALB on AWS.

Install
module "alb" {
source = "clouddrove/alb/aws"
version = "2.0.0"
}
plain text: /constructs/tfmod-clouddrove-alb-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform AWS ALB This terraform module is used to create ALB on AWS. We eat, drink, sleep and most importantly love DevOps. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy Bigger problems are always solved by breaking them into smaller manageable problems . Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller connected yet manageable pieces within the infrastructure. This module is basically combination of Terraform open source and includes automatation tests and examples. It also helps to create and improve your infrastructure with minimalistic code instead of maintaining the whole infrastructure code yourself. We hav

Inputs (50)
NameTypeDescriptionDefault
target_idlist(any)The ID of the target. This is the Instance ID for an instance, or the container required
load_balancer_create_timeoutstringTimeout value when creating the ALB."10m"
enableboolIf true, create alb.false
enable_waf_fail_openboolIndicates whether to route requests to targets if lb fails to forward the requesfalse
enable_tls_version_and_cipher_suite_headersboolIndicates whether the two headers (x-amzn-tls-version and x-amzn-tls-cipher-suitfalse
http_tcp_listener_rulesanyA list of maps describing the Listener Rules for this ALB. Required key/values: []
namestringName (e.g. `app` or `cluster`).""
load_balancer_typestringThe type of load balancer to create. Possible values are application or network.""
enable_deletion_protectionboolIf true, deletion of the load balancer will be disabled via the AWS API. This wifalse
connection_drainingboolTBoolean to enable connection draining. Default: false.false
listener_https_fixed_responseobject({ content_type = stHave the HTTPS listener return a fixed response for the default action.null
sg_egress_descriptionstringDescription of the egress and ingress rule"Description of the rule."
enable_xff_client_portboolIndicates whether the X-Forwarded-For header should preserve the source port thatrue
https_listener_rulesanyA list of maps describing the Listener Rules for this ALB. Required key/values: []
environmentstringEnvironment (e.g. `prod`, `dev`, `staging`)."test"
label_orderlist(any)Label order, e.g. `name`,`application`.[ "name", "environment" ]
target_groupsanyA list of maps containing key/value pairs that define the target groups to be cr[]
listener_protocolstringThe protocol for connections from clients to the load balancer. Valid values are"HTTPS"
idle_timeoutnumberThe time in seconds that the connection is allowed to be idle.60
sg_idslist(any)of the security group id.[]
is_externalboolenable to udated existing security Groupfalse
… and 10 more inputs
Outputs (15)
arn — The ARN of the ALB.
dns_name — DNS name of ALB.
https_listener_arn — The ARN of the HTTPS listener.
listener_arns — A list of all the listener ARNs.
tags — A mapping of tags to assign to the resource.
security_group_arn — Amazon Resource Name (ARN) of the security group
arn_suffix — The ARN suffix of the ALB.
clb_name — DNS name of CLB.
clb_zone_id — The ID of the zone which ALB is provisioned.
http_listener_arn — The ARN of the HTTP listener.
security_group_id — ID of the security group
zone_id — The ID of the zone which ALB is provisioned.
name — The ARN suffix of the ALB.
clb_arn — The ARN of the CLB.
main_target_group_arn — The main target group ARN.
Resources (9)
aws_elbaws_lbaws_lb_listeneraws_lb_listener_certificateaws_lb_listener_ruleaws_lb_target_groupaws_lb_target_group_attachmentaws_security_groupaws_security_group_rule
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.0
Cloud AWS
★ Stars17
Forks14
Total downloads10.0k
Inputs50
Outputs15
Resources9
LicenseApache-2.0
Namespaceclouddrove
Updated