Git Product home page Git Product logo

Comments (6)

dkushner avatar dkushner commented on June 18, 2024 1

@sethvargo, for what its worth we also desperately need this to parameterize our vault deployments where our KV store is backed by Postgres.

from hcl.

sethvargo avatar sethvargo commented on June 18, 2024

Hi @strarsis

This is not possible directly with HCL, but can be implemented as a function by the tool you want to parse as HCL. See Terraform for an example. Thanks! 😄

from hcl.

koliyo avatar koliyo commented on June 18, 2024

+1 for this as a feature request, would be useful in my consul-template config file

from hcl.

skizot722 avatar skizot722 commented on June 18, 2024

+1 as well for this feature

from hcl.

robsonpeixoto avatar robsonpeixoto commented on June 18, 2024

@sethvargo, Is it a desarable feature?
It's really useful in Consul template

from hcl.

apparentlymart avatar apparentlymart commented on June 18, 2024

Hi all,

Thank you for the interest in using environment variables within the various applications that use HCL.

The code within this module deals only with the overall syntax of HCL. How the settings within the HCL structure are interpreted -- including any variables or functions that might be supported via interpolation/templates -- is the concern of the embedding applications.

In particular this means that supporting environment variables in consul-template and Vault would need to be feature requests to those respective applications, rather than to HCL itself. The teams for those applications are also in a better position to figure out how best to integrate environment variables support with other features they may have.

from hcl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.