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:
commit
7d9fa51dba
|
@ -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}"
|
||||
...
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue