Guest User

Untitled

a guest
May 28th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. resource "random_string" "password" {
  2.  length = 16
  3.  special = true
  4. }
  5.  
  6. resource "mysql_user" "root" {
  7.  user = "root"
  8.  host = "example.com"
  9.  plaintext_password = "${random_string.password.result}"
  10. }
Add Comment
Please, Sign In to add comment