I have a bash script that uses AWS CLI to put value to a parameter in AWS Systems Manager Parameter Store.
The bash script is run on an EC2 instance and there are several instances deployed. So I have no control over the concurrency of the bash scripts. I need the script to retry if there were concurrent updates and the update from the script was rejected.
I have checked the AWS documentation and searched other questions and forums for a documentation on this topic.
All I can refer to is a "TooManyUpdates" 400 error documented here.
What is the behaviour of AWS Systems Manager Parameter Store on concurrent updates?