-
-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Default transit_encryption_mode to null if var.transit_encryption_enabled is false #238
fix: Default transit_encryption_mode to null if var.transit_encryption_enabled is false #238
Conversation
…n_enabled is false
These changes were released in v1.4.1. |
@z0rc couldn't you set this for redis 6.2.6 transit_encryption_enabled = true
transit_encryption_mode = null or would it be better to default the |
@nitrocode I'd prefer |
Also I think module's variable validation isn't needed, as it duplicates validation built in provider. |
Yes that makes sense to me. Since this pr is already open, could you make these changes and regenerate the readme @amontalban ? Thank you so much for your contributions |
@nitrocode I have just pushed the change and also validated with the following changes to the fixtures and it worked fine.
|
/terratest |
what
Fixing this problem when
var.transit_encryption_enabled
isfalse
thetransit_encryption_mode
value should be null.why
I was blindsided with my use case of encrypting everything and I should have covered the default use case.
references
1.4.0
release causes issues with existing cluster where you don't want to enforce encryption in transit #240