-
Notifications
You must be signed in to change notification settings - Fork 69
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
Provide the full code from the demo #2
Comments
+1 Please provide the full code |
@skoblenick You can see in the commit history that his most recent commit removed the main/ directory. |
Hi, sorry for the lack of response, the last year was busy with relocating the family to Seattle :) |
To answer @skoblenick initial question, this repo should actually be split into at least 2 different ones, just used directories for the demo. You use the |
Are there any drawbacks to keeping it the way you showed (single repo for both directories)? |
Yes, I used to use a mono-repo approach, but as you start splitting out more of the infra into their own statefiles (e.g. 1 per service), the build system becomes slow and too complex. Splitting into own repos keeps is cleaner and simpler. |
Is there any document or guide to understand best practice to manage AWS Multi Account using TF/TG? What should be directory structure? Whether we should prefer mono-repo or separate repository for dev/test/qa/prod/cicd/monitoring environment? How to handle other IaC repo like we have github and azure? |
Apologies, this took quite a while, but I have published the code as 2 tutorials, I updated the readme to have the links, let me know if there is anything that isn't clear. @amitkarpe - there is one tutorial specifically showing how to use multiple repos to manage multiple accounts for you to dig into. I initially spent ~2 years using a mono-repo for multi account setups, but then ended up splitting them into separate ones when it became to hard to manage all the workflows and coordinate between teams. I am planning to write up a detailed post about that soon on https://buildon.aws, but please have a look at that one tutorial I mentioned earlier. |
Hi, are the links broken? |
The links in the README.md seems to be broken now. I found these with Google: |
I watched your talk at
Going Multi-Account With Terraform on AWS
at https://www.youtube.com/watch?v=qVcdO3OeTZo.Can you provide the full code for both directories? This repo only contains the
environment
directory under youraws-multi-account
directory and is missing themain
. The terraform files for the setup of main account would be useful. While some of the concepts are the same, there are distinctly different actions being performed in each module and are useful for understanding more about the AWS organizations and policy setup. It would be nice, for the sake of completeness to see this other folder, the video gives a glimpse of a file or two but overlooks the meat of the policy assignments.The text was updated successfully, but these errors were encountered: