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
This commit is contained in:
parent
5d19148f47
commit
23dff5124a
|
@ -66,7 +66,9 @@ resource "aws_instance" "example" {
|
||||||
|
|
||||||
~> **Note**: The above configuration is designed to work on most EC2 accounts,
|
~> **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
|
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
|
Replace the `ACCESS_KEY_HERE` and `SECRET_KEY_HERE` with your
|
||||||
AWS access key and secret key, available from
|
AWS access key and secret key, available from
|
||||||
|
|
Loading…
Reference in New Issue