Open echeung-amzn opened 2 years ago
Some thoughts on this:
For starters we could just run the cdk deploy command on every PR that deploys a stack and prints the output. We can look into how to publish the dashboards publicly laters. Need to first close on what the stack strategy could be used though (single/multiple).
The dashboard created via this CFN stack can be made public as described here. Need to figure out how to enable public sharing via CFN which doesn't seem to be possible.
I think this could be made into an L3 construct in the CloudWatch CDK. Looking into the requests CW makes when setting this value in the AWS Console, it's creating a Cognito Identity pool with public access then configuring the Dashboard to use that. Need to dive deeper on how the dashboard is updated, or if it's just an account wide setting.
Possibly also add integ-runner
integration if and when it gets open sourced:
https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/integ-runner/README.md
It'd be nice to automatically deploy to an AWS account to ensure things are working as intended.