# HCL<no value>
// <!-- Required for asciidoctor -->
:toc:
// Set toclevels to be at least your hugo [markup.tableOfContents.endLevel] config key
:toclevels: 4

[cols="1^,1^,1^",options=header]
|===
| source | condition | target
| &#10004; | &#10004; | &#10004;
|===

== Description

**source**

The HCL "source" retrieves an attribute from a HCL file at configured path.

**condition**

The HCL "condition" tests that attribute at configured path matches the value in a HCL file.

**target**

The HCL "target" ensures that an attribute at configured path in a HCL file is set to a specific value.

== Parameter

{{< resourceparameters "sources" "hcl" >}}

== Example

[source,yaml]
----
# updatecli.yaml
{{<include "assets/code_example/docs/plugins/resources/hcl/updatecli.d/default.yaml">}}
----
