alb
cloudposse/alb/aws
Terraform module to provision a standard ALB for HTTP/HTTP traffic
Terraform module to create an ALB, default ALB listener(s), and a default ALB target and related security groups. > [!TIP] > #### 👽 Use Atmos with Terraform > Cloud Posse uses atmos to easily orchestrate multiple environments using Terraform. > Works with Github Actions, Atlantis, or Spacelift. > > > Watch demo of using Atmos with Terraform > > Example of running atmos to manage infrastructure from our Quick Start tutorial. > Usage For a complete example, see examples/complete. For automated test of the complete example using bats and Terratest, see test. ```hcl provider "aws" { region = var.region } module "vpc" { source = "cloudposse/vpc/aws" # Cloud Posse recommends pinning every module to a specific version # version = "x.x.x" namespace = var.namespace stage = var.stage name = var.name
| Name | Type | Description | Default |
|---|---|---|---|
| vpc_id | string | VPC ID to associate with ALB | required |
| load_balancing_anomaly_mitigation | string | Determines whether to enable target anomaly mitigation. Only supported by the we | "off" |
| tenant | string | ID element _(Rarely used, not included by default)_. A customer identifier, indi | null |
| http2_enabled | bool | A boolean flag to enable/disable HTTP/2 | true |
| target_group_target_type | string | The type (`instance`, `ip` or `lambda`) of targets that can be registered with t | "ip" |
| client_keep_alive | number | Client keep alive value in seconds. The valid range is 60-604800 seconds. The de | 3600 |
| reserved_capacity_units | number | The number of capacity units reserved for the load balancer | null |
| additional_tag_map | map(string) | Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add | {} |
| label_value_case | string | Controls the letter case of ID elements (labels) as included in `id`, set as tag | null |
| http_ingress_security_group_ids | list(string) | List of security group IDs to allow access to HTTP ingress security group | [] |
| health_check_path | string | The destination for the health check request | "/" |
| target_group_name_max_length | number | The max length of characters for the target group. | 32 |
| id_length_limit | number | Limit `id` to this many characters (minimum 6). Set to `0` for unlimited length. | null |
| noncurrent_version_expiration_days | number | (Deprecated, use `lifecycle_configuration_rules` instead) Specifies when non-cur | 90 |
| access_logs_prefix | string | The S3 log bucket prefix | "" |
| namespace | string | ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp' | null |
| internal | bool | A boolean flag to determine whether the ALB should be internal | false |
| https_ingress_prefix_list_ids | list(string) | List of prefix list IDs for allowing access to HTTPS ingress security group | [] |
| allow_ssl_requests_only | bool | Set to true to require requests to use Secure Socket Layer (HTTPS/SSL) on the ac | false |
| health_check_timeout | number | The amount of time to wait in seconds before failing a health check request | 10 |
| idle_timeout | number | The time in seconds that the connection is allowed to be idle | 60 |
| … and 10 more inputs | |||
security_group_id — The security group ID of the ALBdefault_target_group_arn — The default target group ARNhttp_listener_arn — The ARN of the HTTP forwarding listenerdefault_target_group_arn_suffix — The default target group ARN suffixhttp_redirect_listener_arn — The ARN of the HTTP to HTTPS redirect listenerhttps_listener_arn — The ARN of the HTTPS listenerlistener_arns — A list of all the listener ARNsaccess_logs_bucket_id — The S3 bucket ID for access logsalb_name — The ARN suffix of the ALBalb_arn — The ARN of the ALBalb_arn_suffix — The ARN suffix of the ALBalb_dns_name — DNS name of ALBalb_zone_id — The ID of the zone which ALB is provisionedAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,