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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南