2020-06-30 01:10:34 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2021-09-29 18:33:57 +00:00
|
|
|
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
|
2021-03-17 13:20:05 +00:00
|
|
|
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
|
2020-06-30 01:10:34 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
pulumi.Run(func(ctx *pulumi.Context) error {
|
2021-11-04 16:28:48 +00:00
|
|
|
_, err := random.NewRandomPet(ctx, "random-pet", &random.RandomPetArgs{
|
2020-06-30 01:10:34 +00:00
|
|
|
Prefix: pulumi.String("doggo"),
|
|
|
|
})
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
})
|
|
|
|
}
|