(hotswap): Support for skipping resources in hotswap
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- aws, typescript
- 领域
- cli, cloud, infrastructure
调研方向
首先跟踪 hotswap 入口点,以及 cdk diff 和 cdk deploy 如何选择资源。使用 AWS::Lambda::Function 和 Custom::CDKBucketDeployment 作为白名单示例,将所请求的行为与现有的 hotswap 开发流程进行比较。完成标准是 hotswap 能够排除所有其他资源,同时不改变现有的 CloudFormation 部署系统。
由索引模型根据 Issue 内容生成。
描述
Maintainer's note
We are not planning to force this feature into the existing CloudFormation deployment system. However it is a perfectly fine addition to the hotswap development feature.
Treating this as a hotswap feature request.
Describe the feature
I'd like to see a CDK equivalent of this Pulumi feature.
Use Case
When managing both infrastructure and application code within the same stack and deploying through a single pipeline, certain challenges arise. For example, consider a monorepo where the CDK code is stored in a /cdk folder and the application code in a /app folder. If a developer modifies only the /app folder, the pipeline still triggers a cdk diff command. What's needed is a way to exclude all resources except for:
AWS::Lambda::FunctionCustom::CDKBucketDeployment
This would allow developers to make application changes without affecting unrelated parts of the infrastructure. It also relieves them from the responsibility of managing infrastructure code directly. Even if configuration drift occurs in other resources, the deployment would only act on the whitelisted resources and ignore the rest. In a separate pipeline, the platform team could then run a full cdk diff and cdk deploy to reconcile and apply changes across the entire stack.
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.1029.3
Environment details (OS name and version, etc.)
Ubuntu 24.04
- 主要语言
- TypeScript
- 星标
- 110
- 派生
- 138
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 55
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws/aws-cdk-cli 的其他 Issue
-
aws-cdk bug needs-triage
难度 2/5 1-3 小时 新手友好度 76/100
aws/aws-cdk-cli#2179 ·
维护者通常 1 天内回复
-
(cli): deploy waits forever when an AWS API call gets no response, because requestTimeout only logs a warning可能已有人在做 @abhiramshaji-cyber 于 27 天前认领。 未关闭aws-cdk bug p2
难度 2/5 1-3 小时 新手友好度 76/100
aws/aws-cdk-cli#2097 ·
维护者通常 1 天内回复
-
(bootstrap) FilePublishingRoleDefaultPolicy permission incorrect when FileAssetsBucketKmsKeyId is an ARN value可能已有人在做 @lemon0333 于 95 天前认领。 未关闭bug p2
难度 2/5 1-3 小时 新手友好度 74/100
aws/aws-cdk-cli#921 · 1 条评论 ·
维护者通常 1 天内回复
-
(garbage-collection): cdk gc takes hours on a large bootstrap bucket可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 3/5 1-2 天 新手友好度 72/100
aws/aws-cdk-cli#2165 ·
维护者通常 1 天内回复
-
(cli): cdk flags --set always reports no template differences before applying flags可能已有人在做 @go-to-k 于 9 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 35/100
aws/aws-cdk-cli#2153 ·
维护者通常 1 天内回复
相似的 Issue
-
Diagram: Gantt qa-manually-tested Type: Bug / Error
难度 2/5 1-3 小时 新手友好度 65/100
mermaid-js/mermaid-v13#1255 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 1/5 1 小时以内 新手友好度 82/100
BaseAdresseNationale/adresse.data.gouv.fr#2620 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复