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

Feature to add certificates to ELBv2 listener #191

Closed
royge opened this issue Feb 13, 2018 · 4 comments
Closed

Feature to add certificates to ELBv2 listener #191

royge opened this issue Feb 13, 2018 · 4 comments

Comments

@royge
Copy link

royge commented Feb 13, 2018

Similar to aws elbv2 add-listener-certificates

@royge royge changed the title Command to attach multiple certificates to ELBv2 listener Feature to add certificates to ELBv2 listener Feb 13, 2018
@simcap
Copy link
Contributor

simcap commented Feb 13, 2018

@royge Thanks for the suggestion. Indeed, it seems that it should be added. We will do that for the next release.

I will look at it this week or more probably beginning of March when I am back from some time off. I'll update this issue accordingly.

simcap added a commit that referenced this issue Feb 13, 2018
@simcap
Copy link
Contributor

simcap commented Feb 13, 2018

@royge Now available in master: go get -u github.com/wallix/awless (and included be in the next release)

  • Get the command help & examples with awless attach listener -h.

  • Perform it from the CLI and let awless do the work through the command prompting. So do awless attach listener, press ENTER. Then use the TAB completion which will help you find easily any awless alias or resources ARN.

  • If you want the command to be part of a awless template and run it with awless run ... it would be for example:

...
list_arn = create listener actiontype=forward port=26257 protocol=TCP ....
attach listener id=$list_arn certificate=@www.mysite.io
...

Let me know how it goes for you, so we can get scheduled it for the next release.

Also awless aliases are great so if you are not familiar with them have a look at them. And if you are not familiar with awless templates here would be an advanced example.

(Note: It would be better and less surprising to have attach certificate listener=.... arn=.. but we cannot do it this way as for now. We will improve on that)

@simcap
Copy link
Contributor

simcap commented Feb 13, 2018

@royge When more details on a listener is needed (and especially check if you have attached correctly a certificate) use awless show REF which get a full picture of the resource.

For a listener you would use the listerner ARN: awless show arn:......

To easily copy/paste a listener's ARN, list them with awless ls listeners --columns id

@royge
Copy link
Author

royge commented Feb 14, 2018

@simcap Wow! that was so fast!

@royge royge closed this as completed Feb 14, 2018
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

2 participants