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

feat(cli): namespace aws provider #1101

Merged
merged 9 commits into from
Oct 4, 2021
Merged

Conversation

DanielMSchmidt
Copy link
Contributor

@DanielMSchmidt DanielMSchmidt commented Sep 29, 2021

This change splits up the AWS providers into submodules, which we expect to speed up compile time on other languages and help with compilation issues when adding more classes / function exports per file

Closes #572

BREAKING CHANGE: This changes the API surface of big providers and will require manual fixes for the imports e.g. aws.Route53Record becomes aws.Route53.Record

This is an alternative approach to #1083

@DanielMSchmidt DanielMSchmidt force-pushed the submodules-for-aws-provider branch 4 times, most recently from 2e595e3 to 19409ed Compare September 30, 2021 19:34
Copy link
Collaborator

@jsteinich jsteinich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DanielMSchmidt How did you get the list and all of the prefixes? At a glance they look correct, but would take awhile to verify all of them.

We should try to confirm if this fixes the python ide issues.
May also want to check the impact on provider generation time.

@DanielMSchmidt DanielMSchmidt force-pushed the submodules-for-aws-provider branch 3 times, most recently from 7b4bc63 to 4d83850 Compare October 1, 2021 09:07
@DanielMSchmidt
Copy link
Contributor Author

@jsteinich I went through the AWS provider by hand trying to be very diligent

@DanielMSchmidt DanielMSchmidt force-pushed the submodules-for-aws-provider branch 3 times, most recently from be7faac to 283247a Compare October 1, 2021 16:03
@skorfmann
Copy link
Contributor

We should try to confirm if this fixes the python ide issues.
May also want to check the impact on provider generation time.

Yes, good points - we should confirm this 👍

@DanielMSchmidt DanielMSchmidt force-pushed the submodules-for-aws-provider branch 3 times, most recently from 253e918 to cacb08f Compare October 4, 2021 10:54
This change splits up the AWS providers into submodules, which we expect to speed up compile time on other languages and help with compilation issues when adding more classes / function exports per file

Closes #572

BREAKING CHANGE: This changes the API surface of big providers and will require manual fixes for the imports e.g. aws.Route53Record becomes aws.Route53.Record
This allows us to host core logic in one place and consume it both here and in the @cdktf/hcl2cdk package
@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2022

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generate Providers as Submodules
4 participants