Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict when switching ALB from HTTP to HTTPS #9

Open
chrisshiplet opened this issue Feb 2, 2023 · 0 comments
Open

Conflict when switching ALB from HTTP to HTTPS #9

chrisshiplet opened this issue Feb 2, 2023 · 0 comments

Comments

@chrisshiplet
Copy link
Contributor

│ Error: error creating ELBv2 Listener: DuplicateListener: A listener already exists on this port for this load balancer 
│       status code: 400, request id:
│ 
│   with module.load_balancer.aws_lb_listener.https_redirect[0],
│   on .terraform/modules/load_balancer/main.tf line 39, in resource "aws_lb_listener" "https_redirect":
│   39: resource "aws_lb_listener" "https_redirect" {
│ 

When I add a certificate_arn to an ALB that didn't have one before, I get this error because it tries to create the new listener before removing the old one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant