eager-vase-43200
10/03/2021, 4:31 PMrs, err := random.NewRandomString(ctx, fmt.Sprintf("some-project-suffix", name), &random.RandomStringArgs{
Length: <http://pulumi.Int|pulumi.Int>(4),
Special: pulumi.Bool(false),
})
pulumi -v=3 import random:index/randomString:RandomString some-project-suffix ffde
Previewing import (leftbin/org)
Type Name Plan Info
+ pulumi:pulumi:Stack some-stack create 1 error
= └─ random:index:RandomString some-project-suffix import 2 errors
Diagnostics:
pulumi:pulumi:Stack (some-stack):
error: preview failed
random:index:RandomString (some-project-suffix):
error: random:index/randomString:RandomString resource 'some-project-suffix' has a problem: Required attribute is not set. Examine values at 'RandomString.Length'.
error: Preview failed: one or more inputs failed to validate
can someone please help?