hi, has anyone tried exporting the entire object t...
# automation-api
e
hi, has anyone tried exporting the entire object to the outputs using
ctx.Export(output-name, output-resource)
? i would basically like to add entire objects as outputs as shown in the merge-request - https://github.com/pulumi/pulumi/pull/2311 it is possible to do that in terraform by just adding
value = google_project.my-project
but when i do the same using
ctx.Export()
and setting the second arg as the object retured by
NewProject
func, i still see the same output for all resources.
Copy code
output-name : {
        URN: "urn-here"
        ID : "resource-id"
        PackageVersion: ""
    }