github.com/darmach/terratest@v0.34.8-0.20210517103231-80931f95e3ff/examples/terraform-gcp-example/variables.tf (about) 1 # --------------------------------------------------------------------------------------------------------------------- 2 # ENVIRONMENT VARIABLES 3 # You must define the following environment variables. 4 # --------------------------------------------------------------------------------------------------------------------- 5 6 # GOOGLE_CREDENTIALS 7 # or 8 # GOOGLE_APPLICATION_CREDENTIALS 9 10 variable "gcp_project_id" { 11 description = "The ID of the GCP project in which these resources will be created." 12 } 13 14 # --------------------------------------------------------------------------------------------------------------------- 15 # REQUIRED PARAMETERS 16 # You must provide a value for each of these parameters. 17 # --------------------------------------------------------------------------------------------------------------------- 18 19 # --------------------------------------------------------------------------------------------------------------------- 20 # OPTIONAL PARAMETERS 21 # These parameters have reasonable defaults. 22 # --------------------------------------------------------------------------------------------------------------------- 23 24 variable "instance_name" { 25 description = "The Name to use for the Cloud Instance." 26 type = string 27 default = "terratest-example" 28 } 29 30 variable "machine_type" { 31 description = "The Machine Type to use for the Cloud Instance." 32 type = string 33 default = "f1-micro" 34 } 35 36 variable "zone" { 37 description = "The Zone to launch the Cloud Instance into." 38 type = string 39 default = "us-central1-a" 40 } 41 42 variable "bucket_name" { 43 description = "The Name of the example Bucket to create." 44 type = string 45 default = "gruntwork-terratest-bucket" 46 } 47 48 variable "bucket_location" { 49 description = "The location to store the Bucket. This value can be regional or multi-regional." 50 type = string 51 default = "US" 52 } 53