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
feita há 2 meses113 visualizações
1 Resposta
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
ESPECIALISTA
respondido há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas