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

Set custom security policy on AWS ELB #2171

Closed
nwalke opened this issue Jun 1, 2015 · 13 comments
Closed

Set custom security policy on AWS ELB #2171

nwalke opened this issue Jun 1, 2015 · 13 comments

Comments

@nwalke
Copy link
Contributor

nwalke commented Jun 1, 2015

Is there a way to set a custom security policy on an ELB? I didn't see any mention of it in the documentation.

https://www.terraform.io/docs/providers/aws/r/elb.html

If not, it would be nice to have.

@phinze
Copy link
Contributor

phinze commented Jun 1, 2015

Hi @tubaguy50035 - perhaps you were looking for the security_groups attribute?

Let me know if you meant something else.

@nwalke
Copy link
Contributor Author

nwalke commented Jun 1, 2015

Yeah, I should have elaborated a bit more. We need to disable TLSv1 for some compliance things, so in order to do that I need to set a custom security policy for my HTTPS listener cipher.

@phinze
Copy link
Contributor

phinze commented Jun 1, 2015

Ah gotchya - like this:

https://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_SetLoadBalancerPoliciesOfListener.html

We don't support that yet - tagging as a feature request and we'll get this looked at!

@nwalke
Copy link
Contributor Author

nwalke commented Jun 1, 2015

@robzienert
Copy link
Contributor

+1 this would be a great feature.

@bruno
Copy link

bruno commented Nov 5, 2015

Definitely interested in this particular feature too, it's a must with compliance like PCI-DSS when SSLv3 will soon be banned from the allowed protocols, etc.

@bruno
Copy link

bruno commented Nov 5, 2015

I am by no means a golang expert, so please take this comment with a pinch of salt, it seems that from reading https://github.com/aws/aws-sdk-go/blob/master/service/elb/api.go it seems that adding policies is supported by the SDK ...

@nwalke
Copy link
Contributor Author

nwalke commented Nov 5, 2015

The API is not the problem, just need to wait until someone implements it in Terraform.

@bruno
Copy link

bruno commented Nov 5, 2015

I realise that. I was just being proactive and doing some research and making sure that it was just a terraform side implementation issue. 

Update: BTW sorry, I didn't intend to be disrespectful in my reply ⬆️ I am just trying to say that's why I looked at the AWS-SDK to make sure that it was not a limitation of the underlying libraries ... I wish I had the chops in golang (and the time) to implement this as I would love to be able to stop using CloudFormation for the ELBs and migrate that configuration to terraform 😄

@ryanking
Copy link
Contributor

This is likely a duplicate of #1226.

@fpmosley
Copy link

A pull request has been created to add a new resource in the AWS provider that will set a custom security policy on the ELB. #5637

@catsby
Copy link
Contributor

catsby commented Mar 23, 2016

Closing as a duplicate of #1226, and as @ryanking mentioned it looks like this is implemented in #5637!

@ghost
Copy link

ghost commented Apr 23, 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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants