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

refactor: move schema reading logic into package #3124

Merged
merged 26 commits into from
Sep 22, 2023

Conversation

DanielMSchmidt
Copy link
Contributor

@DanielMSchmidt DanielMSchmidt commented Sep 7, 2023

The goal of this PR is to

  • Move the schema reading logic into a separate package (in order to)
  • Cache the provider schemas with an experimental environment variable (in order to)
  • Make our tests run more stable and faster since they won't always need download and run terraform providers

In order to bring the last bit of goodness to the PR I decided to split our cache into multiple smaller ones so they are less often invalidated and more focussed on one topic.

@DanielMSchmidt DanielMSchmidt marked this pull request as ready for review September 8, 2023 13:18
@DanielMSchmidt DanielMSchmidt requested a review from a team as a code owner September 8, 2023 13:18
@DanielMSchmidt DanielMSchmidt requested review from ansgarm and Maed223 and removed request for a team September 8, 2023 13:18
Co-authored-by: Ansgar Mertens <ansgar@hashicorp.com>
Co-authored-by: Ansgar Mertens <ansgar@hashicorp.com>
Co-authored-by: Ansgar Mertens <ansgar@hashicorp.com>
Copy link
Member

@ansgarm ansgarm left a comment

Choose a reason for hiding this comment

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

Only one consistency nit left in the readme 😉 But good to go from my point of view!

packages/@cdktf/provider-schema/README.md Outdated Show resolved Hide resolved
Co-authored-by: Ansgar Mertens <ansgar@hashicorp.com>
@github-actions
Copy link
Contributor

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 Oct 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants