This message was deleted.
s
This message was deleted.
l
You could
pulumi state delete urn:pulumi:dev1::ucboitlake::aws:redshift/snapshotScheduleAssociation:SnapshotScheduleAssociation::redshift-snapshot-schedule-association
?
🙌 1
1
m
wow that worked, so clearly I'm not understanding something. thank you for your input @little-cartoon-10569! I thought that
refresh
was specifically made for accommodating the changing so-called "state" of a given stack when making alteration via console or CLI what am I missing or getting wrong here?
l
Pulumi uses the state to determine what resources to "look up" in your cloud provider. If the information in the state that enables the look-up is wrong (e.g. in this case, it points to something that doesn't exist), then Pulumi can't use that information to update its own state.
Essentially: Pulumi can detect change in known resources, but it can't detect the manual creation, deletion, or replacement of a resource if the change has materially affected the resource's ARN (or whatever is used to find the resource).
👍 1
m
@little-cartoon-10569 I think that makes sense, but I need to test more to really get it. Thanks again for the help!
👍 1