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

Terraform why this way #25746

Merged
merged 3 commits into from
Jan 27, 2025
Merged

Terraform why this way #25746

merged 3 commits into from
Jan 27, 2025

Conversation

rfairburn
Copy link
Contributor

@rfairburn rfairburn commented Jan 24, 2025

For #18191

Why add another repo?

Terraform clones the entire repo for every submodule used when running terraform init. For our monorepo, that is 11GB, which significantly slows down deployment speed using Terraform. By moving our Terraform modules to a dedicated repo, we reduce this to <1MB, which will shave minutes off of terraform init for anyone who uses it. Because our CI deployment runs terraform init on every environment, this will result in savings of several hours of CI runners per month.

@lukeheath
Copy link
Member

@rfairburn This looks good to me with the suggested edit. I'm tagging @noahtalerman for visibility.

Ultimately this will need @mikermcneil's approval, which may take a few days. I'll bring to e-group on Wednesday if it isn't reviewed by then. I'm adding a summary in the PR description explaining why we're making this change.

@rfairburn rfairburn marked this pull request as ready for review January 27, 2025 16:47
@rfairburn
Copy link
Contributor Author

@lukeheath thanks. I committed your recommendation and moved the PR into "Ready for Review"

Copy link
Member

@lukeheath lukeheath left a comment

Choose a reason for hiding this comment

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

Approved by me, will need @mikermcneil's approval as DRI for the page before we create the repo.

handbook/company/why-this-way.md Outdated Show resolved Hide resolved
@lukeheath
Copy link
Member

@Sampfluger88 Tagging you to get it on your radar.

@mikermcneil
Copy link
Member

Thanks! @rfairburn @zayhanlon

@mikermcneil mikermcneil merged commit de46eb3 into main Jan 27, 2025
4 checks passed
@mikermcneil mikermcneil deleted the terraform-why-this-way branch January 27, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants