You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by rojopolis <gi...@git.apache.org> on 2018/07/03 21:32:55 UTC
[GitHub] libcloud pull request #1224: [LIBCLOUD-1004] Add launch template support to ...
GitHub user rojopolis opened a pull request:
https://github.com/apache/libcloud/pull/1224
[LIBCLOUD-1004] Add launch template support to EC2 create_node
## Launch template support for EC2 create_node
### Allows Nodes to be created from EC2 Launch Templates
This change allows Nodes to be created from predefined Launch Templates in EC2.
This is useful in a number of scenarios:
* Organizational standards are implemented with Templates.
* etc.
The attributes specified in the call to create_node will take precedence over those defined in the template (per provider documentation).
#### Provider docs:
- https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
- https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateSpecification.html
### Status
- done, ready for review
### Checklist (tick everything that applies)
- [x] [Code linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide) (required, can be done after the PR checks)
- [x] Documentation
- [x] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
- [ ] [ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes) (required for bigger changes)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rojopolis/libcloud LIBCLOUD-1004_ec2_instance_template
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/1224.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1224
----
commit 42a3053ff4bf50ee58ea96504b6036bfeb2d9747
Author: Robert Jordan <rj...@...>
Date: 2018-07-03T21:01:37Z
[LIBCLOUD-1004] Add launch template support to EC2 create_node
----
---