-
Notifications
You must be signed in to change notification settings - Fork 273
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
fix: terraform module validation #4509
Conversation
9aa76ff
to
f31d9eb
Compare
@@ -727,4 +727,442 @@ for (const terraformVersion of ["0.13.3", defaultTerraformVersion]) { | |||
}) | |||
}) | |||
}) | |||
|
|||
// TODO: re-enable after https://github.com/garden-io/garden/issues/4467 has been fixed | |||
describe.skip("Terraform module type", () => { |
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.
This is a rather ugly copy of the test suite for Terraform action type
with a couple of changes (e.g. using garden["moduleConfigs"]["tf"]
instead of garden["actionConfigs"]["Deploy"]["tf"]
).
These tests could be cleaned up a lot, but we should leave that for later.
These tests pass locally, and they make sure our module-to-action conversion logic works
38f5afc
to
868a810
Compare
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.
Thank you! 👍
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #4508
Special notes for your reviewer:
We should make a release after merging this PR, as currently terraform module configurations will not work on Bonsai.
We should clean up these tests a bit some other day in a separate PR.