Closed brettcurtis closed 3 months ago
The recent updates encompass enhancements in Terraform configurations and pre-commit settings aimed at improving clarity, configurability, and maintainability. Key changes include updates to resource comments, the introduction of local variables, and the implementation of input variables to reduce hardcoding. Additionally, the version increment of the checkov
tool suggests a commitment to keeping security checks up-to-date. Overall, these modifications reflect a thoughtful approach to refining infrastructure management practices.
File(s) | Change Summary |
---|---|
.pre-commit-config.yaml |
Updated checkov version from 3.2.217 to 3.2.219 , likely including bug fixes and improvements. |
main.tf , tests/default.tftest.hcl |
Added comments for clarity on resources, incorporated Checkov skip directives, and standardized mock resource naming with "mock-". |
tests/fixtures/default/locals.tf |
Introduced a locals block defining a labels map for better label management and readability. |
tests/fixtures/default/main.tf |
Replaced hardcoded values with variable references for enable_cloud_cost_management , labels , and project , enhancing configurability. |
tests/fixtures/default/variables.tf |
Added input variables with type definitions for enable_cloud_cost_management , environment , and project , streamlining customization. |
This pull request is aligned with your company's FinOps policies and the Well-Architected Framework.
Changed project | Baseline cost | Usage cost* | Total change | New monthly cost |
tests-fixtures-default | +$0 | +$20 | +$20 (+81%) | $45 |
This comment will be updated when code changes.
Fixes #43
Summary by CodeRabbit