dynamic-configuration-with-hcl

command module
v0.0.0-...-cfa5f22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

README

Dynamic Configuration with HCL

Quick play with Go HCL to understand how it could be used as a dynamic configuration file mechanism.

Would probably split into a hierarchy of context specific hcl.EvalContexts for reusability, maybe something like:

  • ctx
    • stdlib
    • envfuncs
    • awsStsContext

Using fields as input to other fields e.g. email = split(":", principal)[1] is more complex (see second links below if required in the future).

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL