github.com/darmach/terratest@v0.34.8-0.20210517103231-80931f95e3ff/examples/terraform-http-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 "aws_region" { 20 description = "The AWS region to deploy into" 21 type = string 22 default = "us-east-1" 23 } 24 25 variable "instance_name" { 26 description = "The Name tag to set for the EC2 Instance." 27 type = string 28 default = "terratest-example" 29 } 30 31 variable "instance_port" { 32 description = "The port the EC2 Instance should listen on for HTTP requests." 33 type = number 34 default = 8080 35 } 36 37 variable "instance_text" { 38 description = "The text the EC2 Instance should return when it gets an HTTP request." 39 type = string 40 default = "Hello, World!" 41 } 42 43 variable "instance_type" { 44 description = "The EC2 instance type to run." 45 type = string 46 default = "t2.micro" 47 }