-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
It could be worth exposing the result of the evaluation as YAML:
# resources.tf
resource "aws_iam_policy" "assets-access" {
name = "assets-access"
description = "A policy allowing access to assets."
policy = data.dhall.foo.yaml
}
Exporting a new value here should suffice
terraform-provider-dhall/internal/provider/data_source.go
Lines 77 to 81 in 914e3ff
outJSON, err := json.Marshal(data) | |
if err != nil { | |
return err | |
} | |
err = d.Set("result", string(outJSON)) |
Metadata
Metadata
Assignees
Labels
No labels