+
Skip to content

Conversation

raranj
Copy link
Contributor

@raranj raranj commented Oct 13, 2025

Changes:

  • Added store-carts-orders table with ItemIdIndex GSI
  • Added store-limits table
  • Updated Lambda IAM permissions to access new store tables

Closes #327

@raranj raranj requested a review from devksingh4 October 13, 2025 20:39
Copy link
Contributor

💰 Infracost report

Monthly estimate increased by $12 📈

Changed project Baseline cost Usage cost* Total change New monthly cost
acm-uiuc/core/terraform/envs/prod +$0 +$6 +$6 (+9%) $74
acm-uiuc/core/terraform/envs/qa +$0 +$6 +$6 (+8%) $78

*Usage costs were estimated using infracost-usage.yml, see docs for other options.

Estimate details (includes details of unsupported resources)
Key: * usage cost, ~ changed, + added, - removed

──────────────────────────────────
Project: envs-prod
Module path: envs/prod

+ module.dynamo.aws_dynamodb_table.store_carts_orders
  +$3

    + Write request unit (WRU)
      +$0.00, +150 WRUs*

    + Read request unit (RRU)
      +$0.00, +300 RRUs*

    + Data storage
      +$0.75, +3 GB*

    + Point-In-Time Recovery (PITR) backup storage
      +$1, +6 GB*

    + On-demand backup storage
      +$0.60, +6 GB*

    + Table data restored
      +$0.45, +3 GB*

    + Streams read request unit (sRRU)
      +$0.00, +700 sRRUs*

+ module.dynamo.aws_dynamodb_table.store_limits
  +$3

    + Write request unit (WRU)
      +$0.00, +150 WRUs*

    + Read request unit (RRU)
      +$0.00, +300 RRUs*

    + Data storage
      +$0.75, +3 GB*

    + Point-In-Time Recovery (PITR) backup storage
      +$1, +6 GB*

    + On-demand backup storage
      +$0.60, +6 GB*

    + Table data restored
      +$0.45, +3 GB*

    + Streams read request unit (sRRU)
      +$0.00, +700 sRRUs*

Monthly cost change for acm-uiuc/core/terraform/envs/prod (Module path: envs/prod)
Amount:  +$6 ($68 → $74)
Percent: +9%

──────────────────────────────────
Project: envs-qa
Module path: envs/qa

+ module.dynamo.aws_dynamodb_table.store_carts_orders
  +$3

    + Write request unit (WRU)
      +$0.00, +150 WRUs*

    + Read request unit (RRU)
      +$0.00, +300 RRUs*

    + Data storage
      +$0.75, +3 GB*

    + Point-In-Time Recovery (PITR) backup storage
      +$1, +6 GB*

    + On-demand backup storage
      +$0.60, +6 GB*

    + Table data restored
      +$0.45, +3 GB*

    + Streams read request unit (sRRU)
      +$0.00, +700 sRRUs*

+ module.dynamo.aws_dynamodb_table.store_limits
  +$3

    + Write request unit (WRU)
      +$0.00, +150 WRUs*

    + Read request unit (RRU)
      +$0.00, +300 RRUs*

    + Data storage
      +$0.75, +3 GB*

    + Point-In-Time Recovery (PITR) backup storage
      +$1, +6 GB*

    + On-demand backup storage
      +$0.60, +6 GB*

    + Table data restored
      +$0.45, +3 GB*

    + Streams read request unit (sRRU)
      +$0.00, +700 sRRUs*

Monthly cost change for acm-uiuc/core/terraform/envs/qa (Module path: envs/qa)
Amount:  +$6 ($72 → $78)
Percent: +8%

──────────────────────────────────
Key: * usage cost, ~ changed, + added, - removed

*Usage costs were estimated using infracost-usage.yml, see docs for other options.

220 cloud resources were detected:
∙ 106 were estimated
∙ 112 were free
∙ 2 are not supported yet, see https://infracost.io/requested-resources:
  ∙ 2 x aws_cloudfront_key_value_store

Infracost estimate: Monthly estimate increased by $12 ↑
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Changed project                                    ┃ Baseline cost ┃ Usage cost* ┃ Total change ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ acm-uiuc/core/terraform/envs/prod                  ┃           +$0 ┃         +$6 ┃    +$6 (+9%) ┃
┃ acm-uiuc/core/terraform/envs/qa                    ┃           +$0 ┃         +$6 ┃    +$6 (+8%) ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛
This comment will be updated when code changes.

@raranj raranj merged commit 46be337 into main Oct 13, 2025
12 checks passed
@raranj raranj deleted the add-store-tables branch October 13, 2025 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create DynamoDB tables for storing store info

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载