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.

已提问 2 年前237 查看次数
1 回答
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
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则