From 67bf08e60313859c5d9863708ae2e2438d658d6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rafa=C5=82=20Janicki?=
<7746477+rafaljanicki@users.noreply.github.com>
Date: Mon, 16 Sep 2024 10:03:49 +0200
Subject: [PATCH] Removed cost_optimization_hub_module (#56)
---
README.md | 1 -
main.tf | 2 --
variables.tf | 6 ------
3 files changed, 9 deletions(-)
diff --git a/README.md b/README.md
index 51229a3..ad8d456 100644
--- a/README.md
+++ b/README.md
@@ -129,7 +129,6 @@ The `terraform-docs` utility is used to generate this README. Follow the below s
| [enable\_compute\_optimizer\_module](#input\_enable\_compute\_optimizer\_module) | Indicates if the Compute Optimizer module should be enabled | `bool` | `true` | no |
| [enable\_cost\_anomaly\_module](#input\_enable\_cost\_anomaly\_module) | Indicates if the Cost Anomaly module should be enabled | `bool` | `true` | no |
| [enable\_cost\_intelligence\_dashboard](#input\_enable\_cost\_intelligence\_dashboard) | Indicates if the Cost Intelligence dashboard should be enabled | `bool` | `true` | no |
-| [enable\_cost\_optimization\_hub\_module](#input\_enable\_cost\_optimization\_hub\_module) | Indicates if the Compute Optimization Hub module should be enabled | `bool` | `true` | no |
| [enable\_cudos\_dashboard](#input\_enable\_cudos\_dashboard) | Indicates if the CUDOS dashboard should be enabled | `bool` | `false` | no |
| [enable\_cudos\_v5\_dashboard](#input\_enable\_cudos\_v5\_dashboard) | Indicates if the CUDOS V5 framework should be enabled | `bool` | `true` | no |
| [enable\_ecs\_chargeback\_module](#input\_enable\_ecs\_chargeback\_module) | Indicates if the ECS Chargeback module should be enabled | `bool` | `false` | no |
diff --git a/main.tf b/main.tf
index 9256142..e5ceec1 100644
--- a/main.tf
+++ b/main.tf
@@ -296,7 +296,6 @@ resource "aws_cloudformation_stack" "cudos_read_permissions" {
"IncludeBudgetsModule" = var.enable_budgets_module ? "yes" : "no",
"IncludeComputeOptimizerModule" = var.enable_compute_optimizer_module ? "yes" : "no",
"IncludeCostAnomalyModule" = var.enable_cost_anomaly_module ? "yes" : "no",
- "IncludeCostOptimizationHubModule" = var.enable_cost_optimization_hub_module ? "yes" : "no",
"IncludeECSChargebackModule" = var.enable_ecs_chargeback_module ? "yes" : "no",
"IncludeHealthEventsModule" = var.enable_health_events ? "yes" : "no"
"IncludeInventoryCollectorModule" = var.enable_inventory_module ? "yes" : "no",
@@ -328,7 +327,6 @@ resource "aws_cloudformation_stack" "cudos_data_collection" {
"IncludeBudgetsModule" = var.enable_budgets_module ? "yes" : "no",
"IncludeComputeOptimizerModule" = var.enable_compute_optimizer_module ? "yes" : "no",
"IncludeCostAnomalyModule" = var.enable_cost_anomaly_module ? "yes" : "no",
- "IncludeCostOptimizationHubModule" = var.enable_cost_optimization_hub_module ? "yes" : "no",
"IncludeECSChargebackModule" = var.enable_ecs_chargeback_module ? "yes" : "no",
"IncludeHealthEventsModule" = var.enable_health_events ? "yes" : "no"
"IncludeInventoryCollectorModule" = var.enable_inventory_module ? "yes" : "no",
diff --git a/variables.tf b/variables.tf
index e3d6813..43968a6 100644
--- a/variables.tf
+++ b/variables.tf
@@ -141,12 +141,6 @@ variable "enable_tao_module" {
default = true
}
-variable "enable_cost_optimization_hub_module" {
- description = "Indicates if the Compute Optimization Hub module should be enabled"
- type = bool
- default = true
-}
-
variable "enable_compute_optimizer_module" {
description = "Indicates if the Compute Optimizer module should be enabled"
type = bool