SSM 参数允许的最大版本更改数

Maximum number of allowed versions changes for SSM Parameter

我创建了一个 SSM 参数,需要对其进行频繁更新(几乎每分钟 20 次)。 SSM put_parameter API 说它可以 return 一些错误,以防它超过最大限制版本。

已超出参数最大版本限制 该参数超出了允许的最大版本数。

HTTP 状态代码:400

https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PutParameter.html

所以我的问题是我们可以进行的最大允许版本更改是多少,这个限制是可配置的吗?

官方文档参考将非常有帮助

对于您的问题,参数的存储过去 100 个值有限制。 欲了解更多信息,您可以通过以下link: https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm

根据 AWS Support,100 是截至 2022 年 3 月的软硬限制:

Our service team has got back to us and has informed us that unfortunately 100 is the hard limit for this specific service.

They've determined that a parameter can have max 100 versions at a given time. Parameter Store rotates the history of the parameter, when version 101 is created, the oldest version is deleted. This should happen automatically. If you're seeing ParameterMaxVersionLimitExceeded, you may have a label associated with the oldest version. You may need to move the label to another version, to be able to overwrite the parameter.