Merge pull request #4625 from timmytofu/t1

Changes (inconsistently used) t2.micro back to t1.micro - t2.micro is…
This commit is contained in:
Clint 2016-01-11 16:52:34 -06:00
commit 8c4842dbef
4 changed files with 7 additions and 7 deletions

View File

@ -95,7 +95,7 @@ Within the resource block itself is configuration for that
resource. This is dependent on each resource provider and resource. This is dependent on each resource provider and
is fully documented within our is fully documented within our
[providers reference](/docs/providers/index.html). For our EC2 instance, we specify [providers reference](/docs/providers/index.html). For our EC2 instance, we specify
an AMI for Ubuntu, and request a "t2.micro" instance so we an AMI for Ubuntu, and request a "t1.micro" instance so we
qualify under the free tier. qualify under the free tier.
## Execution Plan ## Execution Plan

View File

@ -69,7 +69,7 @@ $ terraform plan
+ aws_instance.example + aws_instance.example
ami: "" => "ami-8eb061e6" ami: "" => "ami-8eb061e6"
availability_zone: "" => "<computed>" availability_zone: "" => "<computed>"
instance_type: "" => "t2.micro" instance_type: "" => "t1.micro"
key_name: "" => "<computed>" key_name: "" => "<computed>"
private_dns: "" => "<computed>" private_dns: "" => "<computed>"
private_ip: "" => "<computed>" private_ip: "" => "<computed>"
@ -91,7 +91,7 @@ following:
``` ```
aws_instance.example: Creating... aws_instance.example: Creating...
ami: "" => "ami-8eb061e6" ami: "" => "ami-8eb061e6"
instance_type: "" => "t2.micro" instance_type: "" => "t1.micro"
aws_eip.ip: Creating... aws_eip.ip: Creating...
instance: "" => "i-0e737b25" instance: "" => "i-0e737b25"
@ -145,7 +145,7 @@ created in parallel to everything else.
``` ```
resource "aws_instance" "another" { resource "aws_instance" "another" {
ami = "ami-8eb061e6" ami = "ami-8eb061e6"
instance_type = "t2.micro" instance_type = "t1.micro"
} }
``` ```

View File

@ -26,7 +26,7 @@ To define a provisioner, modify the resource block defining the
``` ```
resource "aws_instance" "example" { resource "aws_instance" "example" {
ami = "ami-8eb061e6" ami = "ami-8eb061e6"
instance_type = "t2.micro" instance_type = "t1.micro"
provisioner "local-exec" { provisioner "local-exec" {
command = "echo ${aws_instance.example.public_ip} > file.txt" command = "echo ${aws_instance.example.public_ip} > file.txt"
@ -62,7 +62,7 @@ then run `apply`:
$ terraform apply $ terraform apply
aws_instance.example: Creating... aws_instance.example: Creating...
ami: "" => "ami-8eb061e6" ami: "" => "ami-8eb061e6"
instance_type: "" => "t2.micro" instance_type: "" => "t1.micro"
aws_eip.ip: Creating... aws_eip.ip: Creating...
instance: "" => "i-213f350a" instance: "" => "i-213f350a"

View File

@ -137,7 +137,7 @@ Then, replace the "aws\_instance" with the following:
``` ```
resource "aws_instance" "example" { resource "aws_instance" "example" {
ami = "${lookup(var.amis, var.region)}" ami = "${lookup(var.amis, var.region)}"
instance_type = "t2.micro" instance_type = "t1.micro"
} }
``` ```