Clarify that you get the AMI id from metadata
This commit is contained in:
parent
21d18ae2c9
commit
76bbd3b457
|
@ -33,7 +33,7 @@ resource "atlas_artifact" "web" {
|
||||||
|
|
||||||
# Start our instance with the dynamic ami value
|
# Start our instance with the dynamic ami value
|
||||||
resource "aws_instance" "app" {
|
resource "aws_instance" "app" {
|
||||||
ami = "${atlas_artifact.web.id}"
|
ami = "${atlas_artifact.web.metadata_full.region-us-east-1}"
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue