mirror of https://github.com/kubernetes/kops.git
add path.module
This commit is contained in:
parent
38676a07eb
commit
2bea2987dd
|
|
@ -84,7 +84,7 @@ func (t *TerraformTarget) AddFile(resourceType string, resourceName string, key
|
|||
p := path.Join("data", id)
|
||||
t.files[p] = d
|
||||
|
||||
l := LiteralExpression(fmt.Sprintf("${file(%q)}", p))
|
||||
l := LiteralExpression(fmt.Sprintf("${file(%q)}", path.Join("${path.module}", p)))
|
||||
return l, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue