Returning a Complex Type From a Module

This lesson will teach how to return a whole resource from a module.

Returning a resource from a module

It is possible to return a whole resource from a module. This means we can give all of the fields back from the resource that we created, which then lets users use whichever values they want. To see this in action, let’s update the sqs backoff example that we just worked on in the last lesson.

Get hands-on with 1400+ tech skills courses.