podaac / cumulus-disaster-recovery

Disaster Recovery software for the Cumulus ingest and Archive system.
Other
0 stars 5 forks source link

Error when running invoke lambda function #5

Closed camposeddie closed 4 years ago

camposeddie commented 4 years ago
Error: Error running command 'aws lambda invoke --function-name arn:aws:lambda:us-west-2:xxxxx:function:ghrcectest_db_deploy --region us-west-2 'invoke-response.out'': exit status 255. Output: 
Read timeout on endpoint URL: "https://lambda.us-west-2.amazonaws.com/2015-03-31/functions/arn%3Aaws%3Alambda%3Aus-west-2%3Axxxxxx%3Afunction%3Aghrcectest_db_deploy/invocations"

Following the url in my browser leads to the following output:

<AccessDeniedException>
  <Message>Unable to determine service/operation name to be authorized</Message>
</AccessDeniedException>
camposeddie commented 4 years ago

Error was due to mismatch in prefix between cumulus stack and disaster recovery i.e. trying to access the incorrect resources.