Skip to content

Commit

Permalink
Add system functions to example
Browse files Browse the repository at this point in the history
  • Loading branch information
eveld committed Apr 29, 2024
1 parent 78b9f48 commit ac19847
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/functions/container.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ resource "container" "consul" {
cluster_api = cluster_api("nomad_cluster.dc1")
cluster_port = cluster_port("nomad_cluster.dc1")
var_len = len(variable.test_var)
os = system("os")
arch = system("arch")
}
}

0 comments on commit ac19847

Please sign in to comment.