Skip to content

Conversation

devksingh4
Copy link
Member

@devksingh4 devksingh4 commented Sep 17, 2025

Creates an API to get SIG info.

Sample response to GET /api/v1/organizations/ACM:

{
  "id": "ACM",
  "website": "https://www.acm.illinois.edu",
  "leads": [
    {
      "username": "jlevine4@illinois.edu",
      "name": "Jacob Levine",
      "title": "Chair"
    }
  ],
  "links": [
    {
      "type": "DISCORD",
      "url": "https://go.acm.illinois.edu/discord"
    }
  ]
}

GET /api/v1/organizations returns an array of above for all the orgs.

Copy link
Contributor

github-actions bot commented Sep 17, 2025

💰 Infracost report

Monthly estimate decreased by $71 📉

Changed project Baseline cost Usage cost* Total change New monthly cost
acm-uiuc/core/terraform/envs/prod +$0 +$8 +$8 (+14%) $64
acm-uiuc/core/terraform/envs/qa +$0 -$78 -$78 (-54%) $68

*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.assets.aws_cloudfront_distribution.this
  +$5

    + Invalidation requests (first 1k)
      $0.00, +1,000 paths*

    + Invalidation requests (over 1k)
      +$1, +250 paths*

    + US, Mexico, Canada
    
        + Data transfer out to internet (first 10TB)
          +$2, +20 GB*
    
        + Data transfer out to origin
          +$0.40, +20 GB*
    
        + HTTP requests
          +$0.08, +10 10k requests*
    
        + HTTPS requests
          +$0.20, +20 10k requests*

    + Europe, Israel
    
        + Data transfer out to internet (first 10TB)
          +$0.85, +10 GB*
    
        + Data transfer out to origin
          +$0.20, +10 GB*
    
        + HTTP requests
          +$0.02, +2 10k requests*
    
        + HTTPS requests
          +$0.02, +2 10k requests*

+ module.dynamo.aws_dynamodb_table.sig_info
  +$2

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

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

    + Data storage
      +$0.75, +3 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.assets.aws_s3_bucket.this
  +$1

    + Standard
    
        + Storage
          +$0.23, +10 GB*
    
        + PUT, COPY, POST, LIST requests
          +$0.05, +10 1k requests*
    
        + GET, SELECT, and all other requests
          +$0.05, +125 1k requests*

    + Intelligent tiering
    
        + Storage (frequent access)
          +$0.69, +30 GB*
    
        + Storage (archive access)
          +$0.11, +30 GB*

Monthly cost change for acm-uiuc/core/terraform/envs/prod (Module path: envs/prod)
Amount:  +$8 ($56 → $64)
Percent: +14%

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

+ module.assets.aws_cloudfront_distribution.this
  +$5

    + Invalidation requests (first 1k)
      $0.00, +1,000 paths*

    + Invalidation requests (over 1k)
      +$1, +250 paths*

    + US, Mexico, Canada
    
        + Data transfer out to internet (first 10TB)
          +$2, +20 GB*
    
        + Data transfer out to origin
          +$0.40, +20 GB*
    
        + HTTP requests
          +$0.08, +10 10k requests*
    
        + HTTPS requests
          +$0.20, +20 10k requests*

    + Europe, Israel
    
        + Data transfer out to internet (first 10TB)
          +$0.85, +10 GB*
    
        + Data transfer out to origin
          +$0.20, +10 GB*
    
        + HTTP requests
          +$0.02, +2 10k requests*
    
        + HTTPS requests
          +$0.02, +2 10k requests*

+ module.dynamo.aws_dynamodb_table.sig_info
  +$2

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

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

    + Data storage
      +$0.75, +3 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.assets.aws_s3_bucket.this
  +$1

    + Standard
    
        + Storage
          +$0.23, +10 GB*
    
        + PUT, COPY, POST, LIST requests
          +$0.05, +10 1k requests*
    
        + GET, SELECT, and all other requests
          +$0.05, +125 1k requests*

    + Intelligent tiering
    
        + Storage (frequent access)
          +$0.69, +30 GB*
    
        + Storage (archive access)
          +$0.11, +30 GB*

+ aws_route53_record.assets["A"]
  +$0.50

    + Standard queries (first 1B)
      +$0.50, +1.25 1M queries*

+ aws_route53_record.assets["AAAA"]
  +$0.50

    + Standard queries (first 1B)
      +$0.50, +1.25 1M queries*

~ aws_route53_record.frontend["A"]
  -$14 ($15 → $0.50)

    ~ Standard queries (first 1B)
      -$5 ($5 → $0.50), -11.25 1M queries (12.5 → 1.25)*

    - Latency based routing queries (first 1B)
      -$5, -8.3333 1M queries*

    - Geo DNS queries (first 1B)
      -$5, -7.1428 1M queries*

~ aws_route53_record.frontend["AAAA"]
  -$14 ($15 → $0.50)

    ~ Standard queries (first 1B)
      -$5 ($5 → $0.50), -11.25 1M queries (12.5 → 1.25)*

    - Latency based routing queries (first 1B)
      -$5, -8.3333 1M queries*

    - Geo DNS queries (first 1B)
      -$5, -7.1428 1M queries*

~ aws_route53_record.ical["A"]
  -$14 ($15 → $0.50)

    ~ Standard queries (first 1B)
      -$5 ($5 → $0.50), -11.25 1M queries (12.5 → 1.25)*

    - Latency based routing queries (first 1B)
      -$5, -8.3333 1M queries*

    - Geo DNS queries (first 1B)
      -$5, -7.1428 1M queries*

~ aws_route53_record.ical["AAAA"]
  -$14 ($15 → $0.50)

    ~ Standard queries (first 1B)
      -$5 ($5 → $0.50), -11.25 1M queries (12.5 → 1.25)*

    - Latency based routing queries (first 1B)
      -$5, -8.3333 1M queries*

    - Geo DNS queries (first 1B)
      -$5, -7.1428 1M queries*

~ aws_route53_record.linkry["A"]
  -$14 ($15 → $0.50)

    ~ Standard queries (first 1B)
      -$5 ($5 → $0.50), -11.25 1M queries (12.5 → 1.25)*

    - Latency based routing queries (first 1B)
      -$5, -8.3333 1M queries*

    - Geo DNS queries (first 1B)
      -$5, -7.1428 1M queries*

~ aws_route53_record.linkry["AAAA"]
  -$14 ($15 → $0.50)

    ~ Standard queries (first 1B)
      -$5 ($5 → $0.50), -11.25 1M queries (12.5 → 1.25)*

    - Latency based routing queries (first 1B)
      -$5, -8.3333 1M queries*

    - Geo DNS queries (first 1B)
      -$5, -7.1428 1M queries*

Monthly cost change for acm-uiuc/core/terraform/envs/qa (Module path: envs/qa)
Amount:  -$78 ($146 → $68)
Percent: -54%

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

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

214 cloud resources were detected:
∙ 100 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 decreased by $71 ↓
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Changed project                                    ┃ Baseline cost ┃ Usage cost* ┃ Total change ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ acm-uiuc/core/terraform/envs/prod                  ┃           +$0 ┃         +$8 ┃   +$8 (+14%) ┃
┃ acm-uiuc/core/terraform/envs/qa                    ┃           +$0 ┃        -$78 ┃  -$78 (-54%) ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛
This comment will be updated when code changes.

@devksingh4 devksingh4 merged commit 4800fd9 into main Sep 17, 2025
6 of 9 checks passed
@devksingh4 devksingh4 deleted the dsingh14/sig-info branch September 17, 2025 08: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