Last active
November 29, 2017 14:50
-
-
Save ShawnClake/317cdf8af48d380a13b7098cfe49c240 to your computer and use it in GitHub Desktop.
OpenStack Heat Template - 1i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2017-02-24 | |
parameters: | |
key_name: | |
type: string | |
description: Name of a KeyPair | |
flavor_name: | |
type: string | |
description: Name of a Flavor | |
image_name: | |
type: string | |
description: Name of an Image | |
networks: | |
type: comma_delimited_list | |
description: Network IDs | |
resources: | |
server: | |
type: OS::Nova::Server | |
properties: | |
key_name: { get_param: key_name } | |
image: { get_param: image_name } | |
flavor: { get_param: flavor_name } | |
networks: | |
repeat: | |
for_each: | |
<%nwork%>: { get_param: networks } | |
template: | |
network: <%nwork%> | |
security_groups: | |
- default | |
- ssh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
JSON Template Structure