Code Organization recommendation #14
-
This message was extracted from a discussion that originally took place in Gruntwork Community Slack. Names and URLs have been removed where appropriate From a customer This is kind of an abstract, strategy question but here goes. With our refarch, we have a number of DRY violations (in particular, So with the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
From a grunt Hey person, I believe that’s a valid approach and I can suggest that you should build out your folder structure in a way that it makes it easy for you to understand and maintain. That’s the thing that matters here. Have you done the Ref Arch using our guide, or did we deploy that for you? In the first case, I’d suggest that a good place to look for the structure we use currently is this. |
Beta Was this translation helpful? Give feedback.
-
From a grunt Hello! So I did ask internally, and think you’re actually on the right path here! So, if you were to abstract away the The challenge might come as you update the Something interesting to share - Have a read here gruntwork-io/terragrunt#1566 :slightly_smiling_face: |
Beta Was this translation helpful? Give feedback.
From a grunt
Hello! So I did ask internally, and think you’re actually on the right path here!
So, if you were to abstract away the
ecs-deploy-runner
and put the common things between them in one place, so you only have to update them once, that is a good step forward.The challenge might come as you update the
ecs-deploy-runners
, in case there’s some unnoticed bugs by the refactoring itself.Something interesting to share -
terragrunt
is actually being updated so that we could re-architecture theinfrastructure-live
repo very soon, and it will be easier to avoid duplication like you’re having.Have a read here gruntwork-io/terragrunt#1566 :slightly_smiling_face: