summaryrefslogtreecommitdiff
path: root/docs-src/content/functions/gcp.yml
AgeCommit message (Collapse)Author
2023-10-21docs: List release versions for each function, add unreleased label (#1868)Dave Henderson
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2020-07-12Add gcp.Meta function, equivalent to aws.EC2MetaJames Nugent
This commit adds a new namespace and function: `gcp.Meta`, which can be used to look up values from the GCP Instance Metadata service. An example usage: ``` echo '{{ gcp.Meta "id" }}' | gomplate ``` This also supports paths, so usage like this works: ``` echo '{{ gcp.Meta "network-interfaces/0/ip" }}' | gomplate ```