{"id":18898758,"url":"https://github.com/tedilabs/terraform-aws-cost","last_synced_at":"2025-06-16T10:43:42.381Z","repository":{"id":144273190,"uuid":"617106457","full_name":"tedilabs/terraform-aws-cost","owner":"tedilabs","description":"🌳 A sustainable Terraform Package which creates resources for Cost on AWS","archived":false,"fork":false,"pushed_at":"2024-06-28T05:44:33.000Z","size":51,"stargazers_count":3,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-28T06:46:37.891Z","etag":null,"topics":["aws","aws-billing","aws-budget","aws-cost","aws-cur","devops","hacktoberfest","hcl2","iac","lang-hcl","sre","tedilabs","terraform","terraform-aws","terraform-module","terraform-modules"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/tedilabs/cost/aws","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tedilabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"tedilabs","patreon":"posquit0","ko_fi":"posquit0","custom":"https://www.paypal.me/posquit0"}},"created_at":"2023-03-21T17:59:39.000Z","updated_at":"2024-06-28T05:44:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"69aa28f6-b303-417e-8551-652c742fd2a1","html_url":"https://github.com/tedilabs/terraform-aws-cost","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedilabs%2Fterraform-aws-cost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedilabs%2Fterraform-aws-cost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedilabs%2Fterraform-aws-cost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedilabs%2Fterraform-aws-cost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tedilabs","download_url":"https://codeload.github.com/tedilabs/terraform-aws-cost/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223657404,"owners_count":17181009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-billing","aws-budget","aws-cost","aws-cur","devops","hacktoberfest","hcl2","iac","lang-hcl","sre","tedilabs","terraform","terraform-aws","terraform-module","terraform-modules"],"created_at":"2024-11-08T08:44:04.463Z","updated_at":"2024-11-08T08:44:05.194Z","avatar_url":"https://github.com/tedilabs.png","language":"HCL","funding_links":["https://github.com/sponsors/tedilabs","https://patreon.com/posquit0","https://ko-fi.com/posquit0","https://www.paypal.me/posquit0"],"categories":[],"sub_categories":[],"readme":"# terraform-aws-cost\n\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/tedilabs/terraform-aws-cost?color=blue\u0026sort=semver\u0026style=flat-square)\n![GitHub](https://img.shields.io/github/license/tedilabs/terraform-aws-cost?color=blue\u0026style=flat-square)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white\u0026style=flat-square)](https://github.com/pre-commit/pre-commit)\n\nTerraform module which creates cost related resources on AWS.\n\n- [cur-report](./modules/cur-report)\n- [rds-reserved-instance](./modules/rds-reserved-instance)\n\n\n## Target AWS Services\n\nTerraform Modules from [this package](https://github.com/tedilabs/terraform-aws-cost) were written to manage the following AWS Services with Terraform.\n\n- **AWS CUR (Cost and Usage Report)**\n  - Report\n- **AWS ElastiCache**\n  - Reserved Instance - Comming Soon!\n- **AWS RDS (Relational Database Service)**\n  - Reserved Instance\n- **AWS Savings Plan**\n  - Comming Soon!\n\n\n## Usage\n\n### AWS CUR (Cost and Usage Report)\n\n```tf\nmodule \"cur_report\" {\n  source  = \"tedilabs/cost/aws//modules/cur-report\"\n  version = \"~\u003e 0.1.0\"\n\n  name        = \"example-report\"\n\n\n  ## Delivery Options\n  time_granularity     = \"HOURLY\"\n  versioning_strategy  = \"OVERWRITE_REPORT\"\n  data_refresh_enabled = true\n\n\n  ## Delivery Destination\n  delivery_s3_bucket = {\n    name       = \"hello-my-bucket\"\n    key_prefix = \"test/\"\n    region     = \"us-east-1\"\n  }\n\n\n  ## Content\n  compression_format         = \"GZIP\"\n  additional_schema_elements = [\"RESOURCES\"]\n  additional_artifacts       = [\"REDSHIFT\", \"QUICKSIGHT\"]\n}\n```\n\n\n## Examples\n\n### AWS CUR (Cost and Usage Report)\n\n- [CUR Report](./examples/cur-report)\n\n### AWS RDS (Relational Database Service)\n\n- [RDS Reserved Instance: Aurora MySQL for 1 Year with no upfront](./examples/rds-ri-aurora-mysql-1y-no-upfront)\n- [RDS Reserved Instance: PostgreSQL for 3 Year with all upfront](./examples/rds-ri-postgresql-3y-all-upfront)\n\n\n## Self Promotion\n\nLike this project? Follow the repository on [GitHub](https://github.com/tedilabs/terraform-aws-cost). And if you're feeling especially charitable, follow **[posquit0](https://github.com/posquit0)** on GitHub.\n\n\n## License\n\nProvided under the terms of the [Apache License](LICENSE).\n\nCopyright © 2023, [Byungjin Park](https://www.posquit0.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftedilabs%2Fterraform-aws-cost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftedilabs%2Fterraform-aws-cost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftedilabs%2Fterraform-aws-cost/lists"}