Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

Conversation

@autero1
Copy link
Contributor

@autero1 autero1 commented May 2, 2019

As discussed in gruntwork-io/terraform-kubernetes-helm#25, this PR used a list variable dependencies to implement module dependencies.

@autero1 autero1 requested a review from rileykarson May 2, 2019 07:39
Copy link
Contributor

@robmorgan robmorgan left a comment

Choose a reason for hiding this comment

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

Nice 👍

@rileykarson
Copy link
Contributor

I think Yori changed to using wait_for, we should make sure the inputs / outputs end up the same. https://github.com/gruntwork-io/terraform-kubernetes-helm/pull/25/files#diff-be81a9776cb0172380d889233e68ad18R23

Copy link
Contributor

@rileykarson rileykarson left a comment

Choose a reason for hiding this comment

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

LGTM other than that^

@yorinasub17
Copy link
Contributor

Ah! The perils of distributed team! Sorry I felt that wait_for was actually a good name to use.

That said, I do not feel strongly about the name. Both are good to me. Given that, let's use dependencies and what is here in the interest of avoiding another cycle. This is nice, because then my change in the other PR will be backwards compatible.

All that to say, @autero1 don't change your implementation!

@autero1 autero1 merged commit 24cb0ec into master May 4, 2019
resource "null_resource" "dependency_getter" {
provisioner "local-exec" {
command = "echo ${length(var.dependencies)}"
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you run into issues with the triggers approach? Should I switch back to this method too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I ended up using the local-exec eventually. Switching back and forth was just trying to see if that made the tests more stable. Turned out it didn't make a difference - root cause was most likely just instability with the GCP APIs.

@autero1 autero1 deleted the module_dependencies branch May 6, 2019 16:29
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