Unable to update dashboards with cid-cmd

0

Just upgraded to cid-cmd 0.2.12 Beta and when trying to run cid-cmd update it always says "No updates available or dashboard(s) is/are broken, use --force to allow selection"

With "cid-cmd status" it always shows that my dashboards are up to date which is not the case:

? [dashboard-id] Please select installation(s) from the list: (Use arrow keys) » Trends Dashboard (arn:aws:quicksight:eu-west-1:xxxxxxxxxxxxxx:dashboard/trends-dashboard, healthy, up to date) KPI Dashboard (arn:aws:quicksight:eu-west-1:xxxxxxxxxxxxxx:dashboard/kpi_dashboard, healthy, up to date) Cost Intelligence Dashboard (arn:aws:quicksight:eu-west-1:xxxxxxxxxxxxxx:dashboard/cost_intelligence_dashboard, healthy, up to date) Trusted Advisor Organizational View (arn:aws:quicksight:eu-west-1:xxxxxxxxxxxxxx:dashboard/ta-organizational-view, healthy, up to date) CUDOS Dashboard (arn:aws:quicksight:eu-west-1:xxxxxxxxxxxxxx:dashboard/cudos, healthy, up to date) Compute Optimizer Dashboard (arn:aws:quicksight:eu-west-1:xxxxxxxxxxxxxx:dashboard/compute-optimizer-dashboard, healthy, up to date)

If I hit ENTER on one of them a Python exception is thrown:

Dashboard status: Name (id): Trends Dashboard (trends-dashboard) Status: up to date Health: healthy Traceback (most recent call last): File "/home/luis/.virtualenvs/aws-cid-cmd/bin/cid-cmd", line 8, in <module> sys.exit(main()) File "/home/luis/.virtualenvs/aws-cid-cmd/lib/python3.10/site-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) File "/home/luis/.virtualenvs/aws-cid-cmd/lib/python3.10/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/home/luis/.virtualenvs/aws-cid-cmd/lib/python3.10/site-packages/click/core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/luis/.virtualenvs/aws-cid-cmd/lib/python3.10/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/luis/.virtualenvs/aws-cid-cmd/lib/python3.10/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) File "/home/luis/.virtualenvs/aws-cid-cmd/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func return f(get_current_context(), *args, **kwargs) File "/home/luis/.virtualenvs/aws-cid-cmd/lib/python3.10/site-packages/cid/cli.py", line 28, in wrapper res = func(ctx, **kwargs) File "/home/luis/.virtualenvs/aws-cid-cmd/lib/python3.10/site-packages/cid/cli.py", line 135, in status ctx.obj.status(dashboard_id, **kwargs) File "/home/luis/.virtualenvs/aws-cid-cmd/lib/python3.10/site-packages/cid/common.py", line 164, in wrap return func(self, *args, **kwargs) File "/home/luis/.virtualenvs/aws-cid-cmd/lib/python3.10/site-packages/cid/common.py", line 451, in status dashboard.display_status() File "/home/luis/.virtualenvs/aws-cid-cmd/lib/python3.10/site-packages/cid/helpers/quicksight/dashboard.py", line 116, in display_status cid_version = self.deployedTemplate.cid_version AttributeError: 'NoneType' object has no attribute 'cid_version'

Finally, when I try to force the update with cid-cmd update --force --recursive I get an error when trying to download a quicksight template from an external AWS account:

? [dashboard-id] Please select installation(s) from the list: CUDOS Dashboard (arn:aws:quicksight:eu-west-1:xxxxxxxxxxxxxx:dashboard/cudos, healthy, up to date) CRITICAL - Error: An error occurred (AccessDeniedException) when calling the DescribeTemplate operation: User: arn:aws:sts::xxxxxxxxxxxxxx:assumed-role/AWSReservedSSO_YYYYYYYYYYYY_ae9320745c28c490/user is not authorized to perform: quicksight:DescribeTemplate on resource: arn:aws:quicksight:us-east-1:223485597511:template/cudos_dashboard_v3 with an explicit deny in a service control policy - Cannot find cudos_dashboard_v3 in account 223485597511.

The assumed role has permissions for quicksight:* and no SCP are denying access to that service on my OU or account.

asked a year ago457 views
1 Answer
0

Hi there,

Thank you for posting the question and the detailed explanation. To answer your question, a screen-share session would be needed and will require details that are non-public information. Can you please open a support case with AWS using the following link and we will be happy to help you.

Thank you!

AWS
SUPPORT ENGINEER
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions