forked from gruntwork-io/terratest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
38 lines (30 loc) · 1.46 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# ---------------------------------------------------------------------------------------------------------------------
# ENVIRONMENT VARIABLES
# Define these secrets as environment variables
# ---------------------------------------------------------------------------------------------------------------------
# AWS_ACCESS_KEY_ID
# AWS_SECRET_ACCESS_KEY
# ---------------------------------------------------------------------------------------------------------------------
# REQUIRED PARAMETERS
# You must provide a value for each of these parameters.
# ---------------------------------------------------------------------------------------------------------------------
# ---------------------------------------------------------------------------------------------------------------------
# OPTIONAL PARAMETERS
# These parameters have reasonable defaults.
# ---------------------------------------------------------------------------------------------------------------------
variable "aws_region" {
description = "The AWS region to deploy into"
default = "us-east-1"
}
variable "instance_name" {
description = "The Name tag to set for the EC2 Instance."
default = "terratest-example"
}
variable "instance_port" {
description = "The port the EC2 Instance should listen on for HTTP requests."
default = 8080
}
variable "instance_text" {
description = "The text the EC2 Instance should return when it gets an HTTP request."
default = "Hello, World!"
}