-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
remove terraform tests and package #13154
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
Conversation
214137f to
632d631
Compare
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 2h 38m 57s ⏱️ Results for commit 93d99a3. ♻️ This comment has been updated with latest results. |
LocalStack Community integration with Pro 2 files ±0 2 suites ±0 1h 58m 46s ⏱️ +40s Results for commit 93d99a3. ± Comparison against base commit c8f43c9. This pull request removes 10 and adds 1 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
bentsku
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for cleaning up! 🧹
I'll duplicate my comment I've made on the other PRs just in case 😄
Do we know if any customers were relying on the package being available in LPM? I don't know how much it is used.
We also discussed with @localstack/falcon as part of our IaC Usability improvements that we might want to have Terraform being more prominent in our test suite, at least with some smoke tests.
But I believe we should do it differently that how it was done, especially the installation, and they maybe should be part of a nightly pipeline. Just mentioning it for posterity 😄
In any case, it seems like this is causing more trouble for no gain at the moment, so let's clean up! 🚀
|
@alexrashed oops sorry, while reviewing other PR, I spotted the following: we setup Terraform in our CI:
|
We can't really know exactly how much it is used though because we don't have analytics on it. However, LPM is an internal API and terraform is not installed by default and this should only be the case for init scripts (where we can directly refer to the extension). |
Motivation
In the past we have been executing terraform tests directly in our test suit against LocalStack.
However, they were quite flaky and were skipped 2 years ago with #9080.
In the meantime this code had to be maintained, and the terraform package can cause false positives when looking at the security of the Docker image.
This is why this PR removes both, the skipped tests and the package installer (which isn't used anywhere else than in tests here in LocalStack).
Changes
tests/aws/test_terraform.py.localstack-core/localstack/packages/terraform.py.TODO
terraform_package.