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

Cloud Development Kit (CDK) Support #751

Open
sjschmidt44 opened this issue Sep 4, 2019 · 5 comments
Open

Cloud Development Kit (CDK) Support #751

sjschmidt44 opened this issue Sep 4, 2019 · 5 comments
Labels
cdk feature-request New feature or enhancement. May require GitHub community feedback.

Comments

@sjschmidt44
Copy link

Describe the solution you'd like

Since this package is already tied into credentialed access to AWS and has some CFN support, it would be a nice fit for this tool to provide support for CDK; starting a new project, synthesizing, deployment, et. al.

Describe alternatives you've considered

CDK is still relatively new to the community, so there are no alternatives other than running CDK commands in the CLI.

@kiiadi kiiadi added the feature-request New feature or enhancement. May require GitHub community feedback. label Oct 15, 2019
This was referenced Nov 13, 2019
@kastork
Copy link

kastork commented Mar 13, 2020

Over in the jetbrains plugin repo, there was a pointer to this issue as a central place for voicing ideas for both VS Code and Jetbrains, so here goes.

In the preview version of AWS CDK EXPLORER (VSCode) gives a nice tree view of all the stacks that are currently deployed from the cdk -- this is great. I'd love to see this functionality in the Jetbrains plugin as well.

Things I'd find helpful in this tree view would be a contextual menu for any given node on the tree that let you drill down in various ways.

On Stack nodes, for example:

  • Go to definition in source code.
  • Open generated template
  • Diff
  • Show Cloud Formation events, the way the jetbrains plugin does with "View Stack Status" (Perhaps instead, this feature should just be an addition to the existing AWS:Explorer, which currently only offers to delete the stack)
  • Display parameter values or context values that were used when deploying

On resource nodes:

  • Go to definition in source code.
  • Go to definition in generated template
  • If the resource is used in exports, show the exports in some way (navigate to??)

On Output nodes: Show the name, export name and value

On SSMParmeterStore nodes:

  • Retrieve and show the value (as opposed to, or in addition to, the token)
  • Provide an edit operation to allow setting the value in SSM

When a Ref appears under a resource node, it currently displays the generated identifier of the thing being referred to. This is useful if you, e.g., use the web console to look at cloud formation to find things out about the thing being referred to. In this tree view, it might be useful to also to display the logical id. For example, I define a VPC:

Vpc.Builder.create(this, "my-vpc"):

The generated template will then have some subnets in it, and the tree will have Subnet nodes that have a vpcid property with Ref:myvpcXXXXXX, the generated ID. I think I'd either like to be able to navigate to the Ref node with context menu, or else see the given name of the VPC (in this case my-vpc) in addition to the generated id.

Finally, in some cases the current tooltip is nothing more than a repeat of what you're mousing over. I'd suggest if there's nothing useful to put in a tool tip, then just don't show one.

Pie in the sky idea for stack node context menu - Get Diagram; to pull down a Cloud Formation Designer illustration.

@justinmk3 justinmk3 reopened this Mar 23, 2020
@justinmk3 justinmk3 added the cdk label Jul 30, 2020
@ajohn-wick
Copy link

Hello and I hope you are doing well!

Any update on such feature-request? Thank you very much for your feedback!

@sholtomaud

This comment was marked as resolved.

@justinmk3
Copy link
Contributor

@sholtomaud I've created a separate issue to track your idea, please comment there if I misunderstood: #2673

@justinmk3
Copy link
Contributor

There is also https://github.com/aws-samples/aws-cdk-in-electron , perhaps we could use that as a starting point for implementing a CDK UI in AWS Toolkit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cdk feature-request New feature or enhancement. May require GitHub community feedback.
Projects
None yet
Development

No branches or pull requests

6 participants