mirror of
https://github.com/ghndrx/tf-variable-demo.git
synced 2026-02-10 06:54:57 +00:00
Update README.md
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
```export PROJECT_ID="your-project-id"```
|
||||||
|
|
||||||
Terraform offers various methods to provide input variables, making it flexible and adaptable to different use cases. These methods include command-line flags, environment variables, variable definition files (including auto-loaded files), and default values in variable declarations.
|
Terraform offers various methods to provide input variables, making it flexible and adaptable to different use cases. These methods include command-line flags, environment variables, variable definition files (including auto-loaded files), and default values in variable declarations.
|
||||||
|
|
||||||
Auto-loaded variable definition files:
|
Auto-loaded variable definition files:
|
||||||
@@ -66,4 +68,4 @@ variable "region" {
|
|||||||
default = "us-central1"
|
default = "us-central1"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
In summary, Terraform supports various methods to input variables, each with its own use case. You can choose the method that best suits your needs and preferences.
|
In summary, Terraform supports various methods to input variables, each with its own use case. You can choose the method that best suits your needs and preferences.
|
||||||
|
|||||||
Reference in New Issue
Block a user