Ideally I'm trying to setup my IaC in a monorepo with the following folder structure
<account>/<region>/<env>/<resource>
r
red-match-15116
08/06/2021, 2:51 PM
What language are you using?
f
fast-florist-41572
08/06/2021, 5:20 PM
golang
That structure is just something I saw that looked the best way for me
But happy to be open to other structures. Just hard to find non trivial examples
r
red-match-15116
08/06/2021, 5:27 PM
Yeah, I think whatever structure works for you is what is best. It’s hard to prescribe any sort of “best practices” in terms of folder structure since people can have wildly varying use cases. I don’t have a great example in golang, but the “complex architecture” that I always link to is MIT’s Open Learning infra (in python, but conceptually should be equivalent). https://github.com/mitodl/ol-infrastructure
But I still think what works for you is what is “best”.
f
fast-florist-41572
08/06/2021, 5:29 PM
Thanks @red-match-15116 will check it out 🙏 Yeah agreed its nice to be flexible. But it does help people better to have complex normative examples so conceptually people can better grapple projects and stacks. Because they aren't so intutive once you get to something more complex