This cookbook simply install and run the aws-ec2-assign-elactic-ip program to assign an elastic-ip to the ec2 instance.
python
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 |
Just include aws-ec2-assign-elastic-ip
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[aws-ec2-assign-elastic-ip]"
]
}
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: Romain Cambien