question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Description

CDK Watch is a new feature of the AWS CDK which allows developers to quickly iterate on development stacks. CDK Watch performs quick updates to AWS Lambda function code and ECS images in response to changes in the application code. CDK Watch has an extensible design, which means that it will be possible to support additional AWS resources such as API Gateway models, Step Function workflows, and more.

Roles

Role User
Author(s) @offbyone, @skinny85
API Bar Raiser @eladb
Stakeholders TBD

See RFC Process for details

Workflow

  • Tracking issue created (label: status/proposed)
  • API bar raiser assigned (ping us at #aws-cdk-rfcs if needed)
  • Kick off meeting
  • RFC pull request submitted (label: status/review)
  • Community reach out (via Slack and/or Twitter)
  • API signed-off (label api-approved applied to pull request)
  • Final comments period (label: status/final-comments-period)
  • Approved and merged (label: status/approved)
  • Execution plan submitted (label: status/planning)
  • Plan approved and merged (label: status/implementing)
  • Implementation complete (label: status/done)

Author is responsible to progress the RFC according to this checklist, and apply the relevant labels to this issue so that the RFC table in README gets updated.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:11
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
skinny85commented, Aug 31, 2021

@eladb @skinny85 can the newly released CloudFormation feature to keep failed stack deployments abd retry/update them be useful for this capability in addition to API-based updates? https://aws.amazon.com/blogs/aws/new-for-aws-cloudformation-quickly-retry-stack-operations-from-the-point-of-failure/

Yes. This was already implemented in https://github.com/aws/aws-cdk/pull/16293 as a switch in the cdk CLI, and will be turned on by default for deployments done with the --hotswap option (PR in flight: https://github.com/aws/aws-cdk/pull/15748).

2reactions
kirknesscommented, Feb 18, 2021

In case you are looking for this feature, I’ve created a wee lib to make this possible: https://github.com/teamplanes/cdk-watch

We are using it on a few projects and it has sped up developer workflows/feedback-loops dramatically.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Increasing development speed with CDK Watch - AWS
cdk watch allows you to make more rapid updates to your development stacks by leveraging hotswapping, where possible, to bypass CloudFormation.
Read more >
CDK Watch | AWS CDK Workshop
When the cdk watch command runs, the files that it observes are determined by the "watch" setting in the cdk.json file. It has...
Read more >
A CLI to watch and live-update your CDK Stack's Lambdas
cdk -watch provides real-time logs over web-sockets to make the development feedback-loop faster when debugging your lambdas. This is an additional feature that ......
Read more >
Turbocharge Your CDK Development Workflow with CDK Watch
In this video, learn about CDK Watch - a powerful feature that will help you rapidly iterate during the development process.
Read more >
Accelerating Deployments with AWS CDK Hotswap and Watch
Configure CDK watch to perform automatic deployments triggered by code updates. Intended Audience. Cloud Architects; DevOps Engineers; Software Engineers ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found