parent
946a07537a
commit
2cb7ab29e5
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue