github.com/darmach/terratest@v0.34.8-0.20210517103231-80931f95e3ff/examples/terraform-gcp-ig-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 # --------------------------------------------------------------------------------------------------------------------- 11 # REQUIRED PARAMETERS 12 # You must provide a value for each of these parameters. 13 # --------------------------------------------------------------------------------------------------------------------- 14 15 variable "gcp_project_id" { 16 description = "The ID of the GCP project in which these resources will be created." 17 type = string 18 } 19 20 variable "gcp_region" { 21 description = "The region in which all GCP resources will be created." 22 type = string 23 } 24 25 # --------------------------------------------------------------------------------------------------------------------- 26 # OPTIONAL PARAMETERS 27 # These parameters have reasonable defaults. 28 # --------------------------------------------------------------------------------------------------------------------- 29 30 variable "cluster_name" { 31 description = "The unique identifier for the resources created by this Terraform configuration." 32 type = string 33 default = "terratest-example" 34 } 35 36 variable "cluster_size" { 37 description = "The number of Compute Instances to run in the Managed Instance Group." 38 type = number 39 default = 3 40 } 41 42 variable "machine_type" { 43 description = "The Machine Type to use for the Compute Instances." 44 type = string 45 default = "f1-micro" 46 } 47