Santosh Ananthakrishnan 4f1a1a9d1e [iam] create_policy_version: Fix version id calculation
When creating a new IAM policy version with create_policy_version,
we cannot use the length of the versions list to calculate VersionId.
Keep track of the next version id to use as a non-decreasing counter.

Fixes #2157
2019-04-16 20:15:57 +00:00
..
2018-04-13 10:37:06 -04:00
2019-02-18 09:44:48 -06:00
2019-02-17 09:25:35 -06:00
2017-05-10 21:58:42 -04:00
2017-02-23 21:37:43 -05:00
2019-02-18 09:15:07 -06:00
2019-03-28 10:09:03 -07:00
2017-09-27 09:54:46 +01:00
2017-06-20 11:58:18 -07:00
2019-03-28 10:09:03 -07:00
2018-12-21 14:04:52 -08:00
2017-02-23 21:37:43 -05:00
2017-10-16 17:06:22 -07:00
2017-02-15 22:35:45 -05:00
2017-02-23 21:37:43 -05:00
2017-02-23 21:37:43 -05:00