-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
In the documentation on how to import a Pulumi resource here: https://sst.dev/docs/import-resources/
the documentation says that I should attempt the import and change the fields that the import tells me to change.
I'm trying to import a Cloudfront Distribution and the very helpful message I get is:
inputs to import do not match the existing resource: [comment origins]
Since origins is a massive complex JSON as detailed here:
https://www.pulumi.com/registry/packages/aws/api-docs/cloudfront/distribution/#distributionorigin
That comment is worse than useless and I have been fiddling with the values for a while now failing to get anywhere.
Is there any approach that would allow SST to print a better error message or allow dropping into a Pulumi console to allow debugging the error, or maybe doing a manual import that might suggest how to debug the issue? Or any kind of documentation which might help explain what to do?