hashicorp / terraform-provider-ignition

Terraform Ignition provider
https://www.terraform.io/docs/providers/ignition/
Mozilla Public License 2.0
38 stars 64 forks source link

ignition_file, interpolation support #4

Closed mcuadros closed 7 years ago

mcuadros commented 7 years ago

The PR introduce support for interpolation as does the template provider to the ignition_file data resource.

data "ignition_file" "bar" {
    filesystem = "bar"
    path = "/bar"
    content {
        content = "bar $${bar} $${foo+10}"
        vars {
            bar = "foo"
            foo = 32
        }
    }
}
mcuadros commented 7 years ago

Closed, in favor of use template_file in order to be more explicit