Merge pull request #3367 from josephholsten/atlas-artifact
Update docs to show correct launching of atlas artifact in AWS.
This commit is contained in:
commit
5a91a765e9
|
@ -32,6 +32,7 @@ resource "atlas_artifact" "web" {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Start our instance with the dynamic ami value
|
# 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" {
|
resource "aws_instance" "app" {
|
||||||
ami = "${atlas_artifact.web.metadata_full.region-us-east-1}"
|
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".
|
For example, the "region.us-east-1" key will become "region-us-east-1".
|
||||||
* `version_real` - The matching version of the artifact
|
* `version_real` - The matching version of the artifact
|
||||||
* `slug` - The artifact slug in Atlas
|
* `slug` - The artifact slug in Atlas
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue