Skip to content

Conversation

devksingh4
Copy link
Member

Save all known user info to this table, including uinHash, eventually Discord, etc.

Copy link
Contributor

github-actions bot commented Sep 10, 2025

💰 Infracost report

Consider fixing this issue, it doesn't align with your company's FinOps policies & the Well-Architected Framework.

FinOps policies
🔴 DynamoDB - consider using provisioned tables rather than on-demand

You should use Provisioned DynamoDB rather than On-Demand if your application has predictable traffic patterns and high, steady throughput requirements because it allows for cost optimization by reserving capacity in advance. On-Demand is more suitable for unpredictable workloads. For example, a 100GB table with 5000 Read Capacity Units (RCUs) and 2000 Write Capacity Units (WCUs) with 50m reads and 20m writes a day would cost $1,400/month provisioned. The same table configured as On-Demand would cost $2,600/month - a saving of 46% by using provisioned capacity.

resource module.dynamo.aws_dynamodb_table.user_info

  • Switch PAY_PER_REQUEST to PROVISIONED

in project acm-uiuc/core/terraform/envs/prod

resource module.dynamo.aws_dynamodb_table.user_info

  • Switch PAY_PER_REQUEST to PROVISIONED

in project acm-uiuc/core/terraform/envs/qa

Monthly estimate increased by $6 📈
Changed project Baseline cost Usage cost* Total change New monthly cost
acm-uiuc/core/terraform/envs/prod +$0 +$3 +$3 (+5%) $65
acm-uiuc/core/terraform/envs/qa +$0 +$3 +$3 (+2%) $155

*Usage costs can be estimated by updating Infracost Cloud settings, see docs for other options.

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

──────────────────────────────────
Project: acm-uiuc/core/terraform/envs/prod
Module path: envs/prod

+ module.dynamo.aws_dynamodb_table.user_info
  +$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:  +$3 ($62 → $65)
Percent: +5%

──────────────────────────────────
Project: acm-uiuc/core/terraform/envs/qa
Module path: envs/qa

+ module.dynamo.aws_dynamodb_table.user_info
  +$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:  +$3 ($152 → $155)
Percent: +2%

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

*Usage costs can be estimated by updating Infracost Cloud settings, see docs for other options.

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

This comment will be updated when code changes.

@devksingh4 devksingh4 merged commit ea4bc5f into main Sep 10, 2025
10 of 11 checks passed
@devksingh4 devksingh4 deleted the dsingh14/new-user-info-table branch September 10, 2025 17:36
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.

1 participant