# Terraform outputs plugin

**URL:** <https://forum.serverless.com/t/terraform-outputs-plugin/6898>\
**Category:** Serverless Framework\
**Created:** [January 5, 2019, 2:54am UTC](https://forum.serverless.com/t/terraform-outputs-plugin/6898 "2019-01-05T02:54:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ProTip](https://avatars.discourse-cdn.com/v4/letter/p/6de8d8/32.png) [@ProTip](https://forum.serverless.com/u/ProTip)\
**Post date:** [January 5, 2019, 2:54am UTC](https://forum.serverless.com/t/terraform-outputs-plugin/6898/1 "2019-01-05T02:54:13Z")

</div>

Hola,

I have created a serverless plugin today in order to resolve variable substitution from Terraform output. It’s super simple and early days, but may be useful to others:  
**serverless-terraform-outputs**

Feel free to open issues or offer feedback.

Thanks to the **serverless-plugin-git-variables** and **serverless-iam-roles-per-function** projects for reference in getting this working so fast.

In the past I have bridged the Terraform gap by creating a CloudFormation stack via Terraform whose sole purpose was to export variables. This has some pro’s and cons IMHO. Not being able to change or remove exported variables can be a PITA, or a life saver.

---

<div class="post-metadata">

**Author:** ![dvins](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@dvins](https://forum.serverless.com/u/dvins)\
**Post date:** [January 23, 2019, 1:44am UTC](https://forum.serverless.com/t/terraform-outputs-plugin/6898/2 "2019-01-23T01:44:33Z")

</div>

This is fantastic. Thank you for sharing.
