Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Comments in infracost-usage.yml Template for RDS Cluster Read/Write Metrics #2885

Closed
thisjulio opened this issue Feb 16, 2024 · 1 comment · Fixed by #2886
Closed

Comments

@thisjulio
Copy link
Contributor

Hello,

I've encountered an issue with the generated infracost-usage.yml file when executing the command infracost breakdown --path . --sync-usage-file --usage-file infracost-usage.yml. Specifically, the comments for the aws_rds_cluster.postgresql.read_requests_per_sec and aws_rds_cluster.postgresql.write_requests_per_sec parameters appear to be mistakenly swapped. Here is the relevant portion of the generated file:

...
    # write_requests_per_sec: 0 # Total number of reads per second for the cluster.
    # read_requests_per_sec: 0 # Total number of writes per second for the cluster.
...

As you can see, the comment for write_requests_per_sec incorrectly states it's for the "Total number of reads per second" when it should refer to writes, and similarly, the comment for read_requests_per_sec incorrectly states it's for the "Total number of writes per second" when it should refer to reads.

@thisjulio
Copy link
Contributor Author

I'm working on it 🚀🧑‍💻

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 a pull request may close this issue.

1 participant