stdlib_aws

Table of Contents

  1. Description
  2. Setup - The basics of getting started with stdlib_aws
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

stdlib_aws is a helper module containing various Puppet extensions to assist with managing resources on AWS.

For now, the only think it contains is the function stdlib_aws::subnets_from_tag, which takes a tag, optionally a tag value, and optionally a region (uses default region otherwise), and returns a list of subnet IDs for all AWS subnets tagged as described.

Setup

Setup Requirements

  1. Install AWS Ruby SDK into Puppet's Ruby on the master if it's not already present.
    • /opt/puppetlabs/puppet/bin/gem install aws-sdk
  2. Configure credentials for the gem in one of the usual ways.

Beginning with stdlib_aws

Use the functions! :D

Usage

This section is where you describe how to customize, configure, and do the fancy stuff with your module here. It's especially helpful if you include usage examples and code samples for doing things with your module.

Reference

Viewing Docs

puppetmodule.info docs

NB: puppetmodule.info is updated hourly, so please be patient after a new release!

Building Docs

  1. git clone https://github.com/womply/womply-stdlib_aws.git
  2. cd womply-stdlib_aws
  3. bundle install
  4. puppet strings generate lib/puppet/functions
  5. Open index.html in the docs/ subdirectory.

Limitations

None known.

Development

For now, just fork and make a PR!

Guidelines

Release Notes/Contributors/Etc. Optional