Avoid surfacing errors in the UI that are caused by failures in interacting with Cost Explorer, regardless the failure root cause.
Changes
Replaced the error notification at the UI level with a console log
Added unit tests to cover the scenario
How Has This Been Tested?
Unit tests
Manual test verifying that errors are not displayed in the UI when access to Cost Explorer is forbidden by a permissions boundary
Manual test verifying that the cost monitoring feature behaves as expected in the UI when the permission boundary is removed and the access to Cost Explorer has recovered.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Avoid surfacing errors in the UI that are caused by failures in interacting with Cost Explorer, regardless the failure root cause.
Changes
How Has This Been Tested?
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.