Add support for AWS ALB redirect action #5475
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/elbv2
Issues and PRs that pertain to the elbv2 service.
Amazon have recently announced support for redirects natively within Application Load Balancers. See Announcement.
This is a useful addition to the ALB as is removes the need to have a separate web server to handle HTTP -> HTTPS redirects.
Configuring the feature requires changes to the aws_lb_listener in terraform. Specifically the default_action needs to support redirect as a type and must also implement a new field type to support the new RedirectActionConfig that has been added to default_action.
The AWS Go SDK has already been updated to support RedirectActionConfig in version 1.14.33.
I would attempt to implement this myself except my limited Go experience does not extend to the schema changes that would need to be implemented to support a new redirect_action_config field type.
Community Note
Description
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: