Skip to content

Commit

Permalink
style(cdk): rename ddb tables
Browse files Browse the repository at this point in the history
  • Loading branch information
ap0nia committed Feb 4, 2024
1 parent b78e427 commit 64b366d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/cdk/src/stacks/backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class BackendStack extends Stack {
const domain = env.PR_NUM ? `staging-${env.PR_NUM}.api` : env.NODE_ENV === 'production' ? 'api' : 'dev.api';
const removalPolicy: RemovalPolicy = env.NODE_ENV === 'staging' ? RemovalPolicy.DESTROY : RemovalPolicy.RETAIN;

const userDataDDB = new dynamnodb.Table(this, `user-data-ddb`, {
const userDataDDB = new dynamnodb.Table(this, `userdata-ddb`, {
partitionKey: {
name: 'id',
type: dynamnodb.AttributeType.STRING,
Expand All @@ -47,7 +47,7 @@ export class BackendStack extends Stack {
deletionProtection: true,
});

const authUserDataDDB = new dynamnodb.Table(this, `authuserdata-ddb`, {
const authUserDataDDB = new dynamnodb.Table(this, `google-userdata-ddb`, {
partitionKey: {
name: 'id',
type: dynamnodb.AttributeType.STRING,
Expand Down

0 comments on commit 64b366d

Please sign in to comment.