تقييمات الطلاب
( 5 من 5 )
١ تقييمات
فيديو شرح Input Variables in Terraform Terraform Tutorial #7 ضمن كورس Terraform شرح قناة Will Brock، الفديو رقم 8 مجانى معتمد اونلاين
Terraform variables are like variables in any other programming language. Input variables allow you to pass in date to your configurations or modules making them more dynamic. Variables can be set in a number of different ways but the most common that I use is setting them in a specific file for variables.
In this video we'll modify the existing configuration that we have to allow us to dynamically set the configuration.
- Declaring a variable
- Using a variables.tf file
- Variable types - string, number, bool, list, map, object
- Using variables
- Different ways of setting variables like with files, command line, environment variables, defaults
- Variable precedence
Code Examples:
https://github.com/WillBrock/terraform-course-examples
Terraform documentation on varaibles
https://www.terraform.io/docs/configuration/variables.html