IAM policies: 2012-10-17

While creating IAM policies you might have wondered what's 2012-10-17

According to AWS documentation, IAM currently (as per February 2021) supports two versions

  • 2012-10-17: It is the latest version available
  • 2008-10-17: The previous version of the policy language, actually it is still the default

So, if you don't explicitly specify 2012-10-17 there are a bunch of features that you won't be able to use, such as policy variables: For example, variables such as ${aws:username} won't be recognized as variables and are treated as literal strings instead.

Posted on 08/02/2021