Returning a Complex Type From a Module
Explore how to return complex types, such as entire resources, from Terraform modules. This lesson helps you understand how to output all resource attributes so you can reuse and manage infrastructure components more effectively in your Terraform projects.
We'll cover the following...
We'll cover the following...
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 ...