Skip to content

Riverline/aws-ec2-assign-elastic-ip-cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-ec2-assign-elastic-ip Cookbook

This cookbook simply install and run the aws-ec2-assign-elactic-ip program to assign an elastic-ip to the ec2 instance.

Requirements

  • python

Attributes

Key Type Description Default
['aws-ec2-assign-elastic-ip']['access-key'] String AWS Access Key
['aws-ec2-assign-elastic-ip']['secret-key'] String AWS Secret Key
['aws-ec2-assign-elastic-ip']['region'] String AWS Instance region us-west-1
['aws-ec2-assign-elastic-ip']['valid-ips'] String List of allowed elastic IPs, if empty, the first available elastic IP is use

Usage

Just include aws-ec2-assign-elastic-ip in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[aws-ec2-assign-elastic-ip]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Romain Cambien

About

Chef cookbook for aws-ec2-assign-elastic-ip Python script

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages