Skip to content
This repository was archived by the owner on Apr 15, 2020. It is now read-only.

Commit 6ef5a42

Browse files
committed
Add default AMI ID
1 parent d5b1ff9 commit 6ef5a42

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Variables that are used by this module:
2222
1. aws_access_key - AWS account public key
2323
2. aws_secret_key - AWS account private key
2424
3. aws_region - AWS region
25-
4. aws_instance_ami - AMI ID (example: ami-194cdc76)
25+
4. aws_instance_ami - CentOS AMI ID (default: ami-337be65c). Last updated: 03.04.2018
2626
5. aws_instance_type - EC2 instance Type (example: t2.micro)
2727
6. aws_instance_name - EC2 instance name
2828
7. aws_security_group_name - name of new security group

variables.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ variable "aws_region" {}
66

77
# instance
88

9-
variable "aws_instance_ami" {}
9+
variable "aws_instance_ami" {
10+
# Default CentOS AMI. Last check: 03.04.2018
11+
default = "ami-337be65c"
12+
}
1013
variable "aws_instance_type" {}
1114
variable "aws_instance_name" {}
1215

0 commit comments

Comments
 (0)