pulumi/tests/integration/large_resource/go/main.go

19 lines
319 B
Go

//go:build !all
// +build !all
package main
import (
"strings"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create and export a very long string (>4mb)
ctx.Export("longString", pulumi.String(strings.Repeat("a", 5*1024*1024)))
return nil
})
}