mirror of https://github.com/pulumi/pulumi.git
18 lines
307 B
Puppet
18 lines
307 B
Puppet
config "passwordLength" "number" { }
|
|
|
|
resource "randomPet" "random:index/randomPet:RandomPet" {
|
|
|
|
}
|
|
|
|
resource "randomPassword" "random:index/randomPassword:RandomPassword" {
|
|
length = passwordLength
|
|
}
|
|
|
|
output "petName" {
|
|
value = randomPet.id
|
|
}
|
|
|
|
output "password" {
|
|
value = randomPassword.result
|
|
}
|