Skip to content

Instantly share code, notes, and snippets.

@larsks
Created February 20, 2014 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsks/9115869 to your computer and use it in GitHub Desktop.
Save larsks/9115869 to your computer and use it in GitHub Desktop.
# A list of available outputs
$ heat output-list stack0
+----------------------+----------------------------------------------------+
| output_key | description |
+----------------------+----------------------------------------------------+
| instance1_private_ip | IP address of instance0 in private network |
| instance0_public_ip | Floating IP address of instance0 in public network |
| instance0_private_ip | IP address of instance0 in private network |
+----------------------+----------------------------------------------------+
# A simple value
$ heat output-show stack0 instance1_private_ip
"172.16.0.6"
# A complex value
$ heat output-show stack0 instance0_private_ip
[
{
"subnet_id": "a6ebc1d8-d355-4c17-b128-b4c5afec17ba",
"ip_address": "172.16.0.5"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment