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: Add EFS performance settings. #339

Merged
merged 4 commits into from
May 12, 2023
Merged

feat: Add EFS performance settings. #339

merged 4 commits into from
May 12, 2023

Conversation

lazzurs
Copy link
Contributor

@lazzurs lazzurs commented Mar 2, 2023

Description

Adding EFS performance settings as the default EFS performance settings
might not provide enough performance to initial Atlantis installs that
have to pull large repos while the EFS volume is small as the default
mode provides performance relative to disk usage.

Motivation and Context

In testing the default EFS mode provided initial performance so far away
from ephemeral storage that Atlantis became unusable.

Breaking Changes

None

How Has This Been Tested?

The current examples do not use EFS so did not updated them with these
parameters.

  • I have executed pre-commit run -a on my pull request

Adding EFS performance settings as the default EFS performance settings
might not provide enough performance to initial Atlantis installs that
have to pull large repos while the EFS volume is small as the default
mode provides performance relative to disk usage.

In testing the default EFS mode provided initial performance so far away
from ephemeral storage that Atlantis became unusable.
variables.tf Show resolved Hide resolved
@Moncky
Copy link

Moncky commented Mar 3, 2023

In addition to my inline comment there is an important not regaring the use of the provisioned throuhgput type in the AWS docs https://docs.aws.amazon.com/efs/latest/ug/managing-throughput.html

It is probably prudent to add that note to our README as well

@lazzurs
Copy link
Contributor Author

lazzurs commented Mar 20, 2023

@antonbabenko could you review or point to who should be doing reviews for this repo?

variables.tf Outdated Show resolved Hide resolved
variables.tf Outdated Show resolved Hide resolved
@lazzurs
Copy link
Contributor Author

lazzurs commented Apr 14, 2023

I don't think the failing checks are the fault of this PR. Is there anything more I can do?

@lordz-md
Copy link

This is definitely beneficial

@antonbabenko
Copy link
Member

Please fix the failing CI checks and it looks good to be merged.

@lazzurs
Copy link
Contributor Author

lazzurs commented May 3, 2023

As far as I can see the CI checks that are failing have nothing to do with the changes i've made and are checking for older Terraform versions. Have I missed something?

@antonbabenko
Copy link
Member

@lazzurs https://github.com/terraform-aws-modules/terraform-aws-atlantis/actions/runs/4620640384/jobs/8171227679?pr=339 - the code in ./examples/gitlab-repository-webhook is failing because of optimistic versions of the Gitlab provider. Please update versions.tf in that directory.

@lordz-md
Copy link

@lazzurs https://github.com/terraform-aws-modules/terraform-aws-atlantis/actions/runs/4620640384/jobs/8171227679?pr=339 - the code in ./examples/gitlab-repository-webhook is failing because of optimistic versions of the Gitlab provider. Please update versions.tf in that directory.

@antonbabenko I think this is fixed in current master branch of module and @lazzurs just has to rebase from it and it should fix the issue.

@bryantbiggs bryantbiggs merged commit ba3ecf9 into terraform-aws-modules:master May 12, 2023
antonbabenko pushed a commit that referenced this pull request May 12, 2023
## [3.27.0](v3.26.1...v3.27.0) (2023-05-12)

### Features

* Add EFS performance settings. ([#339](#339)) ([ba3ecf9](ba3ecf9))
@antonbabenko
Copy link
Member

This PR is included in version 3.27.0 🎉

@github-actions
Copy link

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 have 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 Jun 12, 2023
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.

5 participants