github.com/darmach/terratest@v0.34.8-0.20210517103231-80931f95e3ff/examples/terraform-aws-example/variables.tf (about) 1 # --------------------------------------------------------------------------------------------------------------------- 2 # ENVIRONMENT VARIABLES 3 # Define these secrets as environment variables 4 # --------------------------------------------------------------------------------------------------------------------- 5 6 # AWS_ACCESS_KEY_ID 7 # AWS_SECRET_ACCESS_KEY 8 9 # --------------------------------------------------------------------------------------------------------------------- 10 # REQUIRED PARAMETERS 11 # You must provide a value for each of these parameters. 12 # --------------------------------------------------------------------------------------------------------------------- 13 14 # --------------------------------------------------------------------------------------------------------------------- 15 # OPTIONAL PARAMETERS 16 # These parameters have reasonable defaults. 17 # --------------------------------------------------------------------------------------------------------------------- 18 19 variable "instance_name" { 20 description = "The Name tag to set for the EC2 Instance." 21 type = string 22 default = "terratest-example" 23 } 24 25 variable "instance_type" { 26 description = "The EC2 instance type to run." 27 type = string 28 default = "t2.micro" 29 }