AWS Cloudformation: AWS Certificate Manager To import SSL
Solution 1:
You can import the cert into ACM at first, and then provide Certificate ARN as the Parameters of ELB in the CF template.
following an example of CF:
Parameters:
"CerttificationArn": {
"Default": "",
"Description": "ARN for the Certificate",
"Type": "String"
},
ELB:
....
"Listeners": [
{
"LoadBalancerPort": "80",
"InstancePort": "80",
"Protocol": "HTTP"
},
{
"LoadBalancerPort": "443",
"Protocol": "HTTPS",
"InstancePort": "443",
"InstanceProtocol": "HTTPS",
"PolicyNames": [ "SSL-Policy" ],
"SSLCertificateId": { "Ref": "CerttificationArn" }
}
...