aws / aws-parallelcluster-ui

Apache License 2.0
31 stars 20 forks source link

Handle CostExplorer not being enabled in GET /cost-monitoring #215

Closed mendaomn closed 1 year ago

mendaomn commented 1 year ago

Description

This PR handles the case in which Cost Explorer has not been manually launched by the customer, by having the GET /cost-monitoring endpoint return active: false, instead of returning an error

Changes

How Has This Been Tested?

PR Quality Checklist

In order to increase the likelihood of your contribution being accepted, please make sure you have read both the Contributing Guidelines and the Project Guidelines

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