aws / aws/aws-cdk-cli

(hotswap): support hotswap for glue job code assets

Open
#875 4 comments 2 reactions 0 assignees View on GitHub
effort/medium feature-request p2
Dominant language
TypeScript
Stars
105
Forks
122
Avg merge
1d 17h
Merged PRs (30d)
71

Description

### Describe the feature

Glue [Job](https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk/aws-glue/lib/job.ts) make use of several [Code](https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk/aws-glue/lib/code.ts) assets as can be seen in
- https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk/aws-glue/lib/job.ts#L666
- https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk/aws-glue/lib/job.ts#L705-L724

The feature requested is to allow using `cdk deploy --hotswap ` to bypass doing a full cfn deployment in favour of updating the code assets only.

### Use Case

For personal deployments, Glue jobs - like Lambda functions - most frequent change is changes to the job's code assets.
Like Lambda, the ability to short-circuit a full cfn deployment and to change the code assets only can accelerate personal deployments

### Proposed Solution

_No response_

### Other Information

_No response_

### Acknowledgements

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

2.38.1

### Environment details (OS name and version, etc.)

macOS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.