2 Answers
- Newest
- Most votes
- Most comments
0
AWS reached out to me directly and made an update so dashboards once again work in iframes.
0
Usually CloudWatch Dashboards need AWS access (IAM user or role) however as you are embedding this I am assuming these dashboards would have been made publicly shared without AWS access. Check if the settings have been changed. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch-dashboard-sharing.html
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago

No settings were changed and the public url loads if you hit it directly in the browser. There is an IAM role, access is provided via Cognito. You only get the cross-origin error in an iframe. Note the repro is a local html file that to my knowledge should not be impacted by CORS issues like a html file hosted on a domain would.