Skip to content

fileContents [[]] parse? #729

@masterjg

Description

@masterjg

Example bit:

            template {
                data = <<-EOF
[[ fileContents "files/traefik_dynamic.yml" | indent 16 ]]
                EOF
                destination = "local/traefik_dynamic.yml"
            }

In file files/traefik_dynamic.yml I have some nomad pack dynamic operations [[ ]] but these never get parsed. How to force the parsing? Maybe there's filter to do it or argument in fileContents?

            template {
                data = <<-EOF
[[ fileContents "files/traefik_dynamic.yml" | parse??? | indent 16 ]]
                EOF
                destination = "local/traefik_dynamic.yml"
            }

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Triaging

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions