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

QuickSight: Proper Analysis or Template CDK Construct #19212

Open
2 tasks
gunarkroeger opened this issue Mar 2, 2022 · 9 comments
Open
2 tasks

QuickSight: Proper Analysis or Template CDK Construct #19212

gunarkroeger opened this issue Mar 2, 2022 · 9 comments
Labels
@aws-cdk/aws-quicksight Related to the @aws-cdk/aws-quicksight package blocked Work is blocked on this issue for this codebase. Other labels or comments may indicate why. effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. needs-cfn This issue is waiting on changes to CloudFormation before it can be addressed. p2

Comments

@gunarkroeger
Copy link

Description

Currently, the only way to create a QuickSight::Analysis is by giving it a QuickSight::Template as sourceEntity.
And the only way to create a QuickSight::Template is by giving it either a QuickSight::Template or a QuickSight::Analysis as source Entity.
So it is impossible to automate the creation of the Analysis completely.

Use Case

We want to reduce manual steps when deploying our pipeline as much as possible. We also want to version control the visuals in our analysis.

Proposed Solution

To properly automate QuickSight with CDK we need a way to define the Template with CDK, by perhaps passing it a json with the definition of all visuals in the analysis. This way we can source control the Analysis design and eliminate the manual steps for creating the analysis in the console.

Ideally there would be a way to call aws-describe-template to see the json of an analysis created with the console manually, that can then be included in the CDK src.

Other information

No response

Acknowledge

  • I may be able to implement this feature request
  • This feature might incur a breaking change
@gunarkroeger gunarkroeger added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Mar 2, 2022
@github-actions github-actions bot added the @aws-cdk/aws-quicksight Related to the @aws-cdk/aws-quicksight package label Mar 2, 2022
@gunarkroeger gunarkroeger changed the title (QuickSight): Proper Analysis or Template CDK Construct QuickSight: Proper Analysis or Template CDK Construct Mar 2, 2022
@comcalvi comcalvi added the effort/medium Medium work item – several days of effort label Mar 11, 2022
@comcalvi
Copy link
Contributor

comcalvi commented Apr 6, 2022

This needs CloudFormation to allow the creation of Template from JSON. You should be able to make any service calls from the AWS CLI already.

@comcalvi comcalvi added needs-cfn This issue is waiting on changes to CloudFormation before it can be addressed. and removed needs-triage This issue or PR still needs to be triaged. labels Apr 6, 2022
@comcalvi comcalvi removed their assignment Apr 6, 2022
@michuer
Copy link

michuer commented Apr 19, 2022

This needs CloudFormation to allow the creation of Template from JSON. You should be able to make any service calls from the AWS CLI already.

Or to allow the creation of Analysis without Template. I don't see any details in AWS Console about Template when creating manually Analysis, same with details when calling the CLI aws quicksight describe-analysis. I can see DataSetArns but nothing about template which is required in CfnAnalysis. Looks like a bug IMHO

@peterwoodworth
Copy link
Contributor

Please raise any concerns about this to the thread in the coverage roadmap

@jaykumarhpatel
Copy link

Still today not able to create QuickSight Analysis and Template using CDK. Any update on this Issue?

@peterwoodworth peterwoodworth added the blocked Work is blocked on this issue for this codebase. Other labels or comments may indicate why. label Apr 20, 2023
@gunarkroeger
Copy link
Author

Hi @comcalvi, quicksight now allows creating a template from JSON. Could you reevaluate implementing this feature?

@peterwoodworth
Copy link
Contributor

@gunarkroeger unless there's a way to do this with CloudFormation resources (that doesn't appear to be the case) then we are blocked

@gunarkroeger
Copy link
Author

@peterwoodworth actually I see that there is now a TemplateVersionDefinitionProperty and a AnalysisDefinitionProperty that look like they would solve the issue. Haven't tested it yet

@peterwoodworth
Copy link
Contributor

Great, I'm not really that familiar with quicksight. let me know! It looks to me like all the cloudformation properties are available in CDK already on a quick glance, let me know if that's incorrect too.

@gmournos
Copy link

This might help :)

https://medium.com/@gmournos/aws-quicksight-as-code-a-unified-approach-for-quicksight-development-and-deployment-using-aws-30bbb6bd253a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-quicksight Related to the @aws-cdk/aws-quicksight package blocked Work is blocked on this issue for this codebase. Other labels or comments may indicate why. effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. needs-cfn This issue is waiting on changes to CloudFormation before it can be addressed. p2
Projects
None yet
Development

No branches or pull requests

7 participants