29 lines
806 B
JSON
29 lines
806 B
JSON
{
|
|
"template": {
|
|
"heat_template_version": "2013-05-23",
|
|
"description": "Create a simple stack",
|
|
"parameters": {
|
|
"flavor": {
|
|
"default": "m1.tiny",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"resources": {
|
|
"hello_world": {
|
|
"type": "OS::Nova::Server",
|
|
"properties": {
|
|
"key_name": "heat_key",
|
|
"flavor": {
|
|
"get_param": "flavor"
|
|
},
|
|
"image": "40be8d1a-3eb9-40de-8abd-43237517384f",
|
|
"user_data": "#!/bin/bash -xv\necho \"hello world\" > /root/hello-world.txt\n"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": {
|
|
"flavor": "m1.small"
|
|
}
|
|
}
|