---
title: "Discussion on \"Terraform input variables using Azure DevOps\" | Hashnode"
description: "Discussion on \"Terraform input variables using Azure DevOps\". Pipeline variables in Azure DevOps YAML pipelines get mapped to environment variables in the pipeline agent. With Terraform, if there’s an environment variable that starts with TF_VAR_ it will get mapped to an input variable. Combining the two can me..."
url: "https://hashnode.com/posts/terraform-input-variables-using-azure-devops/619d37bafa52cd31fe52d119"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Terraform input variables using Azure DevOps](https://gaunacode.com/terraform-input-variables-using-azure-devops?utm_source=hashnode&utm_medium=feed)

Pipeline variables in Azure DevOps YAML pipelines get mapped to environment variables in the pipeline agent. With Terraform, if there’s an environment variable that starts with TF\_VAR\_ it will get mapped to an input variable. Combining the two can me...

Apr 4, 2020 · 2 min read · gaunacode.com  
Read the article

-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Facundo Gauna](https://hashnode.com/@gaunacode)

@gaunacode · Orlando, FL

  
[View profile](https://hashnode.com/@gaunacode)

Building cloud-native apps on Azure. I can't stop self-improving.

I used to be a .NET developer. Nowaways, I am a DevOps solutions architect with a focus on Azure and Kubernetes. I also love productivity topics, especially when it comes to doing more with less of my time. I'm also a daddy, so time is a limited resource for me.

## Responses 1

Markdown supported · ⌘↵ to post

[Petr Koutny](https://hashnode.com/@koutnypetr)

[Feb 1, 2022](https://hashnode.com/posts/terraform-input-variables-using-azure-devops/619d37bafa52cd31fe52d119/comment/61f8efb73032880f892fa461)

Wow, you saved my day with the part that secret env variable is not exported and needs to be specified manually. Thanks!

[Facundo Gauna](https://hashnode.com/@gaunacode)

[Feb 4, 2022](https://hashnode.com/posts/terraform-input-variables-using-azure-devops/619d37bafa52cd31fe52d119/comment/61f8efb73032880f892fa461#reply-61fd53048d15cb3e7ce6141f)

Woo hoo 🙌🥳
