alb-redirect
Flaconi/alb-redirect/aws
HTTP 301 and 302 redirects made simple utilising an ALB and listener rules.
Terraform AWS ALB Redirect     This Terraform module can create HTTP 301 and 302 redirects using the AWS Application Load Balancer Usage alb_redirect module ``hcl module "alb_redirect" { source = "../../" name = "redirect-service" # This can be left to its default # cidr = "172.30.0.0/16" # extra tags to be applied to the resources tags = { Terraform = "generated" } # do we enable the https listener https_enabled = true # certificate_arn sets the certificate arn for the https listener (optional
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | The name used to interpolate into the resources created | required |
| response_message_body | string | The default response message body in case no rules have been met | "Not found" |
| ssl_policy | string | Security policy used for front-end connections. | "ELBSecurityPolicy-FS-1-2-Res-2020-10" |
| extra_ssl_certs | map(string) | Map of extra ssl certificates arns applied to the SSL Listener | {} |
| lb_ip_address_type | string | The `ip_address_type` of the LB, either 'ipv4' or 'dualstack' in case ipv6 needs | "ipv4" |
| tags | map(string) | Extra tags to be applied to the resources | {} |
| response_code | string | The default status code to return when no rules have been met | "404" |
| redirect_protocol | string | The protocol to redirect to. | "HTTPS" |
| redirect_status_code | string | The HTTP redirect code to use. | "HTTP_301" |
| https_enabled | bool | Do we enable https | false |
| redirect_rules | list(map(string)) | A list with maps populated with redirect rules | [] |
| ipv6_networking_enabled | bool | Do we configure IPv6 routing and ingress in the VPC | false |
| redirect_port | string | The port to redirect to. | "443" |
| cidr | string | The cidr used for the network | "172.30.0.0/16" |
| certificate_arn | string | The arn of the certificate | "" |
dns_name — Application Load Balancer fqdnzone_id — Application Load Balancer Route53 Zone IDAzure 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,