Ask Your Question
0

Heat yaml Environment File

asked 2018-07-13 06:02:29 -0500

Renn11 gravatar image

updated 2018-11-26 13:19:53 -0500

zaneb gravatar image

Hello,

i have a question about the Environment File in a Heat deployment.

I have in the normal Template File some constraints:allowd_values :

ip_TestSystem:
    type: string
    label: IP Adress 
    description: Please insert IP Adress
    default: 172.30.111.111
    constraints:
      - allowed_values:
        - 172.30.112
        - 10.198.113
        - 192.168.115

I heard that u can use some Environment File to input the "allowed_values" IP´s.

Why?: I have more Template files and i dont want to change the "allowed_values" in every single file. I want to have 1 File that ref to the other one so i only have to change this on.

is this possible?

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2018-11-26 13:20:53 -0500

zaneb gravatar image

You can set the defaults in an environment file, but there's no way to set the constraints in an environment file.

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: 2018-07-12 05:54:12 -0500

Seen: 45 times

Last updated: Nov 26 '18