From 015742b5470ed0c399d2e9fbeec5ed270dfc692a Mon Sep 17 00:00:00 2001 From: Gabriel Sobrinho Date: Fri, 31 Jul 2015 00:01:00 -0300 Subject: [PATCH] Fix last example syntax --- .../getting-started/remote-builds.html.markdown | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/website/source/intro/getting-started/remote-builds.html.markdown b/website/source/intro/getting-started/remote-builds.html.markdown index f37a5a5ad..6ddb4ece3 100644 --- a/website/source/intro/getting-started/remote-builds.html.markdown +++ b/website/source/intro/getting-started/remote-builds.html.markdown @@ -90,7 +90,19 @@ it's even better to store and version the AMI output so it can be easily deployed by a tool like [Terraform](https://terraform.io). The `atlas` [post-processor](/docs/post-processors/atlas.html) makes this process simple: -`javascript { "variables": ["..."], "builders": ["..."], "provisioners": ["..."], "push": ["..."], "post-processors": [ { "type": "atlas", "artifact": "ATLAS_USERNAME/packer-tutorial", "artifact_type": "amazon.ami" } ] }` +``` {.javascript} +{ + "variables": ["..."], + "builders": ["..."], + "provisioners": ["..."], + "push": ["..."], + "post-processors": [{ + "type": "atlas", + "artifact": "ATLAS_USERNAME/packer-tutorial", + "artifact_type": "amazon.ami" + }] +} +``` Update the `post-processors` block with your Atlas username, then `packer push example.json` and watch the build kick off in Atlas! When the build