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-10-16 17:14:23 -07:00
2017-02-23 21:37:43 -05:00