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
posta 2 mesi fa113 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande