devopsotrator / aws-cdk-rfcs

RFCs for the AWS CDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS CDK RFCs

This repo is a place to propose and track major upcoming changes to AWS CDK, jsii, and other related projects. It also is a great place to learn about the current and future state of the libraries and to discover projects for contribution.

Jump to: What is an RFC? | When to submit? | RFC Process | RFC Life Cycle

# Title Owner Status
6 Monolithic Packaging @RomainMuller πŸ‘· implementing
49 CI/CD for CDK apps @rix0rrr πŸ‘· implementing
95 Cognito Construct Library @nija-at πŸ‘· implementing
171 CloudFront Module Redesign @njlynch πŸ‘· implementing
18 Open context provider framework @ddneilson ✍️ review
25 Defaults & configuration policy @njlynch ✍️ review
79 CDK v2.0 @RomainMuller ✍️ review
175 AppSync Mapping Template Object Model @MrArnoldPalmer ✍️ review
192 Removal of the "constructs" compatibility layer (v2.0) @eladb ✍️ review
193 Fixing of type unions @RomainMuller ✍️ review
1 CDK Watch πŸ’‘ proposed
2 Migration Paths πŸ’‘ proposed
3 Integrate CLI into Native Modules πŸ’‘ proposed
4 CDK Testing Toolkit @nija-at πŸ’‘ proposed
5 Security-restricted environments πŸ’‘ proposed
7 Lambda Bundles πŸ’‘ proposed
8 Project structure guidelines πŸ’‘ proposed
9 Master developer guide sources in main repo πŸ’‘ proposed
10 New workshop modules πŸ’‘ proposed
13 Improvements to Reference docs πŸ’‘ proposed
14 Toolchain 2.0 @shivlaks πŸ’‘ proposed
15 Scaffolding πŸ’‘ proposed
17 CLI support for multiple-environments πŸ’‘ proposed
19 Introspection API πŸ’‘ proposed
20 Security posture summary πŸ’‘ proposed
21 CDK Explorer Roadmap πŸ’‘ proposed
22 Cost calculator πŸ’‘ proposed
23 Stateful resource support πŸ’‘ proposed
24 Resource imports πŸ’‘ proposed
26 Monitoring packs πŸ’‘ proposed
27 200 resource limit tools & guidance πŸ’‘ proposed
28 Construct library graduation process πŸ’‘ proposed
30 Improve synthesized template output πŸ’‘ proposed
31 Integration tests πŸ’‘ proposed
32 App-centric operational experience πŸ’‘ proposed
34 Third-party construct ecosystem πŸ’‘ proposed
35 Publish construct library guidelines πŸ’‘ proposed
39 Release public artifacts (lambda layers for custom resources, docker images) πŸ’‘ proposed
40 Stack traces across language boundaries πŸ’‘ proposed
48 Faster builds @rix0rrr πŸ’‘ proposed
51 Standardize security groups πŸ’‘ proposed
52 Support resource import πŸ’‘ proposed
58 Improved ergonomics for stack default environment πŸ’‘ proposed
63 CDK in Secure Environments πŸ’‘ proposed
64 Garbage Collection for Assets πŸ’‘ proposed
65 CDK Code Generation from AWS Console πŸ’‘ proposed
66 StackSets Support πŸ’‘ proposed
67 Monitoring Packs πŸ’‘ proposed
69 One-off "job" Stacks ("auto destruct") πŸ’‘ proposed
70 Cost Estimation Tools πŸ’‘ proposed
71 Triggers πŸ’‘ proposed
72 Stack Policy πŸ’‘ proposed
73 AWS Resource Model πŸ’‘ proposed
74 Common API for Resources with Web Addresses πŸ’‘ proposed
77 On-demand import of CloudFormation Resources from Registry πŸ’‘ proposed
78 Feature proposal: Workspaces πŸ’‘ proposed
82 Loosely Coupled Stacks through SSM Parameters πŸ’‘ proposed
83 Global Name Prefix πŸ’‘ proposed
86 AWS Account Alias Resource πŸ’‘ proposed
116 Easier identification of experimental modules @rix0rrr πŸ’‘ proposed
118 New CDK Major Version πŸ’‘ proposed
127 CDK to directly reference/import/update an existing stack πŸ’‘ proposed
139 "fromLookup" for additional resources πŸ’‘ proposed
159 Cross-App Resource Sharing πŸ’‘ proposed
161 Cross-Region/Account References πŸ’‘ proposed
180 CustomResources: Allow usage across accounts πŸ’‘ proposed
197 Generating CloudFormation resources from CloudFormation Registry schemas @RomainMuller πŸ’‘ proposed
201 Construct scope relocation πŸ’‘ proposed
16 RFC Process @MrArnoldPalmer βœ… done
36 Constructs Programming Model @eladb βœ… done
37 Release from a "release" branch @MrArnoldPalmer βœ… done
55 Feature Flags @eladb βœ… done
92 CI/CD Asset Publishing @rix0rrr βœ… done
107 Publish a Construct Library Module Lifecycle document @ccfife βœ… done
110 CLI Compatibility Strategy @iliapolo βœ… done
60 Bazel Build System πŸ‘Ž rejected
164 Construct Library Segments @nija-at πŸ‘Ž rejected
81 AWS Landing Zone CDK pattern request ❓unknown
85 Cross Account resource import and source account tracking @skinny85 ❓unknown
158 Experiment with Resource Provider in TypeScript ❓unknown
162 Simplify working with logical IDs when refactoring CDK code ❓unknown

What is an RFC?

An RFC is a document that proposes and details a change or addition to the CDK, jsii, and other related tooling. It also is a process for reviewing and discussing the proposal and tracking its implementation. "Request for Comments" means a request for discussion and oversight about the future of the CDK and jsii from contributors and users. It is an open forum for suggestions, questions, and feedback.

