hi, I am using pulumi-random provider to import a ...
# golang
e
hi, I am using pulumi-random provider to import a random string, following the steps from docs. Running into the below error. code
Copy code
rs, err := random.NewRandomString(ctx, fmt.Sprintf("some-project-suffix", name), &random.RandomStringArgs{
		Length:  <http://pulumi.Int|pulumi.Int>(4),
		Special: pulumi.Bool(false),
	})
Copy code
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?