Skip to content

Instantly share code, notes, and snippets.

View vikas027's full-sized avatar
🏠
Working from home

Vikas Kumar vikas027

🏠
Working from home
  • Sydney, Australia
View GitHub Profile
@paultyng
paultyng / password.tf
Last active November 30, 2017 22:52
Terraform Random Password Module
variable "length" {
default = "20"
}
resource "random_id" "password" {
byte_length = "${var.length * 3 / 4}"
}
output "password" {
value = "${random_id.password.b64}"