Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tedilabs/terraform-aws-cost
🌳 A sustainable Terraform Package which creates resources for Cost on AWS
https://github.com/tedilabs/terraform-aws-cost
aws aws-billing aws-budget aws-cost aws-cur devops hacktoberfest hcl2 iac lang-hcl sre tedilabs terraform terraform-aws terraform-module terraform-modules
Last synced: about 1 month ago
JSON representation
🌳 A sustainable Terraform Package which creates resources for Cost on AWS
- Host: GitHub
- URL: https://github.com/tedilabs/terraform-aws-cost
- Owner: tedilabs
- License: apache-2.0
- Created: 2023-03-21T17:59:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-28T05:44:33.000Z (6 months ago)
- Last Synced: 2024-06-28T06:46:37.891Z (6 months ago)
- 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
- Language: HCL
- Homepage: https://registry.terraform.io/modules/tedilabs/cost/aws
- Size: 49.8 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# terraform-aws-cost
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/tedilabs/terraform-aws-cost?color=blue&sort=semver&style=flat-square)
![GitHub](https://img.shields.io/github/license/tedilabs/terraform-aws-cost?color=blue&style=flat-square)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square)](https://github.com/pre-commit/pre-commit)Terraform module which creates cost related resources on AWS.
- [cur-report](./modules/cur-report)
- [rds-reserved-instance](./modules/rds-reserved-instance)## Target AWS Services
Terraform Modules from [this package](https://github.com/tedilabs/terraform-aws-cost) were written to manage the following AWS Services with Terraform.
- **AWS CUR (Cost and Usage Report)**
- Report
- **AWS ElastiCache**
- Reserved Instance - Comming Soon!
- **AWS RDS (Relational Database Service)**
- Reserved Instance
- **AWS Savings Plan**
- Comming Soon!## Usage
### AWS CUR (Cost and Usage Report)
```tf
module "cur_report" {
source = "tedilabs/cost/aws//modules/cur-report"
version = "~> 0.1.0"name = "example-report"
## Delivery Options
time_granularity = "HOURLY"
versioning_strategy = "OVERWRITE_REPORT"
data_refresh_enabled = true## Delivery Destination
delivery_s3_bucket = {
name = "hello-my-bucket"
key_prefix = "test/"
region = "us-east-1"
}## Content
compression_format = "GZIP"
additional_schema_elements = ["RESOURCES"]
additional_artifacts = ["REDSHIFT", "QUICKSIGHT"]
}
```## Examples
### AWS CUR (Cost and Usage Report)
- [CUR Report](./examples/cur-report)
### AWS RDS (Relational Database Service)
- [RDS Reserved Instance: Aurora MySQL for 1 Year with no upfront](./examples/rds-ri-aurora-mysql-1y-no-upfront)
- [RDS Reserved Instance: PostgreSQL for 3 Year with all upfront](./examples/rds-ri-postgresql-3y-all-upfront)## Self Promotion
Like 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.
## License
Provided under the terms of the [Apache License](LICENSE).
Copyright © 2023, [Byungjin Park](https://www.posquit0.com).