You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was writing a blog post about how open-source modules are great because we get the best security practices out of the box. And I was looking at this module to provide a good example of that... and yet, I don't think it does a great job in the "security first" category. Examples below in expected behavior.
Expected Behavior
What I'd expect this module to do by default:
HTTP (port 80) enabled, but redirects to HTTPS (port 443) by default
HTTPS enabled by default and certificate_arn required (null allowed in the case that the user wants to configure HTTP only)
Use Case
I believe Cloud Posse modules should be built to be secure by default, and should be configurable for the POC use-cases (e.g. using HTTP instead of HTTPS).
Describe Ideal Solution
We implement secure by default.
Alternatives Considered
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
I agree with the proposed defaults in this proposal. To quote Cloud Posse Terraform Best Practices:
"Modules should be as turnkey as possible. The default value should ensure the most secure configuration (E.g. with encryption enabled)."
I'd also double down and say that the module should offer better support for gRPC and HTTP/2 applications and secure configurations for those protocols as well.
Discussed internally to @cloudposse contributors and we've decided this is worth doing. I'll note this down as a go and circle back around to implement when I have time 👍
Describe the Feature
I was writing a blog post about how open-source modules are great because we get the best security practices out of the box. And I was looking at this module to provide a good example of that... and yet, I don't think it does a great job in the "security first" category. Examples below in expected behavior.
Expected Behavior
What I'd expect this module to do by default:
certificate_arn
required (null
allowed in the case that the user wants to configure HTTP only)Use Case
I believe Cloud Posse modules should be built to be secure by default, and should be configurable for the POC use-cases (e.g. using HTTP instead of HTTPS).
Describe Ideal Solution
We implement secure by default.
Alternatives Considered
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: