About 11,300,000 results
Open links in new tab
  1. Input Variables - Terraform | HashiCorp Developer

    Input variables allow you to customize modules without altering their source code. Learn how to declare, define, and reference variables in configurations.

  2. Define input variables | Terraform | HashiCorp Developer

    Terraform variables allow you to write configuration that is flexible and easier to re-use. Add a variable to define the instance name. Create a new file called variables.tf with a block defining a new instance_name variable.

  3. Terraform .tfvars files: Variables Management with Examples

    A tfvars file in Terraform is used to define input variables for a Terraform configuration. It’s a plain text file, typically written in HashiCorp Configuration Language (HCL) or JSON format., that contains variable assignments, making it easy to customize deployments without modifying the core configuration files.

  4. How to Use Terraform Variables: Examples & Best Practices

    Terraform variables types and how to use them. Learn how to use local, input, output, and environment variables. See how to mark Terraform variables as sensitive.

  5. Terraform Variables - GeeksforGeeks

    Dec 24, 2024 · To start using variables in Terraform, you first need to declare them in your configuration file. Here’s an example of how to declare a string variable: type = string. default = "t2.micro" In this case, the variable instance_type is declared with a default value of t2.micro. The type of the variable is defined as string.

  6. Customize Terraform configuration with variables - HashiCorp …

    Input variables make your Terraform configuration more flexible by defining values that your end users can assign to customize the configuration. They provide a consistent interface to change …

  7. How to use variables in Terraform tutorials - w3schools.io

    Variables are used to store the value. Declare it once, use it in multiple files, and provides dynamics. What variables are required? Let’s define a provider for AWS. access_key="access_key" . secret_key="secret_key" . region ="us-north-1" . access_key,secret_key, and region are hard-coded values.

  8. Terraform Variables: A Comprehensive Guide to Dynamic

    Mar 19, 2024 · In this guide, we will explore Terraform variables and the part they play when creating infrastructure. You will learn how to define variables and use these variables, including looping constructs, to create multiple resources efficiently.

  9. How to Define Terraform Variables - TecAdmin

    Jul 20, 2023 · You can define Terraform variable in many ways, like: in configuration file, dedicated file, command line or in form of environment variables. Here we will discuss all types one by one.

  10. Variables and Outputs in Terraform: A Complete Guide - Medium

    Sep 28, 2024 · By defining variables, you create modular and environment-agnostic configurations, while outputs allow you to extract critical data and leverage it in subsequent operations.

  11. Some results have been removed
Refresh