---
title: "Discussion on \"How to Safely Pass Variables to Terraform local-exec Scripts\" | Hashnode"
description: "Discussion on \"How to Safely Pass Variables to Terraform local-exec Scripts\". Including how to pass complex types"
url: "https://hashnode.com/posts/how-to-safely-pass-variables-to-terraform-local-exec-scripts/6236273c8e4fae3f767ddb74"
---

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

Discussion

# [How to Safely Pass Variables to Terraform local-exec Scripts](https://w3bward.hashnode.dev/how-to-safely-pass-variables-to-terraform-local-exec-scripts?utm_source=hashnode&utm_medium=feed)

Including how to pass complex types

Mar 19, 2022 · 5 min read · w3bward.hashnode.dev  
Updated Mar 23, 2022  
Read the article

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

## Written by

[Bradley Edwards](https://hashnode.com/@w3bward)

@w3bward · Seattle, WA

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

DevOps Engineer and PowerShell Pro from Seattle, WA

DevOps Engineer based in Seattle, WA. I'm self-taught, having started my career working on an internal help desk (the only help desk tech at the time). With few points of escalation, I quickly became adept at solving problems with technologies that I had never worked with before. Eventually I worked my way into system administration, which in turn led me to DevOps. At every step of my career, I turned to scripting to automate the boring stuff, reduce human error, and help me make the most of my time.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
