2018-05-07 03:32:16 +02:00
|
|
|
<% wrap_layout :inner do %>
|
|
|
|
<% content_for :sidebar do %>
|
|
|
|
<div class="docs-sidebar hidden-print affix-top" role="complementary">
|
|
|
|
<ul class="nav docs-sidenav">
|
|
|
|
<li<%= sidebar_current("docs-config-index") %>>
|
2018-06-02 04:08:50 +02:00
|
|
|
<a class="back" href="/docs/configuration/index.html">Terraform Language</a>
|
2018-05-07 03:32:16 +02:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-config-functions") %>>
|
2018-06-02 04:08:50 +02:00
|
|
|
<a class="back" href="/docs/configuration/functions.html">Functions</a>
|
2018-05-07 03:32:16 +02:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-numeric") %>>
|
|
|
|
<a href="#">Numeric Functions</a>
|
|
|
|
<ul class="nav nav-visible">
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-numeric-abs") %>>
|
|
|
|
<a href="/docs/configuration/functions/abs.html">abs</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-numeric-ceil") %>>
|
|
|
|
<a href="/docs/configuration/functions/ceil.html">ceil</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-numeric-floor") %>>
|
|
|
|
<a href="/docs/configuration/functions/floor.html">floor</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-numeric-log") %>>
|
|
|
|
<a href="/docs/configuration/functions/log.html">log</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-numeric-max") %>>
|
|
|
|
<a href="/docs/configuration/functions/max.html">max</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-numeric-min") %>>
|
|
|
|
<a href="/docs/configuration/functions/min.html">min</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-numeric-pow") %>>
|
|
|
|
<a href="/docs/configuration/functions/pow.html">pow</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-numeric-signum") %>>
|
|
|
|
<a href="/docs/configuration/functions/signum.html">signum</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-string") %>>
|
|
|
|
<a href="#">String Functions</a>
|
|
|
|
<ul class="nav nav-visible">
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-string-chomp") %>>
|
|
|
|
<a href="/docs/configuration/functions/chomp.html">chomp</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-string-format-x") %>>
|
|
|
|
<a href="/docs/configuration/functions/format.html">format</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-string-formatlist") %>>
|
|
|
|
<a href="/docs/configuration/functions/formatlist.html">formatlist</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-string-indent") %>>
|
|
|
|
<a href="/docs/configuration/functions/indent.html">indent</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-string-join") %>>
|
|
|
|
<a href="/docs/configuration/functions/join.html">join</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-string-lower") %>>
|
|
|
|
<a href="/docs/configuration/functions/lower.html">lower</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-string-replace") %>>
|
|
|
|
<a href="/docs/configuration/functions/replace.html">replace</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-string-split") %>>
|
|
|
|
<a href="/docs/configuration/functions/split.html">split</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-string-substr") %>>
|
|
|
|
<a href="/docs/configuration/functions/substr.html">substr</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-string-title") %>>
|
|
|
|
<a href="/docs/configuration/functions/title.html">title</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-string-trimspace") %>>
|
|
|
|
<a href="/docs/configuration/functions/trimspace.html">trimspace</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-string-upper") %>>
|
|
|
|
<a href="/docs/configuration/functions/upper.html">upper</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
2018-05-07 04:43:53 +02:00
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection") %>>
|
|
|
|
<a href="#">Collection Functions</a>
|
|
|
|
<ul class="nav nav-visible">
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection-chunklist") %>>
|
|
|
|
<a href="/docs/configuration/functions/chunklist.html">chunklist</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection-coalesce-x") %>>
|
|
|
|
<a href="/docs/configuration/functions/coalesce.html">coalesce</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection-coalescelist") %>>
|
|
|
|
<a href="/docs/configuration/functions/coalescelist.html">coalescelist</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection-compact") %>>
|
|
|
|
<a href="/docs/configuration/functions/compact.html">compact</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection-contains") %>>
|
|
|
|
<a href="/docs/configuration/functions/contains.html">contains</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection-distinct") %>>
|
|
|
|
<a href="/docs/configuration/functions/distinct.html">distinct</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection-element") %>>
|
|
|
|
<a href="/docs/configuration/functions/element.html">element</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection-flatten") %>>
|
|
|
|
<a href="/docs/configuration/functions/flatten.html">flatten</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection-index") %>>
|
|
|
|
<a href="/docs/configuration/functions/index.html">index</a>
|
|
|
|
</li>
|
|
|
|
|
2018-06-02 03:56:34 +02:00
|
|
|
<li<%= sidebar_current("docs-funcs-collection-keys") %>>
|
|
|
|
<a href="/docs/configuration/functions/keys.html">keys</a>
|
|
|
|
</li>
|
|
|
|
|
2018-05-07 04:43:53 +02:00
|
|
|
<li<%= sidebar_current("docs-funcs-collection-length") %>>
|
|
|
|
<a href="/docs/configuration/functions/length.html">length</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection-list") %>>
|
|
|
|
<a href="/docs/configuration/functions/list.html">list</a>
|
|
|
|
</li>
|
|
|
|
|
2018-06-02 03:56:34 +02:00
|
|
|
<li<%= sidebar_current("docs-funcs-collection-lookup") %>>
|
|
|
|
<a href="/docs/configuration/functions/lookup.html">lookup</a>
|
|
|
|
</li>
|
|
|
|
|
2018-05-07 04:43:53 +02:00
|
|
|
<li<%= sidebar_current("docs-funcs-collection-map") %>>
|
|
|
|
<a href="/docs/configuration/functions/map.html">map</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection-matchkeys") %>>
|
|
|
|
<a href="/docs/configuration/functions/matchkeys.html">matchkeys</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection-merge") %>>
|
|
|
|
<a href="/docs/configuration/functions/merge.html">merge</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection-slice") %>>
|
|
|
|
<a href="/docs/configuration/functions/slice.html">slice</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection-sort") %>>
|
|
|
|
<a href="/docs/configuration/functions/sort.html">sort</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-collection-transpose") %>>
|
|
|
|
<a href="/docs/configuration/functions/transpose.html">transpose</a>
|
|
|
|
</li>
|
|
|
|
|
2018-06-02 03:56:34 +02:00
|
|
|
<li<%= sidebar_current("docs-funcs-collection-values") %>>
|
|
|
|
<a href="/docs/configuration/functions/values.html">values</a>
|
|
|
|
</li>
|
|
|
|
|
2018-05-07 04:43:53 +02:00
|
|
|
<li<%= sidebar_current("docs-funcs-collection-zipmap") %>>
|
|
|
|
<a href="/docs/configuration/functions/zipmap.html">zipmap</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-encoding") %>>
|
|
|
|
<a href="#">Encoding Functions</a>
|
|
|
|
<ul class="nav nav-visible">
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-encoding-base64decode") %>>
|
|
|
|
<a href="/docs/configuration/functions/base64decode.html">base64decode</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-encoding-base64encode") %>>
|
|
|
|
<a href="/docs/configuration/functions/base64encode.html">base64encode</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-encoding-base64gzip") %>>
|
|
|
|
<a href="/docs/configuration/functions/base64gzip.html">base64gzip</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-encoding-csvdecode") %>>
|
|
|
|
<a href="/docs/configuration/functions/csvdecode.html">csvdecode</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-encoding-jsondecode") %>>
|
|
|
|
<a href="/docs/configuration/functions/jsondecode.html">jsondecode</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-encoding-jsonencode") %>>
|
|
|
|
<a href="/docs/configuration/functions/jsonencode.html">jsonencode</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-encoding-urlencode") %>>
|
|
|
|
<a href="/docs/configuration/functions/urlencode.html">urlencode</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
2018-05-07 03:32:16 +02:00
|
|
|
</li>
|
2018-05-07 04:43:53 +02:00
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-file") %>>
|
|
|
|
<a href="#">Filesystem Functions</a>
|
|
|
|
<ul class="nav nav-visible">
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-file-dirname") %>>
|
|
|
|
<a href="/docs/configuration/functions/dirname.html">dirname</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-file-pathexpand") %>>
|
|
|
|
<a href="/docs/configuration/functions/pathexpand.html">pathexpand</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-file-basename") %>>
|
|
|
|
<a href="/docs/configuration/functions/basename.html">basename</a>
|
|
|
|
</li>
|
|
|
|
|
2018-05-13 21:30:21 +02:00
|
|
|
<li<%= sidebar_current("docs-funcs-file-file-x") %>>
|
2018-05-07 04:43:53 +02:00
|
|
|
<a href="/docs/configuration/functions/file.html">file</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-file-filebase64") %>>
|
|
|
|
<a href="/docs/configuration/functions/filebase64.html">filebase64</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-datetime") %>>
|
|
|
|
<a href="#">Date and Time Functions</a>
|
|
|
|
<ul class="nav nav-visible">
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-datetime-timeadd") %>>
|
|
|
|
<a href="/docs/configuration/functions/timeadd.html">timeadd</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-datetime-timestamp") %>>
|
|
|
|
<a href="/docs/configuration/functions/timestamp.html">timestamp</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-crypto") %>>
|
|
|
|
<a href="#">Hash and Crypto Functions</a>
|
|
|
|
<ul class="nav nav-visible">
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-crypto-base64sha256") %>>
|
|
|
|
<a href="/docs/configuration/functions/base64sha256.html">base64sha256</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-crypto-base64sha512") %>>
|
|
|
|
<a href="/docs/configuration/functions/base64sha512.html">base64sha512</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-crypto-bcrypt") %>>
|
|
|
|
<a href="/docs/configuration/functions/bcrypt.html">bcrypt</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-crypto-md5") %>>
|
|
|
|
<a href="/docs/configuration/functions/md5.html">md5</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-crypto-rsadecrypt") %>>
|
|
|
|
<a href="/docs/configuration/functions/rsadecrypt.html">rsadecrypt</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-crypto-sha1") %>>
|
|
|
|
<a href="/docs/configuration/functions/sha1.html">sha1</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-crypto-sha256") %>>
|
|
|
|
<a href="/docs/configuration/functions/sha256.html">sha256</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-crypto-sha512") %>>
|
|
|
|
<a href="/docs/configuration/functions/sha512.html">sha512</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-crypto-uuid") %>>
|
|
|
|
<a href="/docs/configuration/functions/uuid.html">uuid</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-ipnet") %>>
|
|
|
|
<a href="#">IP Network Functions</a>
|
|
|
|
<ul class="nav nav-visible">
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-ipnet-cidrhost") %>>
|
|
|
|
<a href="/docs/configuration/functions/cidrhost.html">cidrhost</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-ipnet-cidrnetmask") %>>
|
|
|
|
<a href="/docs/configuration/functions/cidrnetmask.html">cidrnetmask</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li<%= sidebar_current("docs-funcs-ipnet-cidrsubnet") %>>
|
|
|
|
<a href="/docs/configuration/functions/cidrsubnet.html">cidrsubnet</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
2018-05-07 03:32:16 +02:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= yield %>
|
|
|
|
<% end %>
|
|
|
|
|