Skip to content

Commit a6a7dce

Browse files
author
Shohre Mansouri
committed
Simple changes on tf file. Add .log to gitignore
1 parent 52c67ae commit a6a7dce

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# .tfstate files
55
*.tfstate
66
*.tfstate.*
7+
*.log
78

89
# Crash log files
910
crash.log

Sample1/TerraformFiles/moduleone.tf

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ variable "aws_access_key" {}
66
variable "aws_secret_key" {}
77
variable "private_key_path" {}
88
variable "key_name" {
9-
default = "PluralsightKeys"
9+
default = "deployer-key"
1010
}
1111

1212
##################################################################################
@@ -16,15 +16,15 @@ variable "key_name" {
1616
provider "aws" {
1717
access_key = "${var.aws_access_key}"
1818
secret_key = "${var.aws_secret_key}"
19-
region = "us-east-1"
19+
region = "ap-southeast-2"
2020
}
2121

2222
##################################################################################
2323
# RESOURCES
2424
##################################################################################
2525

2626
resource "aws_instance" "nginx" {
27-
ami = "ami-c58c1dd3"
27+
ami = "ami-e428d986"
2828
instance_type = "t2.micro"
2929
key_name = "${var.key_name}"
3030

0 commit comments

Comments
 (0)