i have created the security group in horizn and want to use in heat template

asked 2014-10-29 04:18:35 -0600

harishamrale gravatar image

Hi,I have created one security group using horizon. I want to use the same security group in heat template to create the instances. Please share the detail steps or heat-template to do so.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-10-29 07:47:53 -0600

fgorbat gravatar image

Let assume you created sec_group1 group, in the "Parameter" section provide security group part for example:

    type: string
    description: ID of security group for this instance port
    default: sec_group1

The in the server definition re-use the security group by get_param, for example:

    - { get_param: security_group_id }
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-10-29 04:18:35 -0600

Seen: 971 times

Last updated: Oct 29 '14