![github-actions[bot]](/assets/img/avatar_default.png)
* Create rule S7452 * SONARIAC-1869 Create rule S7452 AWS resource tags should have valid format --------- Co-authored-by: petertrr <petertrr@users.noreply.github.com> Co-authored-by: Peter Trifanov <peter.trifanov@sonarsource.com>
11 lines
701 B
Plaintext
11 lines
701 B
Plaintext
Amazon Web Services (AWS) resources tags are metadata labels with keys and optional values used to categorize and manage resources.
|
|
|
|
== Why is this an issue?
|
|
|
|
Proper tagging enhances resource discovery, lifecycle management, and overall productivity within the AWS environment. If tags do not comply with the AWS format, it can lead to confusion and inefficiency in managing resources, as well as unexpected behavior of the system.
|
|
|
|
AWS resource tags should comply with the format stated in AWS documentation. That is, tag keys should:
|
|
|
|
* Be between 1 and 128 characters long
|
|
* Consist of Unicode letters, digits, white spaces, and the following characters: `_ . : / = + - @ "`
|
|
* Not start with `aws:` |