other m1/ami-1234 clean ups

This commit is contained in:
clint shryock 2015-12-15 16:12:31 -06:00
parent 6236e8d720
commit e59f39df5f
3 changed files with 13 additions and 13 deletions

View File

@ -14,11 +14,11 @@ and deleted. Instances also support [provisioning](/docs/provisioners/index.html
## Example Usage ## Example Usage
``` ```
# Create a new instance of the ami-1234 on an m1.small node # Create a new instance of the `ami-d05e75b8` (Ubuntu 14.04) on an
# with an AWS Tag naming it "HelloWorld" # t2.micro node with an AWS Tag naming it "HelloWorld"
resource "aws_instance" "web" { resource "aws_instance" "web" {
ami = "ami-1234" ami = "ami-d05e75b8"
instance_type = "m1.small" instance_type = "t2.micro"
tags { tags {
Name = "HelloWorld" Name = "HelloWorld"
} }

View File

@ -15,8 +15,8 @@ Provides a resource to create a new launch configuration, used for autoscaling g
``` ```
resource "aws_launch_configuration" "as_conf" { resource "aws_launch_configuration" "as_conf" {
name = "web_config" name = "web_config"
image_id = "ami-1234" ami = "ami-d05e75b8"
instance_type = "m1.small" instance_type = "t2.micro"
} }
``` ```
@ -33,8 +33,8 @@ with `name_prefix`. Example:
``` ```
resource "aws_launch_configuration" "as_conf" { resource "aws_launch_configuration" "as_conf" {
name_prefix = "terraform-lc-example-" name_prefix = "terraform-lc-example-"
image_id = "ami-1234" ami = "ami-d05e75b8"
instance_type = "m1.small" instance_type = "t2.micro"
lifecycle { lifecycle {
create_before_destroy = true create_before_destroy = true
@ -66,8 +66,8 @@ for more information or how to launch [Spot Instances][3] with Terraform.
``` ```
resource "aws_launch_configuration" "as_conf" { resource "aws_launch_configuration" "as_conf" {
image_id = "ami-1234" ami = "ami-d05e75b8"
instance_type = "m1.small" instance_type = "t2.micro"
spot_price = "0.001" spot_price = "0.001"
lifecycle { lifecycle {
create_before_destroy = true create_before_destroy = true

View File

@ -195,9 +195,9 @@
<p> </p> <p> </p>
<p>resource <span class="txt-spe">"aws_instance"</span> <span class="txt-str">"app"</span> {</p> <p>resource <span class="txt-spe">"aws_instance"</span> <span class="txt-str">"app"</span> {</p>
<p> count = <span class="txt-int">5</span></p> <p> count = <span class="txt-int">5</span></p>
<p> </p> <p> </p>
<p> ami = <span class="txt-str">"ami-043a5034"</span></p> <p> ami = <span class="txt-str">"ami-d05e75b8"</span></p>
<p> instance_type = <span class="txt-str">"m1.small"</span></p> <p> instance_type = <span class="txt-str">"t2.micro"</span></p>
<p>}</p> <p>}</p>
</div> </div>
</div> </div>