Forge Home

cloudformationfacts

Puppet module providing AWS CloudFormation metadata facts

9,251 downloads

8,345 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.2.0 (latest)
  • 0.1.0
released Sep 20th 2017
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 6.0.0
  • , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'salekseev-cloudformationfacts', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add salekseev-cloudformationfacts
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install salekseev-cloudformationfacts --version 0.2.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

salekseev/cloudformationfacts — version 0.2.0 Sep 20th 2017

cloudformationfacts

Table of Contents

  1. Description
  2. Setup - The basics of getting started with cloudformationfacts
  3. Limitations - OS compatibility, etc.

Description

The cloudformationfacts module provides AWS CloudFormation metadata facts which are useful for clustered applications that need to discover other members.

Setup

Setup Requirements

IAM instance role with the following minimum permissions:

{
   "Version": "2012-10-17",
   "Statement": [{
      "Effect": "Allow",
      "Action": [
         "ec2:DescribeInstances",
         "ec2:DescribeTags"
      ],
      "Resource": "*"
   }
   ]
}

aws-sdk-core ruby gem installed on puppet agent for example:

/opt/puppetlabs/puppet/bin/gem install aws-sdk-core -v '~> 2'

Limitations

This module would only provide facts on AWS CloudFormation stacks.