Skip to content

Commit

Permalink
Fix the example validate-template command
Browse files Browse the repository at this point in the history
- The original example referenced a local file URL, which is not
  supported by the validate-template command. Switched to use an
  S3 URL.

Fixes aws#1489.
  • Loading branch information
glb committed Sep 3, 2015
1 parent a3d052d commit da97481
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions awscli/examples/cloudformation/validate-template.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
**To validate an AWS CloudFormation template**

The following ``validate-template`` command validates the ``sampletemplate.json`` template::
The following ``validate-template`` command validates the ``sampletemplate.json`` template in the Amazon S3 bucket named ``sample``::

aws cloudformation validate-template --template-body file:////home//local//test//sampletemplate.json
aws cloudformation validate-template --template-url https://s3.amazonaws.com/sample/sample.template

Output::

Expand Down

0 comments on commit da97481

Please sign in to comment.