Update docs to show correct launching of atlas artifact in AWS.
This commit is contained in:
parent
0c3f2a915c
commit
1d6a5c5401
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue