From 4d8501a663d8e989db8ad76298b946f91c293f85 Mon Sep 17 00:00:00 2001 From: Webster Mudge Date: Thu, 4 Dec 2025 17:22:43 -0500 Subject: [PATCH 1/2] Add Red Hat BYOL Linux platform to pricing map Signed-off-by: Webster Mudge --- modules/hosts/main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/hosts/main.tf b/modules/hosts/main.tf index 09024d6..9f189b3 100644 --- a/modules/hosts/main.tf +++ b/modules/hosts/main.tf @@ -31,6 +31,7 @@ terraform { locals { pricing_os_map = { "Red Hat Enterprise Linux" = "RHEL" + "Red Hat BYOL Linux" = "RHEL", "Ubuntu" = "Linux" "Linux/UNIX" = "Linux" # "Windows" = "Windows" From 80652a1216268e2064f7a675924fa84e3c523c08 Mon Sep 17 00:00:00 2001 From: Webster Mudge Date: Tue, 9 Dec 2025 15:33:56 -0500 Subject: [PATCH 2/2] Update host README with pricing provider details Signed-off-by: Webster Mudge --- modules/hosts/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/hosts/README.md b/modules/hosts/README.md index 2503df2..cd3dfa0 100644 --- a/modules/hosts/README.md +++ b/modules/hosts/README.md @@ -32,6 +32,7 @@ The sample `terraform.tfvars.sample` describes the required inputs for the examp | Name | Version | |------|---------| | [aws](#provider\_aws) | >= 4.60.0 | +| [aws.pricing\_calculator](#provider\_aws.pricing\_calculator) | >= 4.60.0 | ## Modules @@ -45,6 +46,7 @@ No modules. | [aws_instance.pvc_base](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance) | resource | | [aws_volume_attachment.inventory](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/volume_attachment) | resource | | [aws_ami.pvc_base](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source | +| [aws_pricing_product.pvc_base](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/pricing_product) | data source | ## Inputs @@ -68,5 +70,6 @@ No modules. | Name | Description | |------|-------------| | [hosts](#output\_hosts) | Hosts | +| [pricing](#output\_pricing) | The hourly cost and details for each instance of this module. | | [storage\_volumes](#output\_storage\_volumes) | Additional Storage Volumes | \ No newline at end of file