Import with different parameters #480
Labels
area/import
An issue related to `pulumi import` or the import resource option.
kind/enhancement
Improvements or new features
Hello!
Issue details
Currently, it's possible to import a
RandomPassword
with the below command (as documented):which will generate the below code:
It isn't possible, however, to import with different parameters, such as with
special=False
.Terraform provides a work-around by use of
ignore_changes
, where you can temporarily mark a parameter as ignored while you change it, then remove the ignore afterwards.This doesn't work in Pulumi, as the
input
remains unchanged in state when the parameter is ignored.This means making the change isn't possible without either losing the value, or manually modifying the state:
The example above uses
RandomPassword
, however it's assumed this also impactsRandomString
as well.Originally raised in Slack
Affected area/feature
The text was updated successfully, but these errors were encountered: