Skip to content

Add more resources + CFN#166

Closed
msidwell wants to merge 2 commits intomasterfrom
add_more_resources
Closed

Add more resources + CFN#166
msidwell wants to merge 2 commits intomasterfrom
add_more_resources

Conversation

@msidwell
Copy link
Copy Markdown

No description provided.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ alikhajeh1
❌ Matt Sidwell


Matt Sidwell seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions github-actions Bot closed this Feb 24, 2026
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of raising a PR against this repository, please fork the repo and raise a PR against your fork. Thank you.

@infracost
Copy link
Copy Markdown

infracost Bot commented Feb 24, 2026

💰 Infracost report

Consider fixing these issues, they don't align with your company's FinOps policies & the Well-Architected Framework. Add a PR comment with @infracost help to see how you can dismiss or snooze issues and unblock your PR.

FinOps policies
🔴 RDS - consider upgrading version to avoid extended support costs

Consider upgrading your RDS database engine version to avoid extended support costs. Extended support costs can add a significant additional cost to your database. For example, a Single A-Z RDS database using MySQL 5.7 and an instance class db.t3.large has a monthly cost of ~$101 (considering a 20GB SSD). Extended support for MySQL 5.7, which started in March 2024, adds an additional $146 of operating costs – a 140% increase that could be saved by upgrading the engine version. See AWS docs for supported versions.

resource aws_db_instance.mydb

  • Upgrade engine_version from 11.13 to a minimum supported postgres version to remove extended support costs.
    • 💰 save $1,577/year

in project aws-terraform

resource AWS::RDS::DBInstance.MyDB2

  • Upgrade EngineVersion from 11.14 to a minimum supported postgres version to remove extended support costs.
    • 💰 save $1,577/year

in project aws-cloudformation-template

🔴 EC2 - consider using latest generation instances for m family instances

Upgrade to the latest generation of Amazon EC2 instances in the M family for enhanced CPU performance, increased memory capacity, and improved networking bandwidth, all at a more cost-effective price compared to previous generations.

resource AWS::EC2::Instance.MyWebApp2

  • Switch InstanceType from m3.2xlarge to m6i.2xlarge
    • 💰 save $1,167/year
    • 🌱 avoid 128.3 kg CO₂e - that's like driving a car 511.2 km

in project aws-cloudformation-template

resource aws_instance.new_web_app

  • Switch instance_type from m3.2xlarge to m6i.2xlarge
    • 💰 save $1,167/year
    • 🌱 avoid 128.3 kg CO₂e - that's like driving a car 511.2 km

in project aws-terraform

🔴 Virtual Machines - consider using the latest generation of Da series instances

Upgrade to the latest generation of VM instances in the Da series to achieve higher performance and cost savings compared to previous generations.

resource azurerm_linux_virtual_machine.new_app_vm

  • Switch size from Standard_D8as_v4 to Standard_D8as_v5
    • 💰 save $350/year
    • 🌱 emit 1.7 kg CO₂e - that's like driving a car 6.6 km

in project azure

🔴 Lambda - consider using Graviton

Graviton lambda functions are 20% cheaper than x86 equivalents with up to 19% improved performance. If you do not use x86 binary dependencies, setting lambda functions to use ARM64 can result in significant savings and improved performance. See AWS docs for details.

resource aws_lambda_function.my_hello_world

  • Set architectures to include arm64
    • 🌱 avoid 0.45 kg CO₂e - that's like driving a car 1.8 km

in project aws-terraform

Tagging policies
❌ FinOps tags

FinOps tags are critical in enabling us to create showback reports, track budgets and optimize our costs. Please see tagging convention doc or email finops@acme.org if you need assistance.

resource AWS::EC2::Instance.MyWebApp2

  • Environment has invalid value Production. Must be one of the 3 allowed values - did you mean production?

in project aws-cloudformation-template

resource aws_db_instance.mydb

  • Environment has invalid value prod. Must be one of the 3 allowed values - did you mean production?

in project aws-terraform

... and 6 more.
... view all issues in Infracost Cloud
Guardrails
🔴 Costs increase by more than $6K/yr - warning only

At least one project exceeded per-project threshold. Cost increased by $904, threshold was $200.

Monthly estimate increased by $1,900 📈 (🌱 emits 59.9 kg CO₂e - that's like driving a car 238.5 km)
Changed project Baseline cost Usage cost* Total change New monthly cost
aws-cloudformation-template +$714 +$0 +$714 $714
aws-terraform +$875 +$30 +$904 $904
azure +$282 +$0 +$282 (+35%) $1,088

*Usage costs were estimated using Infracost Cloud settings, see docs for other options.

**The methodology for calculating the CO₂e impact of your changes is explained in our docs.

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

──────────────────────────────────
Project: aws-cloudformation-template

+ AWS::EC2::Instance.MyWebApp2
  +$440

    + Instance usage (Linux/UNIX, on-demand, m3.2xlarge)
      +$350

    + root_block_device

        + Storage (general purpose SSD, gp2)
          +$90

+ AWS::RDS::DBInstance.MyDB2
  +$176

    + Database instance (on-demand, Single-AZ, db.t4g.medium)
      +$43

    + Storage (general purpose SSD, gp3)
      +$2

    + Extended support (year 1)
      +$131

+ AWS::EC2::Instance.NewWebApp2
  +$91

    + Instance usage (Linux/UNIX, on-demand, m3.4xlarge)
      +$0

    + root_block_device

        + Storage (general purpose SSD, gp3)
          +$7

    + BlockDeviceMappings[1].Ebs

        + Storage (general purpose SSD, gp3)
          +$7

        + Provisioned IOPS
          +$77

+ AWS::EC2::Volume.NewWebAppRootVolume2
  +$7

    + Storage (general purpose SSD, gp3)
      +$7

+ AWS::EC2::VolumeAttachment.NewWebAppVolumeAttachment2
  +$0

Monthly cost change for aws-cloudformation-template
Amount:  +$714 ($0 → $714)

──────────────────────────────────
Project: aws-terraform
Module path: aws/terraform

+ aws_instance.new_web_app
  +$434

    + Instance usage (Linux/UNIX, on-demand, m3.2xlarge)
      +$350

    + root_block_device

        + Storage (general purpose SSD, gp3)
          +$7

    + ebs_block_device[0]

        + Storage (general purpose SSD, gp3)
          +$0.58

        + Provisioned IOPS
          +$77

+ aws_instance.my_web_app
  +$265

    + Instance usage (Linux/UNIX, on-demand, m3.xlarge)
      +$175

    + root_block_device

        + Storage (general purpose SSD, gp2)
          +$90

+ aws_db_instance.mydb
  +$197

    + Database instance (on-demand, Single-AZ, db.t4g.medium)
      +$43

    + Storage (general purpose SSD, gp3)
      +$2

    + Additional backup storage
      +$20, +238 GB*

    + Extended support (year 1)
      +$131

+ aws_lambda_function.my_hello_world
  +$9

    + Requests
      +$5, +25 1M requests*

    + Duration (first 6B)
      +$5, +312,500 GB-seconds*

Monthly cost change for aws-terraform (Module path: aws/terraform)
Amount:  +$904 ($0 → $904)

──────────────────────────────────
Project: azure
Module path: azure

+ azurerm_linux_virtual_machine.new_app_vm
  +$282

    + Instance usage (Linux, pay as you go, Standard_D8as_v4)
      +$280

    + os_disk

        + Storage (S4, LRS)
          +$2

Monthly cost change for azure (Module path: azure)
Amount:  +$282 ($806 → $1,088)
Percent: +35%

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

*Usage costs were estimated using Infracost Cloud settings, see docs for other options.

47 cloud resources were detected:
∙ 25 were estimated
∙ 22 were free

This comment will be updated when code changes.

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.

3 participants