{"id":21725408,"url":"https://github.com/jameswoolfenden/terraform-aws-pricing","last_synced_at":"2026-05-19T06:37:42.511Z","repository":{"id":81359225,"uuid":"196811731","full_name":"JamesWoolfenden/terraform-aws-pricing","owner":"JamesWoolfenden","description":"Get prices from AWS api","archived":false,"fork":false,"pushed_at":"2026-05-15T18:09:54.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-15T20:49:22.347Z","etag":null,"topics":["aws","module","pricing","prototype","terraform"],"latest_commit_sha":null,"homepage":"","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/JamesWoolfenden.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-07-14T08:23:46.000Z","updated_at":"2026-05-15T18:09:59.000Z","dependencies_parsed_at":"2023-07-11T10:35:54.767Z","dependency_job_id":null,"html_url":"https://github.com/JamesWoolfenden/terraform-aws-pricing","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/JamesWoolfenden/terraform-aws-pricing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesWoolfenden%2Fterraform-aws-pricing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesWoolfenden%2Fterraform-aws-pricing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesWoolfenden%2Fterraform-aws-pricing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesWoolfenden%2Fterraform-aws-pricing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JamesWoolfenden","download_url":"https://codeload.github.com/JamesWoolfenden/terraform-aws-pricing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesWoolfenden%2Fterraform-aws-pricing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33204731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"online","status_checked_at":"2026-05-19T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","module","pricing","prototype","terraform"],"created_at":"2024-11-26T03:17:31.966Z","updated_at":"2026-05-19T06:37:42.505Z","avatar_url":"https://github.com/JamesWoolfenden.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-pricing\n\n[![Build Status](https://github.com/JamesWoolfenden/terraform-aws-pricing/workflows/Verify/badge.svg?branch=main)](https://github.com/JamesWoolfenden/terraform-aws-pricing)\n[![Latest Release](https://img.shields.io/github/release/JamesWoolfenden/terraform-aws-pricing.svg)](https://github.com/JamesWoolfenden/terraform-aws-pricing/releases/latest)\n[![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/JamesWoolfenden/terraform-aws-pricing.svg?label=latest)](https://github.com/JamesWoolfenden/terraform-aws-pricing/releases/latest)\n![Terraform Version](https://img.shields.io/badge/tf-%3E%3D0.14.0-blue.svg)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n[![checkov](https://img.shields.io/badge/checkov-verified-brightgreen)](https://www.checkov.io/)\n\nPrototype pricing module.\n\n---\n\nIt's 100% Open Source and licensed under the [APACHE2](LICENSE).\n\n## Usage\n\nInclude this repository as a module in your existing Terraform code:\n\n```hcl\nmodule \"pricing\" {\n  source         = \"JamesWoolfenden/pricing/aws\"\n  filters        = var.filters\n  service_code   = var.service_code\n}\n```\n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Requirements\n\nNo requirements.\n\n## Providers\n\n| Name | Version |\n| ---- | ------- |\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | n/a |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n| ---- | ---- |\n| [aws_pricing_product.example](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/pricing_product) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n| ---- | ----------- | ---- | ------- | :------: |\n| \u003ca name=\"input_filters\"\u003e\u003c/a\u003e [filters](#input\\_filters) | Filters for the service\\_code | `list` | \u003cpre\u003e[\u003cbr/\u003e  {\u003cbr/\u003e    \"field\": \"productFamily\",\u003cbr/\u003e    \"value\": \"Storage\"\u003cbr/\u003e  },\u003cbr/\u003e  {\u003cbr/\u003e    \"field\": \"location\",\u003cbr/\u003e    \"value\": \"US East (N. Virginia)\"\u003cbr/\u003e  },\u003cbr/\u003e  {\u003cbr/\u003e    \"field\": \"volumeType\",\u003cbr/\u003e    \"value\": \"Standard\"\u003cbr/\u003e  },\u003cbr/\u003e  {\u003cbr/\u003e    \"field\": \"availability\",\u003cbr/\u003e    \"value\": \"99.99%\"\u003cbr/\u003e  },\u003cbr/\u003e  {\u003cbr/\u003e    \"field\": \"storageClass\",\u003cbr/\u003e    \"value\": \"General Purpose\"\u003cbr/\u003e  }\u003cbr/\u003e]\u003c/pre\u003e | no |\n| \u003ca name=\"input_service_code\"\u003e\u003c/a\u003e [service\\_code](#input\\_service\\_code) | The Product calls to query AmazonS3 | `string` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n| ---- | ----------- |\n| \u003ca name=\"output_price\"\u003e\u003c/a\u003e [price](#output\\_price) | n/a |\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n\n## Prototype work on aws pricing\n\nCan I price up my Terraform as I design it?\n\n```shell\naws pricing describe-services --region us-east-1\n$services=aws pricing describe-services --region us-east-1|convertfrom-json\n\n$services.Services\n$services.Services.AmazonEC2\n($data|where {$_.ServiceCode -eq \"AmazonEc2\"}).AttributeNames\n\naws pricing get-attribute-values --service-code AmazonEC2 --attribute-name location --region us-east-1\n\n($data|where {$_.ServiceCode -eq \"AmazonS3\"}).AttributeNames\n\naws pricing get-attribute-values --service-code AmazonEC2 --attribute-name productFamily --region us-east-1\n```\n\n## Related Projects\n\nCheck out these related projects.\n\n- [terraform-aws-codebuild](https://github.com/jameswoolfenden/terraform-aws-codebuild) - Making a Build pipeline\n\n## Help\n\n**Got a question?**\n\nFile a GitHub [issue](https://github.com/jameswoolfenden/terraform-aws-pricing/issues).\n\n## Contributing\n\n### Bug Reports \u0026 Feature Requests\n\nPlease use the [issue tracker](https://github.com/jameswoolfenden/terraform-aws-pricing/issues) to report any bugs or file feature requests.\n\n## Copyrights\n\nCopyright © 2019-2023 James Woolfenden\n\n## License\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nSee [LICENSE](LICENSE) for full details.\n\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements. See the NOTICE file\ndistributed with this work for additional information\nregarding copyright ownership. The ASF licenses this file\nto you under the Apache License, Version 2.0 (the\n\"License\"); you may not use this file except in compliance\nwith the License. You may obtain a copy of the License at\n\n\u003chttps://www.apache.org/licenses/LICENSE-2.0\u003e\n\nUnless required by applicable law or agreed to in writing,\nsoftware distributed under the License is distributed on an\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, either express or implied. See the License for the\nspecific language governing permissions and limitations\nunder the License.\n\n### Contributors\n\n[![James Woolfenden][jameswoolfenden_avatar]][jameswoolfenden_homepage]\u003cbr/\u003e[James Woolfenden][jameswoolfenden_homepage]\n\n[jameswoolfenden_homepage]: https://github.com/jameswoolfenden\n[jameswoolfenden_avatar]: https://github.com/jameswoolfenden.png?size=150\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameswoolfenden%2Fterraform-aws-pricing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjameswoolfenden%2Fterraform-aws-pricing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameswoolfenden%2Fterraform-aws-pricing/lists"}