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
demandé il y a 2 mois113 vues
1 réponse
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
EXPERT
répondu il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions