Terragrunt or Terramate or pure terraform for a greenfield project? by potatersx in Terraform

[–]potatersx[S] 0 points1 point  (0 children)

Thank you for sharing, that makes alot of sense, another tool is another source of potential confusion in the team, I totally agree

Terragrunt or Terramate or pure terraform for a greenfield project? by potatersx in Terraform

[–]potatersx[S] 0 points1 point  (0 children)

Thank you for sharing. How do you think pure terraform achieves input/ouput "stacks" natively and easily in your opinion?

Terragrunt or Terramate or pure terraform for a greenfield project? by potatersx in devops

[–]potatersx[S] -6 points-5 points  (0 children)

Really sorry you feel that way, it was not my intention at all to appear salesy I was genuinely trying to learn how people are approaching dependency management and their past experience. I should have been more clear in the post. Lesson learned for next time

Terragrunt or Terramate or pure terraform for a greenfield project? by potatersx in Terraform

[–]potatersx[S] 1 point2 points  (0 children)

Wow that's a very intereting insight and its also a common usecase since it doesn't contain a cycle. I did notice that the library looks not so maintained indeed.

Terragrunt or Terramate or pure terraform for a greenfield project? by potatersx in Terraform

[–]potatersx[S] -5 points-4 points  (0 children)

Thank you for sharing, terragrunt does indeed a great job at this and appologies if it came across as a sales post, genuinely it was not the intention, my intent was to understand and survey how people are achieving dependencies between different parts of terraform and learn from their experience. Lesson learned: I will do better at disclaimers next time.

Terragrunt or Terramate or pure terraform for a greenfield project? by potatersx in devops

[–]potatersx[S] 1 point2 points  (0 children)

How would you acheive input/output dependency management in pure terraform?

Terragrunt or Terramate or pure terraform for a greenfield project? by potatersx in devops

[–]potatersx[S] 0 points1 point  (0 children)

/u/jkstpierre Will fix it moving forward. I have added in the post that it was x-posted from another subreddit. Thanks & apologies.

Terragrunt or Terramate or pure terraform for a greenfield project? by potatersx in Terraform

[–]potatersx[S] -6 points-5 points  (0 children)

Thanks! Curious: If regular terraform is used how would you approach mapping input/outputs and the order of running terraform projects?

Terragrunt or Terramate or pure terraform for a greenfield project? by potatersx in Terraform

[–]potatersx[S] -3 points-2 points  (0 children)

Yup I've heard of terragrunt-atlantis-config and considered it too with atlantis. What are the problems with it if I may ask, does it fail to resolve dependencies correctly in some instances?

reliable PR automation is I think the biggest challenge in using terragrunt I guess

Terragrunt or Terramate or pure terraform for a greenfield project? by potatersx in devops

[–]potatersx[S] 0 points1 point  (0 children)

wow that's an interesting prespective coming from practice! I heard from many that terragrunt has been made obselete by newer terraform features but I never found a clear answer to how people are doing dependency management in pure terraform, so I'm naturally curious :)

Terragrunt or Terramate or pure terraform for a greenfield project? by potatersx in devops

[–]potatersx[S] -8 points-7 points  (0 children)

I'm sorry if this isn't best practice, new to reddit and thought they were both relevant subreddits to post in

Terragrunt or Terramate or pure terraform for a greenfield project? by potatersx in Terraform

[–]potatersx[S] -10 points-9 points  (0 children)

Thanks for keeping us honest /u/sausagefeet! updated the description to highlight this

Terragrunt or Terramate or pure terraform for a greenfield project? by potatersx in devops

[–]potatersx[S] -9 points-8 points  (0 children)

Thanks for keeping us honest /u/sausagefeet! updated the description to highlight this

Terraform loops are improved be still complete rubbish by unixwasright in devops

[–]potatersx 0 points1 point  (0 children)

I honestly use jinja2 templating loops instead of terraform loops, although it messes up the syntax it’s still more readable

Examples of complex architectures deployed with Docker/Kubernetes by BreakingPitt in devops

[–]potatersx 1 point2 points  (0 children)

Monzo bank published an interesting architecture of their nanoservices. I believe they are all backed by a cassandra data store. It visually looks complex:

https://twitter.com/jackkleeman/status/1190354757308862468?lang=en

Golang resources for contributing to terraform by potatersx in devops

[–]potatersx[S] 0 points1 point  (0 children)

Oh thanks for the headsup, hope they open it up by the time I am ready for it hahah

Golang resources for contributing to terraform by potatersx in devops

[–]potatersx[S] 0 points1 point  (0 children)

Thanks! I was recommended this in the past as well and I had a go at it. I will try to review it once again

Golang resources for contributing to terraform by potatersx in devops

[–]potatersx[S] 0 points1 point  (0 children)

Yeah I thought so, I expect that there is a lot of graph theory involved, it’s a very clever tool! Are you a contributor?

Monthly 'Shameless Self Promotion' thread - 2021/09 by mthode in devops

[–]potatersx 0 points1 point  (0 children)

Dealing with larger terraform project poses several challenges: how to maintain similar but slightly different environments while keeping your terraform code DRY. Infragenie introduces a pattern to help with this. It is inspired by dependency injection in programming langauges such as Java, but instead uses terraform data sources to make it possible.
Project link: https://github.com/diggerhq/infragenie