#terraform #terraformtutorial #infrastructureascode #devops #mrdevops
Terraform explained - 04 | Terraform Input Variables
Input variables let you customize aspects of Terraform modules without altering the module's own source code. This allows you to share modules across different Terraform configurations, making your module composable and reusable.
When you declare variables in the root module of your configuration, you can set their values using CLI options and environment variables. When you declare them in child modules, the calling module should pass values in the module block.
Useful Links:
https://www.terraform.io/language/val...
https://registry.terraform.io/provide...