Ask Your Question
2

can stack_name be accessed in Heat template?

asked 2014-08-12 11:11:26 -0500

Matt Callery gravatar image

Can the stack_name "mystack" be accessed in the heat template while provisioning.

If so, could someone please supply the syntax

$ heat stack-create mystack --template-file=/PATH_TO_HEAT_TEMPLATES/WordPress_Single_Instance.template --parameters="InstanceType=m1.large;DBUsername=USERNAME;DBPassword=PASSWORD;KeyName=HEAT_KEY;LinuxDistribution=F17"

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-08-20 07:07:32 -0500

Qiming gravatar image

{ get_param: 'OS::stack_name' }

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-12 11:11:26 -0500

Seen: 1,038 times

Last updated: Aug 20 '14