Update docs to show correct launching of atlas artifact in AWS.

This commit is contained in:
carinadigital 2015-07-06 14:13:01 +01:00 committed by Joseph Anthony Pasquale Holsten
parent 0c3f2a915c
commit 1d6a5c5401
1 changed files with 1 additions and 1 deletions

View File

@ -32,6 +32,7 @@ resource "atlas_artifact" "web" {
}
# Start our instance with the dynamic ami value
# Remember to include the AWS region as it is part of the full ID
resource "aws_instance" "app" {
ami = "${atlas_artifact.web.metadata_full.region-us-east-1}"
...
@ -82,4 +83,3 @@ The following attributes are exported:
For example, the "region.us-east-1" key will become "region-us-east-1".
* `version_real` - The matching version of the artifact
* `slug` - The artifact slug in Atlas