Open ogoding opened 1 year ago
Voting for Prioritization
Volunteering to Work on This Issue
Hey @ogoding 👋 Thank you for taking the time to raise this! I'm not certain that this is behavior that the provider can validate at runtime, but will leave this request open as an enhancement so that one of the maintainers may verify my thoughts.
Hey @justinretzolk, so sorry for taking so long to respond. Thanks for taking the time to read and updating the issue to an Enhancement.
I'm not particularly familiar with golang or the codebase, however I did find this line in environment.go that seems to do some sort of EB setting error checking. If I can help at all I'd be happy to as it was a nasty gotcha to encounter and hopefully preventing it will save others until Elastic Beanstalk starts rejecting the setting combination directly.
Terraform Core Version
1.2.1
AWS Provider Version
4.67.0
Affected Resource(s)
aws_elastic_beanstalk_environment
Expected Behavior
Terraform would throw an error when
SSLCertificateId
is not specified whenaws:elb:listener:443
settings are specified, as well as preventingSSLCertificateId
from being specified for theaws:elb:listener
namespace.Actual Behavior
terraform apply
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None