stdlib_aws
Table of Contents
- Description
- Setup - The basics of getting started with stdlib_aws
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- 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
- 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
- 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
NB: puppetmodule.info is updated hourly, so please be patient after a new release!
Building Docs
git clone https://github.com/womply/womply-stdlib_aws.git
cd womply-stdlib_aws
bundle install
puppet strings generate lib/puppet/functions
- Open
index.html
in thedocs/
subdirectory.
Limitations
None known.
Development
For now, just fork and make a PR!
Guidelines
- Functions should be in-DSL rather than with Ruby when possible. If you're not sure which to use...ask!