https://pulumi.com logo
a

ambitious-ram-5811

12/03/2019, 1:22 AM
Copy code
const get = new azure.appservice.HttpFunction("Read", {
  route: "items",
  methods: ["GET"],
  callback: async (context, request) => {
    return { status: 200, body: { url: anotherResource.urn } };
  },
});
t

tall-librarian-49374

12/03/2019, 7:08 AM
This should work, you just need to decode the output with
.get()
:
Copy code
body: { url: anotherResource.urn.get() }