tfavrs variables.tf Archives - For all your terraform needs https://terraformarchitect.com/tag/tfavrs-variables-tf/ Automation cannot be an afterthought (TM) Tue, 31 Jan 2023 02:24:13 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 tfvars versus variables.tf https://terraformarchitect.com/terraform-basics/tfvars-versus-variables-tf/?utm_source=rss&utm_medium=rss&utm_campaign=tfvars-versus-variables-tf https://terraformarchitect.com/terraform-basics/tfvars-versus-variables-tf/#respond Tue, 31 Jan 2023 02:24:13 +0000 https://terraformarchitect.com/?p=322 Prompting a user for Input in Terraform To me, the primary use case is that I want to prompt a user to provide the value for the input variable. In […]

The post tfvars versus variables.tf appeared first on For all your terraform needs.

]]>
Prompting a user for Input in Terraform

To me, the primary use case is that I want to prompt a user to provide the value for the input variable. In that case, I HAVE to use variables.tf.. I simply define the variable and leave it’s value blank (of course, within the resource, this variable has to be a REQUIRED value).

 

The post tfvars versus variables.tf appeared first on For all your terraform needs.

]]>
https://terraformarchitect.com/terraform-basics/tfvars-versus-variables-tf/feed/ 0