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

[WIP] New Resource: LB Listener Additional Certificates #2649

Closed
wants to merge 4 commits into from
Closed

[WIP] New Resource: LB Listener Additional Certificates #2649

wants to merge 4 commits into from

Conversation

oarmstrong
Copy link
Contributor

This PR is for #1853 and is a second attempt of the PR #2203.

We create a new resource aws_lb_listener_certificate which is used to add additional certificates into an HTTPS load balancer listener. This does not effect the certificate_arn argument to aws_lb_listener as there must still be a default certificate assigned to the listener.

I need help with the acceptance tests currently. They currently fail in the destroy phase as I believe the listener resource is being destroyed before the listener certificate resource and therefore the listener cannot be found. This could fairly easily be worked around by allowing a ListenerNotFound error in the destroy test but I don't believe that'd be testing the destruction of this specific resource correctly. Maybe @radeksimko can be of assistance here (as he reviewed my previous PR).

Other than that failing test this is ready to go IMO.

@oarmstrong oarmstrong mentioned this pull request Dec 13, 2017
@Ninir Ninir added the enhancement Requests to existing resources that expand the functionality or scope. label Dec 14, 2017
}
}

if *resp.NextMarker != "" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if resp.NextMarker != nil {

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise causes segfault

@oarmstrong
Copy link
Contributor Author

Closing in favour of #2686.

@oarmstrong oarmstrong closed this Jan 8, 2018
@bflad bflad added this to the v1.10.0 milestone Feb 27, 2018
@oarmstrong oarmstrong deleted the lb-additional-certificates branch March 3, 2018 15:14
@ghost
Copy link

ghost commented Apr 7, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants