ambitious-father-68746
11/15/2023, 11:45 AMproperties
when doing a pulumi import
. Let's say I have the following code:
random.RandomPassword(example, length=3, special=False)
I also have a predefined string I want to use:
abc
I can import the resource with:
pulumi import random:index/randomPassword:RandomPassword example abc
The problem is that Pulumi wants to replace the resource, since special
defaults to `true`:
+- ├─ random:index:RandomPassword example replace [diff: ~special]
Is there a way to tell Pulumi that the value of a property should be something else when importing? Thanksdry-keyboard-94795
11/15/2023, 11:52 AMambitious-father-68746
11/15/2023, 11:53 AMdry-keyboard-94795
11/15/2023, 11:55 AMambitious-father-68746
11/15/2023, 11:56 AMspecial
property it won't do anything on the pulumi up
dry-keyboard-94795
11/15/2023, 1:20 PMambitious-father-68746
11/15/2023, 3:18 PMdry-keyboard-94795
11/15/2023, 3:19 PM