From 23dff5124afbe4e7ef68f6394c3260fe862b92db Mon Sep 17 00:00:00 2001 From: Yuval Greenfield Date: Fri, 16 Jun 2017 00:18:29 -0700 Subject: [PATCH] Warn that amis are region specific (#15312) * Warn that amis are region specific To avoid `InvalidAMIID.NotFound` See https://github.com/hashicorp/terraform/issues/11220 * Add the expected error * Update build.html.md --- website/intro/getting-started/build.html.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/intro/getting-started/build.html.md b/website/intro/getting-started/build.html.md index c0bb5e6909..7bfd609db0 100644 --- a/website/intro/getting-started/build.html.md +++ b/website/intro/getting-started/build.html.md @@ -66,7 +66,9 @@ resource "aws_instance" "example" { ~> **Note**: The above configuration is designed to work on most EC2 accounts, with access to a default VPC. For EC2 Classic users, please use `t1.micro` for -`instance_type`, and `ami-408c7f28` for the `ami`. +`instance_type`, and `ami-408c7f28` for the `ami`. If you use a region other than +`us-east-1` then you will need to choose an AMI in that region +as AMI IDs are region specific. Replace the `ACCESS_KEY_HERE` and `SECRET_KEY_HERE` with your AWS access key and secret key, available from