Config: AWS maintained required tags rule parameter limit increase

0

We are using the aws maintained required-tags rule to check for tagging compliance. Some of our resources will require more than 6 mandatory tags. The aws config rule only supports 6 by default and I cannot find a way to increase this number. Any attempts to do so via the console, terraform or Cloudformation yield an invalid parameter error. The documentation found here: https://docs.aws.amazon.com/config/latest/developerguide/required-tags.html indicates that 6 key-value pairs are supported. As far as I can tell I would need to deploy two config rule for a resource type if for example 8 key-value pairs are required. The supported 6 key value pairs seems arbitrary. Is there any way I can modify this? Is the code for the rule available somewhere in git? If this is the case I can utilize it to create a custom rule.

demandé il y a 2 ans237 vues
1 réponse
0

My recommendation is to create your own custom rule in AWS Config through a Lambda Function:

https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_develop-rules_nodejs.html

AWS
vtjean
répondu il y a un an

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