Closed joestump closed 6 years ago
After much flailing, I got govendor
to Do The Thing. Tests pass now and keybase:username
works now as well.
To decrypt with Keybase:
terraform output encypted_password | base64 --decode | keybase pgp decrypt
@apparentlymart docs are done. I think this is ready for merge. I might take a stab at imports for users and DBs later. 👍
@joestump this is great! 🎉 😸 @vancluever What do you think of this? Do you think it can get merged?
@thomaschaaf can you approve?
@thomaschaaf @willejs @vancluever anything I can do to help move this PR along? #34 looks like it's ready for merge as well.
Hey @joestump, very sorry for the radio silence on this one.
I just took a look, and there's a couple of things off the bat that I can see:
resource_mysql_user_password_test.go
file.Let me know!
@vancluever added a basic acceptance test. Any help on cleaning up dependencies would be greatly appreciated. Thanks!
Sorry to be that guy, but @vancluever, I'd love to see this merged
I just got added as a maintainer on this. I've got some cleanup work to do before this will get merged in. More on this soon!
Closing this out in favor of #47, which is based on the go mod
dependency management added in PR #44.
Attached is a
mysql_user_password
resource for managing MySQL passwords safely with Terraform. It can be used to assign auto-generated passwords and rotate them. Passwords are stored using PGP encryption in the TF state file.You can then output the
encrypted_password
attribute and decrypt:To rotate the password:
Here's the
main.tf
I used for testing:Output of
make testacc
: