Type Params | Return Type | Name and description |
---|---|---|
|
void |
file(java.lang.Object fileName) Adds a name of a file containing terraform variables. |
|
void |
list(java.lang.String name, java.lang.Object val1, java.lang.Object... vals) Adds a list as a variable. |
|
void |
list(java.lang.String name, java.lang.Iterable<?> vals) Adds a list as a variable. |
|
void |
map(java.util.Map<java.lang.String, ?> map, java.lang.String name) Adds a map as a variable. |
|
void |
map(java.lang.String name, Provider<java.util.Map<java.lang.String, ?>> mapProvider) Adds a map provider as a variable. |
|
void |
provider(Action<VariablesSpec> additionalVariables) Adds additional actions which can add variables. |
|
void |
var(java.lang.String name, java.lang.Object value) Adds one variable. |
Adds a name of a file containing terraform
variables.
fileName
- Files that can be converted via
org.ysb33r.grolifant.api.v4.StringUtils#stringize and resolved relative to
the appropriate TerraformSourceDirectorySet.Adds a list as a variable.
This will replace any previous entry by the same name.
name
- Name of variable.val1
- Firstvals
- Lazy-evaluated forms of variable. Anything resolvable via
org.ysb33r.grolifant.api.v4.StringUtils#stringize is accepted.Adds a list as a variable.
This will replace any previous entry by the same name.
name
- Name of variable.vals
- Lazy-evaluated forms of variable. Anything resolvable via
org.ysb33r.grolifant.api.v4.StringUtils#stringize is accepted.Adds a map as a variable.
This will replace any previous entry by the same name.
name
- Name of variable.map
- Lazy-evaluated forms of variable.
Anything resolvable via org.ysb33r.grolifant.api.v4.MapUtils#stringizeValues
is accepted.Adds a map provider as a variable.
This will replace any previous map by the same name.
name
- Name of mapmapProvider
- Provider to mapAdds additional actions which can add variables. These will be called first when evaluating a final escaped variable map.
additionalVariables
- Action that can be called to provide additional variables.Adds one variable.
This will replace any previous entry by the same name.
name
- Name of variable.value
- Lazy-evaluated form of variable. Anything resolvable via
org.ysb33r.grolifant.api.v4.StringUtils#stringize(Object)
is accepted.