문제

I have an elasticbeanstalk application instanciated by cloudformation, but I want to pass it an ARN for an SSL cert to deploy on its ELB. I know how to do it once the ELB is up, I just can't find any docs or examples of how to set it in the cloudformation template. does anyone have a clue?

도움이 되었습니까?

해결책

I think you can try specify it in OptionSettings of AWS::ElasticBeanstalk::Application. You could try something like that:

{
   "Namespace": "aws:elb:loadbalancer",
   "OptionName": "LoadBalancerHTTPSPort",
   "Value": "443"
}

{
   "Namespace": "aws:elb:loadbalancer",
   "OptionName": "SSLCertificateId",
   "Value": "Your certificate ARN"
}

I didn't test it, so it is no guarantee that it will work.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top