Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade of Dashboards via Terraform #805

Closed
gambol99 opened this issue Apr 27, 2024 · 1 comment
Closed

Upgrade of Dashboards via Terraform #805

gambol99 opened this issue Apr 27, 2024 · 1 comment

Comments

@gambol99
Copy link

No doubt human error, so apologizes in advance; we are using the terraform modules to provision cudos. We recently upgraded from 0.2.46 to 0.3.3, hoping to see the new cudos 5.3 dashboard, but for some reason its still running 5.1.1. There no reasons what what i can see … Is this expected? Is there an additional process to handle the upgrade?

## Cloud Intelligence Dashboards
module "dashboards" {
  source = "github.com/aws-samples/aws-cudos-framework-deployment//terraform-modules/cid-dashboards?ref=0.3.3"

  stack_name      = "CI-Cloud-Intelligence-Dashboards"
  template_bucket = module.dashboard_bucket.s3_bucket_id

  stack_parameters = {
    "DeployCUDOSDashboard"               = var.cudos.enable_cudos_dashboard ? "yes" : "no"
    "DeployCUDOSv5"                      = var.cudos.enable_cudos_v5 ? "yes" : "no"
    "DeployComputeOptimizerDashboard"    = var.cudos.enable_compute_optimizer_dashboard ? "yes" : "no"
    "DeployCostIntelligenceDashboard"    = var.cudos.enable_cost_intelligence_dashboard ? "yes" : "no"
    "DeployKPIDashboard"                 = var.cudos.enable_kpi_dashboard ? "yes" : "no"
    "DeployTAODashboard"                 = var.cudos.enable_tao_dashboard ? "yes" : "no"
    "PrerequisitesQuickSight"            = var.cudos.enable_prerequisites_quicksight ? "yes" : "no"
    "PrerequisitesQuickSightPermissions" = var.cudos.enable_prerequisites_quicksight_permissions ? "yes" : "no"
    "QuickSightUser"                     = var.cudos.quicksights_username
  }
  providers = {
    aws = aws.collector
  }

  depends_on = [
    module.collector,
    module.source,
  ]
}
@gambol99 gambol99 changed the title Upgrade of Dashboard via Terraform Upgrade of Dashboards via Terraform Apr 27, 2024
@iakov-aws
Copy link
Collaborator

Hello

please use cid-tool to update the dashboards. today we do not support updates via CFN or TF. Need a python cli tool to update these dashboard and preserve customizartions that customers might have

https://catalog.workshops.aws/awscid/en-US/dashboards/update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants