puppetlabs/facter — pull request #382 by rdark (2013-01-09 17:37:53+00:00)
Title: Add fact for EC2 region

Stock set of facts don't include the current region.

This patch just parses the AZ and strips [a-z] from the end of the string to give you the region.