Changes AMI to be non-hvm, matching the one used in earlier pages
This commit is contained in:
parent
8c4842dbef
commit
affbe9bffa
|
@ -67,7 +67,7 @@ $ terraform plan
|
||||||
public_ip: "" => "<computed>"
|
public_ip: "" => "<computed>"
|
||||||
|
|
||||||
+ aws_instance.example
|
+ aws_instance.example
|
||||||
ami: "" => "ami-8eb061e6"
|
ami: "" => "ami-b8b061d0"
|
||||||
availability_zone: "" => "<computed>"
|
availability_zone: "" => "<computed>"
|
||||||
instance_type: "" => "t1.micro"
|
instance_type: "" => "t1.micro"
|
||||||
key_name: "" => "<computed>"
|
key_name: "" => "<computed>"
|
||||||
|
@ -90,7 +90,7 @@ following:
|
||||||
|
|
||||||
```
|
```
|
||||||
aws_instance.example: Creating...
|
aws_instance.example: Creating...
|
||||||
ami: "" => "ami-8eb061e6"
|
ami: "" => "ami-b8b061d0"
|
||||||
instance_type: "" => "t1.micro"
|
instance_type: "" => "t1.micro"
|
||||||
aws_eip.ip: Creating...
|
aws_eip.ip: Creating...
|
||||||
instance: "" => "i-0e737b25"
|
instance: "" => "i-0e737b25"
|
||||||
|
@ -144,7 +144,7 @@ created in parallel to everything else.
|
||||||
|
|
||||||
```
|
```
|
||||||
resource "aws_instance" "another" {
|
resource "aws_instance" "another" {
|
||||||
ami = "ami-8eb061e6"
|
ami = "ami-b8b061d0"
|
||||||
instance_type = "t1.micro"
|
instance_type = "t1.micro"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
@ -25,7 +25,7 @@ To define a provisioner, modify the resource block defining the
|
||||||
|
|
||||||
```
|
```
|
||||||
resource "aws_instance" "example" {
|
resource "aws_instance" "example" {
|
||||||
ami = "ami-8eb061e6"
|
ami = "ami-b8b061d0"
|
||||||
instance_type = "t1.micro"
|
instance_type = "t1.micro"
|
||||||
|
|
||||||
provisioner "local-exec" {
|
provisioner "local-exec" {
|
||||||
|
@ -61,7 +61,7 @@ then run `apply`:
|
||||||
```
|
```
|
||||||
$ terraform apply
|
$ terraform apply
|
||||||
aws_instance.example: Creating...
|
aws_instance.example: Creating...
|
||||||
ami: "" => "ami-8eb061e6"
|
ami: "" => "ami-b8b061d0"
|
||||||
instance_type: "" => "t1.micro"
|
instance_type: "" => "t1.micro"
|
||||||
aws_eip.ip: Creating...
|
aws_eip.ip: Creating...
|
||||||
instance: "" => "i-213f350a"
|
instance: "" => "i-213f350a"
|
||||||
|
|
|
@ -123,7 +123,7 @@ support for the "us-west-2" region as well:
|
||||||
```
|
```
|
||||||
variable "amis" {
|
variable "amis" {
|
||||||
default = {
|
default = {
|
||||||
us-east-1 = "ami-8eb061e6"
|
us-east-1 = "ami-b8b061d0"
|
||||||
us-west-2 = "ami-ef5e24df"
|
us-west-2 = "ami-ef5e24df"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue