cloudposse / terraform-aws-elastic-beanstalk-environment

Terraform module to provision an AWS Elastic Beanstalk Environment
https://cloudposse.com/accelerate
Apache License 2.0
304 stars 325 forks source link

list loadbalancer_certificate_arn #47

Open mrl045 opened 6 years ago

mrl045 commented 6 years ago

Hi Guys,

Thank you for the great work you made available. Currently I am bumped to this particularly use case: Using Multi-Docker environments which are reachable through an Application Loadbalancer with HostHeaders enabled. Some of the applications are reachable through other HostHeaders: e.g. app.domain1.com and web.domain2.com.

Terraform recently presented a fix for the AWS provider which allows usage of multiple ACM certificates for an Application Loadbalancer (https://github.com/terraform-aws-modules/terraform-aws-alb/issues/26)

capture

.

TL:DR is it possible to change loadbalancer_certificate_arn to type of List.

loadbalancer_certificate_arn = ["${module.acm-application.acm_certificate_arn}"]

osterman commented 6 years ago

@mrl045 sounds good to me. Would you be able to submit a PR?

osterman commented 6 years ago

Btw, join our slack community if you haven't already: https://slack.cloudposse.com

aknysh commented 6 years ago

@mrl045 thanks for opening the issue? will you be able to test and submit a PR? if not for any reason, we'll probably take a look in a few days

SubrahmanyaSarma commented 3 years ago

Hi All, I am also facing the same issue. have you found the solution for this scenario. Thanks.