Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
docs: Provide instructions for s3 backend prerequisites
Browse files Browse the repository at this point in the history
Related to #226
  • Loading branch information
BrainBlasted committed Jun 29, 2020
1 parent 6774891 commit 3f87701
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/configuration-reference/backend/s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,23 @@ used.
## Prerequisites

* AWS S3 bucket to be used should already be created.
* AWS S3 bucket to be used should already be created. You can do this by running the following AWS CLI command:

```sh
aws s3 mb s3://kinvolk-lokomotive-test --region=eu-central-1
```

* DynamoDB table to be used for state locking should already be created. The table must have a primary key named LockID.
You can create it with the following AWS CLI command:


```sh
aws dynamodb create-table --table-name kinvolk-lokomotive-test \
--attribute-definitions AttributeName=LockID,AttributeType=S \
--key-schema AttributeName=LockID,KeyType=HASH \
--billing-mode=PAY_PER_REQUEST
```

* The necessary [IAM permissions](#iam-permissions) for S3 and DynamoDB.

## Configuration
Expand Down

0 comments on commit 3f87701

Please sign in to comment.