proffer

Proffer is a cross-platform tool to distribute cloud images between diff accounts and regions.

View on GitHub

Dynamic variables:

To define dynamic variable, we need to define the variables in separate variables file.

Follow the below steps to define the dynamic variables:

  1. Create variable file. For example data.yml.
  2. Define the dynamic variables using below syntax
# data.yml
---

dynamicVar1: test
dynamicVar2: test2
dynamicVar3:
  x: 1
dynamicVar4:
  - 1
  - 2
dynamicVar5:
  home: 

  1. Use the defied variable in proffer template
# proffer.yml

x: 

Advantage:

All the variables defined in the variable file are runtime variable. they can contain template evaluation or any evaluation statements like env, dynamic.