Importing ConfigRule via CloudFormation

0

I am receiving the below error whilst importing a CloudFormation template and matching it with the corresponding ARN:

one or more configrules provided in the request are invalid. please check the configrule names. (service: config, status code: 400, request id: f05586e8-4430-4902-96eb-4bd3d28b9809)

profile picture
已提問 2 個月前檢視次數 113 次
1 個回答
0

The error indicates that one or more of the ConfigRules provided in the CloudFormation template are invalid. A few things you can check:

Verify the ConfigRule names specified in the template match existing rules in AWS Config.

Check that the rules are defined for the same region where you are deploying the CloudFormation stack.

Make sure any nested objects like ruleScope are defined correctly.

You can get the list of existing ConfigRules using the AWS CLI:


aws configservice describe-config-rules

Compare the rule names in the output to what is specified in the template. Updating the template with valid rule names should resolve the error.

profile picture
專家
已回答 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南