Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Move IaC related files to relevant folder #118

Open
eranelbaz opened this issue Oct 1, 2023 · 4 comments · May be fixed by #144
Open

Move IaC related files to relevant folder #118

eranelbaz opened this issue Oct 1, 2023 · 4 comments · May be fixed by #144

Comments

@eranelbaz
Copy link
Contributor

This can make the repo a bit more tidy, move all *.tf files into one folder instead of the project root

@Yantrio
Copy link
Member

Yantrio commented Oct 2, 2023

Do you have a proposal of directory structure? Maybe some good examples of standards?

@eranelbaz
Copy link
Contributor Author

Directory can be iac or just opentofu and put everything in it, and running tofu init / plan / deploy within that directory

@eranelbaz eranelbaz linked a pull request Oct 5, 2023 that will close this issue
@Yantrio
Copy link
Member

Yantrio commented Oct 6, 2023

I've been looking around a LOT of other repos, and I've only seen 2 examples of a similar repo structure where someone moved the tf files out of the root folder, and that moved it into a directory called infrastructure or infra and not iac.

In my honest opinion, I don't see any advantage to moving it this way. We don't have a lot of files in the root directory. Especially not enough to make it look untidy.

@eranelbaz
Copy link
Contributor Author

eranelbaz commented Oct 8, 2023

We can rename t to infra which is basically iac
I would rather keep the project simpler to read than tones of files in the project root.
Plus this is a very small issue and will make the project much better and readable IMO

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 a pull request may close this issue.

2 participants