petoju / terraform-provider-mysql

Terraform MySQL provider – unofficial fork
https://registry.terraform.io/providers/petoju/mysql
Mozilla Public License 2.0
63 stars 40 forks source link

Add Ability to load Certificates from Data Resources/Secrets #123

Closed davidcollom closed 3 months ago

davidcollom commented 3 months ago

The current implementation for TLS requires that the certificates exist on disk - however, if the only access you have to these secrets is via an external secret manager (say SecretManager, Vault etc).

I did think of creating two new parameters but it felt like it was easier to discover if someone had used a string of a cert instead of a file path.

petoju commented 3 months ago

Could you please add documentation to the respective option? Documentation is in the folder website

davidcollom commented 3 months ago

Yep! I can add those in the next hour or so! 👍

petoju commented 3 months ago

Release in v3.0.52