The process is intended to be as lightweight and reasonable as possible for the present circumstances. As usual, we are trying to let the process be driven by consensus and community norms, not impose more structure than necessary.

The RFC process itself is subject to changes as dictated by the core team and the community. Proposals can include proposed changes to the RFC process itself to better serve contributors.

When to submit an RFC?

You should consider using this process if you intend to make "substantial" changes to AWS CDK, jsii, or related tools. Some examples that would benefit from an RFC are:

  • Any change to existing APIs that could break existing code.
  • The removal of existing features or public APIs.
  • The introduction of new idiomatic usage or conventions, even if they do not include code changes to CDK or jsii themselves.
  • Changes to the documented contribution workflow.
  • Features that cross multiple construct libraries.
  • Additions or changes to framework capabilities.
  • Additions or changes to formal specifications like cloud assembly, tree.json, jsii, etc.

The RFC process is a great opportunity to get more eyeballs on your proposal before it becomes a part of a released version of CDK/jsii. Quite often, even proposals that seem "obvious" can be significantly improved once a wider group of interested people have a chance to weigh in.

The RFC process can also be helpful to encourage discussions about a proposed feature as it is being designed, and incorporate important constraints into the design while it's easier to change, before the design has been fully implemented.

If you submit a pull request to implement a new major feature without going through the RFC process, it may be closed with a polite request to submit an RFC first.

Some changes do not require an RFC:

  • Bugfixes for known issues.
  • Additions only likely to be noticed by other developers of CDK/jsii, invisible to users of CDK/jsii.
  • Additions of missing L1 or L2 constructs. Unless the service and/or constructs are especially complex or intentionally diverge from existing api design best practices.

If you're not sure whether your change requires an RFC, feel free to create an issue and ask.

RFC Process

In short, to get a major feature added to CDK/jsii, one usually writes an RFC as a markdown file and gets it approved and merged into the RFC repo. At that point the RFC is 'approved' and may be implemented into CDK/jsii.

  1. Create a tracking issue for the proposed feature if one doesn't already exist. Use the tracking issue template as a guide. If a tracking issue already exists, make sure to update it and assign it to let others know you're working on a proposal.
  2. Fork the RFC repo.
  3. Copy 0000-template.md to text/<rfc#>-<my-feature>.md where <rfc#> is the tracking issue number and <my-feature> is the rfc title.
  4. Fill in the RFC. Put care into the details: We welcome all honest efforts to contribute..
  5. Submit a pull request with the title RFC: ### <title> where ### is the tracking issue number and title is the name of the proposal. As a pull request the RFC will receive design feedback from the core team and the larger community, and the author should be prepared to make revisions in response.
  6. Update the tracking issue with a link to the RFC PR.
  7. Advertise your RFC amongst stakeholders via social channels (e.g. twitter) and your team. Build consensus and integrate feedback. RFCs that have broad support are much more likely to make progress than those that don't receive any comments.
  8. Eventually, the team will decide whether the RFC is a candidate for inclusion in CDK/jsii.
  9. RFCs that are candidates for inclusion in CDK/jsii will enter a "final comment period" lasting 3 calendar days. The beginning of this period will be signaled by a team member adding a comment and label on the RFCs pull request.
  10. An RFC can be modified based upon feedback from the team and community. Significant modifications may trigger a new final comment period. An RFC can also be modified after it has been merged and approved, in which case a new PR will be submitted with the modification, like any other code.
  11. An RFC may be rejected by the team after public discussion has settled and comments have been made summarizing the rationale for rejection. A member of the team will then close the PR and issue.
  12. An RFC may be accepted at the close of its final comment period. A team member will merge the RFCs associated pull request, at which point the RFC will become 'approved'.
  13. At some point, someone will pick up the RFC for implementation. For major features this usually requires devising a detailed implementation plan. To that end, submit an additional PR on the RFC doc that either fills in the "Implementation Plan" section or references a separate document or GitHub Project Board which includes the plan.
  14. Once this PR is approved, the RFC will move to the 'implementing' state. Usually we track implementation using GitHub projects.
  15. Once implementation is complete, the RFC moves to 'done', and it's issue is closed.

If the submitter is someone from our CDK community (i.e., not core team member), a core team member will be assigned to 'shepherd' each proposal. They will generally be the ones updating the RFCs state in the tracking issue as it moves through the process. They can decide when a final comment period is triggered.

On the other hand, if the submitter is a core team member, they will identify another core team member, with consent, as their 'shepherd'. The shepherd would be the first contact for brainstorming, process and reviews. The core team would defer to the shepherd to do the first few rounds of reviews, after which the rest of the team should be engaged.

RFC Life Cycle

rfc-states

  1. Proposed - A tracking issue has been created with a basic outline of the proposal.
  2. Review - An RFC document has been written with a detailed design and a PR is under review. At this point the PR will be assigned a shepherd from the core team.
  3. Final Comment Period - The shepherd has approved the RFC PR, and announces that the RFC enters a period for final comments before it will be approved (~1wk). At this stage, if major issues are raised, the RFC may return to Review.
  4. Approved - The RFC PR is approved and merged to master, and the RFC is nonw ready to be implemented.
  5. Planning - A PR is created with the Implementation Plan section of the RFC.
  6. Implementing - Implemetation plan is approved and merged and the RFC is actively being implemented.
  7. Done - Implementation is complete and merged across appropriate repositories.
  8. Rejected - During the review period, the RFC may be rejected and then it will be marked as such.

AWS CDK's RFC process owes its inspiration to the Yarn RFC process, Rust RFC process, React RFC process, and Ember RFC process

About

RFCs for the AWS CDK

License:Apache License 2.0


Languages

Language:JavaScript 100.0%