My terraform code doesn't do what I expect when I try to set the cipher on the load balancer listener...
Rev1, if I don't set the cipher I can use namespace settings like this (several of them really) in the body of the aws_elastic_beanstalk_environment resource:
setting {
namespace = "aws:elb:listener:443"
name = "ListenerProtocol"
value = "HTTPS"
}
And that works as expected, but the listeners get the default cipher.
There isn't an option in that namespace for the cipher. There is one however in the aws:elbv2:listener:443 namespace
setting {
namespace = "aws:elbv2:listener:443"
name = "SSLPolicy"
value = "ELBSecurityPolicy-TLS-1-2-2017-01"
}
But when I switch to using elbv2 the resulting elastic beanstalk app only has the default port 80 listener on http. It's like my elbv2 namesspace had no effect at all and it just feel back to the default.
Could be a bug in terraform I guess, but I am more inclined to believe I am doing something wrong. Anyone have any ideas?