ambitious-school-30758
10/30/2024, 11:47 PMresource_args = pulumi_random.RandomPasswordArgs(
length=64,
lower=True,
upper=True,
numeric=True,
special=False,
min_lower=0,
min_upper=0,
min_numeric=0,
)
I am trying to import either via CLI or import json an existing password using
CLI:
pulumi import "random:index/randomPassword:RandomPassword" "db0/password" "RU5hBS4PZg0lhvUEUCKj4ZJhVBirVSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
JSON:
{
"type": "random:index/randomPassword:RandomPassword",
"name": "db0/password",
"id": "RU5hBS4PZg0lhvUEUCKj4ZJhVBirVSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"provider": "app_platform_random"
},
The resource is imported but the special flag is True so the next up causes it to generate a new password.
How do I import with the correct properties?little-cartoon-10569
10/31/2024, 12:02 AMambitious-school-30758
10/31/2024, 12:38 AM