Skip to content

Commit

Permalink
address review comments on docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kapilt committed Jun 6, 2019
1 parent 0fd9d87 commit 3084852
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/source/topics/tf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ provides functionality that allows you to manage deployments yourself using
terraform. This is provided via the ``chalice package --pkg-format terraform``
command.

When you run this command, chalice will generate the AWS Lambda deployment
package that contains your application as well as a `Terraform <https://terraform.io>`__
template. You can then use a terraform to deploy your chalice application.
When you run this command, chalice will generate the AWS Lambda
deployment package that contains your application and a `Terraform
<https://terraform.io>`__ configuration file. You can then use the
terraform cli to deploy your chalice application.

Considerations
--------------
Expand Down Expand Up @@ -46,8 +47,8 @@ First install the necessary packages::
$ virtualenv /tmp/venv
$ . /tmp/venv/bin/activate
$ pip install chalice awscli
$ chalice new-project test-cfn-deploy
$ cd test-cfn-deploy
$ chalice new-project test-tf-deploy
$ cd test-tf-deploy

At this point we've installed chalice and the AWS CLI and we have
a basic app created locally. Next we'll run the ``package`` command
Expand All @@ -57,7 +58,7 @@ and look at its contents::
Creating deployment package.
$ ls -la /tmp/packaged-app/
-rw-r--r-- 1 j wheel 3355270 May 25 14:20 deployment.zip
-rw-r--r-- 1 j wheel 3068 May 25 14:20 sam.json
-rw-r--r-- 1 j wheel 3068 May 25 14:20 chalice.tf.json

$ unzip -l /tmp/packaged-app/deployment.zip | tail -n 5
17292 05-25-17 14:19 chalice/app.py
Expand Down

0 comments on commit 3084852

Please sign in to comment.