Merge pull request #3024 from hashicorp/atlas-artifact-docs-ami

Clarify that you get the AMI id from metadata, not id
This commit is contained in:
Kevin Fishner 2015-08-18 12:53:19 -07:00
commit 7d9fa51dba
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ resource "atlas_artifact" "web" {
# Start our instance with the dynamic ami value
resource "aws_instance" "app" {
ami = "${atlas_artifact.web.id}"
ami = "${atlas_artifact.web.metadata_full.region-us-east-1}"
...
}
```