Merge pull request #3367 from josephholsten/atlas-artifact

Update docs to show correct launching of atlas artifact in AWS.
This commit is contained in:
Martin Atkins 2015-10-10 17:19:09 -07:00
commit 5a91a765e9
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