website: fix two tier AWS example to work with HCL

see #261
This commit is contained in:
Jack Pearkes 2014-09-03 10:21:52 -04:00
parent 946a07537a
commit 2cb7ab29e5
1 changed files with 5 additions and 5 deletions

View File

@ -49,10 +49,10 @@ variable "aws_region" {
# Ubuntu Precise 12.04 LTS (x64)
variable "aws_amis" {
default = {
"eu-west-1": "ami-b1cf19c6",
"us-east-1": "ami-de7ab6b6",
"us-west-1": "ami-3f75767a",
"us-west-2": "ami-21f78e11"
eu-west-1 = "ami-b1cf19c6"
us-east-1 = "ami-de7ab6b6"
us-west-1 = "ami-3f75767a"
us-west-2 = "ami-21f78e11"
}
}
@ -139,7 +139,7 @@ resource "aws_instance" "web" {
inline = [
"sudo apt-get -y update",
"sudo apt-get -y install nginx",
"sudo service nginx start",
"sudo service nginx start"
]
}
}