-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
history
reports duplicate version numbers for Parameter Store key
#491
Comments
history
reports duplicate version numbers for Parameter Store key
Actually, I am able to reproduce this bug, if I create and update the key/values in quick succession. Note the Date column timestamps relative to the duplicate version Here, the delay between updates is short (2 or 3 seconds).
Another example with short delay between updates (2 seconds). Note how 3 of the 4 versions have the same version
If the delay between updates is slightly longer (4+ seconds), Chamber reports unique version numbers for each history item.
|
Further investigation reveals that Chamber appears to be incorrectly reporting the The
The
|
Looking at the source code, I see the Additionally, I see that source code was committed on June 12, 2017, which predates the AWS Blog post (link) on October 26, 2017, announcing that Parameter Store now provides native support for unique version numbers in secrets history. Thus, Chamber's use of the As for why Chamber is unable to increment the version number in the That said, the source code (link) in the |
The output of
history
reports duplicate version numbers for the same Parameter Store key.Initially, I created 3 versions of the same key.
List the history of the versions. Note how the two most recent versions are both reported as version
2
.Version
1
and the initial version2
can be referenced directly, by number.Unfortunately, the third version cannot be referenced by number. However, it can be referenced by relative number (
-1
is latest).Now, create a fourth version of this key.
The
history
still reports the two items as having version2
, and the most recent (fourth) version is listed as version3
.However, a screenshot of the AWS console reports distinct versions
1
,2
,3
, and4
. Note how theLast modified date
column in the AWS console reports the same timestamps as found in the output of thechamber history
command above.Note also how the following command fetches version
3
(according to Chamber), but in fact, the timestamp corresponds to Version4
within the AWS console. As further confirmation, the value corresponds to the fourth version of the key, as modified by thechamber write
command earlier in this issue description.Therefore, it would seem that Chamber may have a bug in how it tracks/reports version numbers of a Parameter Store key's history.
Although I have not been able to reproduce this, I searched previous Issues in this repo and found issue #308, which seems to report a similar bug.
The text was updated successfully, but these errors were encountered: