Input Variables in Terraform | Terraform Tutorial | #7

Опубликовано: 19 Июнь 2020
на канале: Will Brock
47,165
720

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/terrafor...

Terraform documentation on varaibles
https://www.terraform.io/docs/configu...


Смотрите видео Input Variables in Terraform | Terraform Tutorial | #7 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Will Brock 19 Июнь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 47,165 раз и оно понравилось 720 людям.