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

Commit 661ebfb

Browse files
author
Christopher Davis
committed
docs: Provide instructions for s3 backend prerequisites
Related to #226
1 parent 697ef37 commit 661ebfb

File tree

1 file changed

+16
-1
lines changed
  • docs/configuration-reference/backend

1 file changed

+16
-1
lines changed

docs/configuration-reference/backend/s3.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,23 @@ used.
1919
2020
## Prerequisites
2121

22-
* AWS S3 bucket to be used should already be created.
22+
* AWS S3 bucket to be used should already be created. This can be done through the following aws CLI command:
23+
24+
```
25+
aws s3 mb s3://kinvolk-lokomotive-test --region=eu-central-1
26+
```
27+
2328
* DynamoDB table to be used for state locking should already be created. The table must have a primary key named LockID.
29+
This can be established with the `aws dynamodb create-table` command:
30+
31+
32+
```
33+
aws dynamodb create-table --table-name kinvolk-lokomotive-test \
34+
--attribute-definitions AttributeName=LockID,AttributeType=S \
35+
--key-schema AttributeName=LockID,KeyType=HASH \
36+
--billing-mode=PAY_PER_REQUEST
37+
```
38+
2439
* The necessary [IAM permissions](#iam-permissions) for S3 and DynamoDB.
2540

2641
## Configuration

0 commit comments

Comments
 (0)