aws-sdk-js-v3 icon indicating copy to clipboard operation
aws-sdk-js-v3 copied to clipboard

fix(ec2): handle unauthorized exception

Open DoctorFTB opened this issue 1 year ago • 0 comments

Issue

Issue number, if available, prefixed with "#"

Description

What does this implement/fix? Explain your changes.

Set FAILURE state if we doesn't have access for operation

Testing

How was this change tested?

  • Create access key for user which doesn't have any access
  • Run waitUntilInstanceRunning function
  • Got timeout, because always retry status

Additional context

Add any other context about the PR here.

Checklist

  • [ ] If you wrote E2E tests, are they resilient to concurrent I/O?
  • [ ] If adding new public functions, did you add the @public tag and enable doc generation on the package?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

DoctorFTB avatar Mar 14 '24 20:03 DoctorFTB