Editing Terraform variables
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | ||
* https://www.terraform.io/language/values/variables: <code>[[string]], number, [[bool]], any</code> | * https://www.terraform.io/language/values/variables: <code>[[string]], number, [[bool]], any</code> | ||
* [[Terraform Cloud]]: https://www.terraform.io/cloud-docs/workspaces/variables | * [[Terraform Cloud]]: https://www.terraform.io/cloud-docs/workspaces/variables | ||
− | * | + | * [[Terraform variables: variables.tf]] |
== Examples == | == Examples == | ||
Line 12: | Line 12: | ||
Using a file: | Using a file: | ||
* <code>terraform apply [[-var-file]]="your_file[[.tfvars]]"</code> | * <code>terraform apply [[-var-file]]="your_file[[.tfvars]]"</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related == | == Related == | ||
− | * [[Terraform variable types]]: <code>[[string]], | + | * [[Terraform variable types]]: <code>[[string]], number, [[bool]], any</code> |
− | * [[Terraform | + | * [[Terraform types]] |
− | |||
* [[Terraform: variables.tf]] | * [[Terraform: variables.tf]] | ||
* <code>[[auto.tfvars]]</code> | * <code>[[auto.tfvars]]</code> | ||
Line 29: | Line 22: | ||
* <code>[[Terraform: output|output]]</code> | * <code>[[Terraform: output|output]]</code> | ||
* <code>[[-var-file]]</code> | * <code>[[-var-file]]</code> | ||
− | * <code>[[ | + | * <code>[[terraform plan]]</code> |
+ | * <code>[[locals]]</code>: https://www.terraform.io/language/values/locals | ||
* [[Terragrunt: inputs:]] | * [[Terragrunt: inputs:]] | ||
− | |||
== See also == | == See also == | ||
* {{Terraform variables}} | * {{Terraform variables}} | ||
− | * {{Terraform | + | * {{Terraform}} |
[[Category:Terraform]] | [[Category:Terraform]] |
Advertising: