# aws


10/23/2023, 10:04 PM
I am trying to run the import command to generate the script to create an ecr repository. The repository certainly exists in AWS but when I run "pulumi import awsecr/repositoryRepository api-orders api-orders" I get the error below. I am assuming perhaps Pulumi is looking at the wrong aws region or I am missing something in the import command.
Copy code
aws:ecr:Repository (api-orders):
    error: Preview failed: resource 'api-orders' does not exist
Does anyone see what I am doing wrong or a way to figure out the best way to debug?