forked from gruntwork-io/infrastructure-as-code-training
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars.tf
22 lines (18 loc) · 1.04 KB
/
vars.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# ---------------------------------------------------------------------------------------------------------------------
# ENVIRONMENT VARIABLES
# Define these secrets as environment variables
# ---------------------------------------------------------------------------------------------------------------------
# AWS_ACCESS_KEY_ID
# AWS_SECRET_ACCESS_KEY
# ---------------------------------------------------------------------------------------------------------------------
# MODULE PARAMETERS
# These variables are expected to be passed in by the operator
# ---------------------------------------------------------------------------------------------------------------------
variable "ami" {
description = "The ID of the AMI that has Ruby on Rails installed and contains the code from the example-rails-app"
type = string
}
variable "key_pair_name" {
description = "The name of a Key Pair that you've created in AWS and have saved on your computer. You will be able to use this Key Pair to SSH to the EC2 instance."
type = string
}