Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Custom Tags - Length exception #77

Open
jr-air opened this issue Jan 22, 2020 · 3 comments
Open

Custom Tags - Length exception #77

jr-air opened this issue Jan 22, 2020 · 3 comments
Labels

Comments

@jr-air
Copy link

jr-air commented Jan 22, 2020

Hi, we noticed we are occasionally hitting a "length" limit when using custom tags. AWS seems to have an upper limit of 256 chars in one request, but since our accounts are federated, sometimes the combination of all our tags exceeds this limit. Is there any easy way to update tagging to multiple request instead of a single api call?

'1 validation error detected: Value '{AutoTag_ClientInfo=SourceIP: 71.38.00.00, UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0, AutoTag_UserIdentityType=AssumedRole, AutoTag_CreateTime=2020-01-20T03:08:24Z, AutoTag_Creator=arn:aws:sts::750000000000:assumed-role/AWS-Role-xxxxxxx/xxxx}' at 'tags' failed to satisfy constraint: Map value must satisfy constraint: [Member must have length less than or equal to 256, Member must have length greater than or equal to 0, Member must satisfy regular expression pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$]'
]

@rayjanoka
Copy link
Collaborator

Hi @jr-air, this is interesting, I'll take a look..

@jr-air
Copy link
Author

jr-air commented Jan 22, 2020 via email

@rayjanoka
Copy link
Collaborator

Seems like most of the APIs have this limit, I'm working on a patch. Thanks for passing this along.

@rayjanoka rayjanoka added the bug label Feb 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants