2017-03-25 18:13:52 -04:00
|
|
|
<% wrap_layout :inner do %>
|
|
|
|
<% content_for :sidebar do %>
|
2017-03-26 17:21:14 -04:00
|
|
|
<ul class="nav docs-sidenav">
|
2019-12-17 05:25:56 -05:00
|
|
|
<li<%= sidebar_current("hcl") %>>
|
|
|
|
<a href="/guides/hcl">HCL guides</a>
|
|
|
|
<ul class="nav">
|
|
|
|
<li<%= sidebar_current("hcl-from-json-v1") %>>
|
|
|
|
<a href="/guides/hcl/from-json-v1">from JSON v1</a>
|
|
|
|
</li>
|
Hcl2 input variables, local variables and functions (#8588)
Mainly redefine or reused what Terraform did.
* allow to used `variables`, `variable` and `local` blocks
* import the following functions and their docs from Terraform: abs, abspath, basename, base64decode, base64encode, bcrypt, can, ceil, chomp, chunklist, cidrhost, cidrnetmask, cidrsubnet, cidrsubnets, coalesce, coalescelist, compact, concat, contains, convert, csvdecode, dirname, distinct, element, file, fileexists, fileset, flatten, floor, format, formatdate, formatlist, indent, index, join, jsondecode, jsonencode, keys, length, log, lookup, lower, max, md5, merge, min, parseint, pathexpand, pow, range, reverse, rsadecrypt, setintersection, setproduct, setunion, sha1, sha256, sha512, signum, slice, sort, split, strrev, substr, timestamp, timeadd, title, trim, trimprefix, trimspace, trimsuffix, try, upper, urlencode, uuidv4, uuidv5, values, yamldecode, yamlencode, zipmap.
2020-02-06 05:49:21 -05:00
|
|
|
<li<%= sidebar_current("hcl-configuration-variables") %>>
|
|
|
|
<a href="/guides/hcl/variables">Variables</a>
|
|
|
|
</li>
|
2019-12-18 09:51:38 -05:00
|
|
|
<li<%= sidebar_current("hcl-component-object-spec") %>>
|
|
|
|
<a href="/guides/hcl/component-object-spec">Making a plugin HCL2 enabled</a>
|
|
|
|
</li>
|
2019-12-17 05:25:56 -05:00
|
|
|
</ul>
|
|
|
|
</li>
|
2019-10-01 11:59:48 -04:00
|
|
|
<li<%= sidebar_current("automatic-operating-system-installs") %>>
|
|
|
|
<a href="/guides/automatic-operating-system-installs/index.html">Automatic OS Installs</a>
|
|
|
|
<ul class="nav">
|
|
|
|
<li<%= sidebar_current("automatic-operating-system-installs-unattended-installation-windows") %>>
|
|
|
|
<a href="/guides/automatic-operating-system-installs/autounattend_windows.html">Unattended Installation for Windows</a>
|
|
|
|
</li>
|
|
|
|
<li<%= sidebar_current("automatic-operating-system-installs-unattended-installation-debian") %>>
|
|
|
|
<a href="/guides/automatic-operating-system-installs/preseed_ubuntu.html">Unattended Installation for Debian</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2017-03-26 17:21:14 -04:00
|
|
|
</li>
|
2019-10-01 11:59:48 -04:00
|
|
|
<li<%= sidebar_current("workflow-tips-and-tricks") %>>
|
|
|
|
<a href="/guides/workflow-tips-and-tricks/index.html">Workflow Tips and Tricks</a>
|
|
|
|
<ul class="nav">
|
|
|
|
<li<%= sidebar_current("workflow-tips-and-tricks-isotime-template-function") %>>
|
|
|
|
<a href="/guides/workflow-tips-and-tricks/isotime-template-function.html">Isotime Template Function</a>
|
|
|
|
</li>
|
|
|
|
<li<%= sidebar_current("workflow-tips-and-tricks-guides-veewee-to-packer") %>>
|
|
|
|
<a href="/guides/workflow-tips-and-tricks/veewee-to-packer.html">Veewee to Packer</a>
|
|
|
|
</li>
|
|
|
|
<li<%= sidebar_current("workflow-tips-and-tricks-use-packer-with-comment") %>>
|
|
|
|
<a href="/guides/workflow-tips-and-tricks/use-packer-with-comment.html">Use jq to strip comments from a Packer template</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2019-04-22 18:35:00 -04:00
|
|
|
</li>
|
2017-12-08 11:28:27 -05:00
|
|
|
<li<%= sidebar_current("guides-packer-on-cicd") %>>
|
2017-12-11 17:31:44 -05:00
|
|
|
<a href="/guides/packer-on-cicd/index.html">Build Immutable Infrastructure with Packer in CI/CD</a>
|
2017-12-08 11:28:27 -05:00
|
|
|
<ul class="nav">
|
|
|
|
<li<%= sidebar_current("guides-packer-on-cicd-build-image") %>>
|
2017-12-11 17:31:44 -05:00
|
|
|
<a href="/guides/packer-on-cicd/build-image-in-cicd.html">Build Images in CI/CD</a>
|
2017-12-08 11:28:27 -05:00
|
|
|
</li>
|
|
|
|
<li<%= sidebar_current("guides-packer-on-cicd-build-virtualbox") %>>
|
2017-12-11 17:31:44 -05:00
|
|
|
<a href="/guides/packer-on-cicd/build-virtualbox-image.html">Build a VirtualBox Image with Packer in TeamCity</a>
|
2017-12-08 11:28:27 -05:00
|
|
|
</li>
|
|
|
|
<li<%= sidebar_current("guides-packer-on-cicd-upload-image-to-artifact-store") %>>
|
2017-12-11 17:31:44 -05:00
|
|
|
<a href="/guides/packer-on-cicd/upload-images-to-artifact.html">Upload a VirtualBox Image to S3</a>
|
2017-12-08 11:28:27 -05:00
|
|
|
</li>
|
2017-12-11 17:31:44 -05:00
|
|
|
<li<%= sidebar_current("guides-packer-on-cicd-trigger-tfe-run") %>>
|
|
|
|
<a href="/guides/packer-on-cicd/trigger-tfe.html">Trigger Terraform Enterprise runs</a>
|
2017-12-08 11:28:27 -05:00
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
</li>
|
2017-03-26 17:21:14 -04:00
|
|
|
</ul>
|
2017-03-25 18:13:52 -04:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= yield %>
|
2019-10-01 11:59:48 -04:00
|
|
|
<% end %>
|