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.
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?