Skip to content

Commit 1e12bac

Browse files
committed
added yaml to code block
1 parent 8799ee7 commit 1e12bac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/set-up-tables-1.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ chapter: Setting Up infrastructure
88
postnumber: 5
99
---
1010

11-
In this chapter we are going to create our DynamoDB tables. DynamoDB is a NoSQL key-value store serverless native database. Sounds like a mouthful, in a nutshell it does not force your data to adhere to any data model schema and you do not have to provide any server instances for it to run.
11+
In this chapter we are going to create our DynamoDB tables. DynamoDB is a NoSQL key-value store serverless native database. Sounds like a mouthful, in a nutshell it does not force your data to adhere to any data model or schema and you do not have to provide any server instances for it to run. However, lately I've found myself using it for a variety of workloads, you should be fully aware of it's downsides.
1212

1313
The way we will be provisioning our tables will enable us to create tables for any of our environment stages.
1414

@@ -42,12 +42,12 @@ Resources:
4242

4343
🎩 We are creating a table with a Primary Key called \`listingId\` and a Sort Key called \`listingName\` both of them are strings.
4444

45-
🎩 Specify what the Read/Write Units should be. \
45+
🎩 For the ProvisionedThroughput section we are basically tell AWS how many operations per second can be allowed when data is being written or read. \
4646
\
4747
\
4848
In the same directory lets create the table that will store our bookings called \`booking-db.yml\`:
4949

50-
```
50+
```YAML
5151
Resources:
5252
BookingsDB:
5353
Type: AWS::DynamoDB::Table

0 commit comments

Comments
 (0)