aws-well-architected-labs icon indicating copy to clipboard operation
aws-well-architected-labs copied to clipboard

Level 200: Cloud Intelligence Dashboards > CloudFormation template fails if no RI/SPs exist

Open sandwormusmc opened this issue 2 years ago • 1 comments

Deploying via CloudFormation in the lab, get a bunch of errors, have to go log diving.

Thinking it's because there are no Reserved Instances or Savings Plans in the account I'm working in?

CloudFormation errors:

2022-08-23 01:37:37 UTC-0400 cost-intelligence-dashboards-main ROLLBACK_IN_PROGRESS The following resource(s) failed to create: [QSCURBuildViewsLambdaExecutor]. Rollback requested by user.
2022-08-23 01:37:36 UTC-0400 QSCURBuildViewsLambdaExecutor CREATE_FAILED Received response status [FAILED] from custom resource. Message returned: See the details in CloudWatch Log Stream: 2022/08/23/[$LATEST]09a89c96b4a54434b4f58977f9983c19 (RequestId: 0add9483-1abb-40f1-a39f-02ece9dc2f6c)
{Reason: "Step: Identify RI SP configuration Exception: [<class botocore.errorfactory.InvalidRequestException>] An error occurred (InvalidRequestException) when calling the GetQueryResults operation: Query did not finish successfully. Final query state: FAILED", views_execution_uuid: b04f96ee-22a5-11ed-b95b-2ed36a1c7e5f}
{Reason: "Step: Identify RI SP configuration Exception: [<class botocore.errorfactory.InvalidRequestException>] An error occurred (InvalidRequestException) when calling the GetQueryResults operation: Query did not finish successfully. Final query state: FAILED", views_execution_uuid: b04f96ee-22a5-11ed-b95b-2ed36a1c7e5f}

2022-08-23T01:37:34.131-04:00	https://cloudformation-custom-resource-response-uswest2.s3-us-west-2.amazonaws.com/arn%3Aaws%3Acloudformation%3Aus-west-2%3Asomeaccountid%3Astack/cost-intelligence-dasboards-main/therestisredacted

2022-08-23T01:37:34.131-04:00	Response body:

2022-08-23T01:37:34.131-04:00	{"Status": "FAILED", "Reason": "See the details in CloudWatch Log Stream: 2022/08/23/[$LATEST]09a89c96b4a54434b4f58977f9983c19", "PhysicalResourceId": "b04fa06c-22a5-11ed-b95b-2ed36a1c7e5f", "StackId": "arn:aws:cloudformation:us-west-2:someaccountid:stack/cost-intelligence-dasboards-main/therestisredactedesults operation: Query did not finish successfully. Final query state: FAILED", "views_execution_uuid": "b04f96ee-22a5-11ed-b95b-2ed36a1c7e5f"}}

sandwormusmc avatar Aug 23 '22 06:08 sandwormusmc

any update about this issue ? same error here.

shakka47 avatar Aug 31 '22 14:08 shakka47