Last Updated: February 25, 2016
· rafaelfelix

Use EC2 instance tags as custom facts on puppet

Just put this gist on your custom facts directory:

The EC2 instance tags will be presented as ec2_tag_<key> = <value> on facter. This enabled me to use puppet to bootstrap auto-scaling instances dynamically, without having to manage several different AMIs.