hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.87k stars 9.21k forks source link

TLS NLB for Beanstalk Settings errors #10131

Open ghost opened 5 years ago

ghost commented 5 years ago

This issue was originally opened by @ytejas as hashicorp/terraform#22800. It was migrated here as a result of the provider split. The original body of the issue is below.


Terraform Version

v0.11.11

Terraform Configuration Files

 setting = {
     namespace = "aws:elbv2:listener:443"
     name      = "SSLCertificateArns"
     value     = "${var.acm_certificate_arn}"
   } 

  setting = {
     namespace = "aws:elbv2:listener:443"
     name      = "SSLPolicy"
     value     = "ELBSecurityPolicy-TLS-1-2-2017-01"
   } 

Debug Output

Crash Output

Expected Behavior

Actual Behavior

SSL options are not supported for Network Load Balancers.

Steps to Reproduce

Additional Context

Following the documentation but the SSLCertificateArns and SSLPolicy does not apply. Beanstalk fails with the error - Failed Environment update activity. Reason: Configuration validation exception: Invalid option value: 'null' (Namespace: 'aws:elbv2:listener:443', OptionName: 'SSLCertificateArns'): SSL options are not supported for Network Load Balancers.

References

Link: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-elbv2-listener-default .

justinretzolk commented 2 years ago

Hey @ytejas :wave: Thank you for taking the time to file this issue! Given that there's been a number of Terraform and AWS provider releases since you initially filed it, can you confirm whether you're still experiencing this behavior?