nimblehq / infrastructure-templates

For IaaS and PaaS as codes
MIT License
10 stars 0 forks source link

[#63] Add Terraform codebase #106

Closed hoangmirs closed 2 years ago

hoangmirs commented 2 years ago

Closes https://github.com/nimblehq/infrastructure-templates/issues/63

What happened 👀

Insight 📝

Proof Of Work 📹

malparty commented 2 years ago

I like the idea to isolate the core files of Terraform, but I'm quite confuse when we call this an add-on. By definition, an add-on is "something that has been or can be added to an existing object" (google). Though in our case, the existing object is the terraform core files, and we have the aws and github add-ons to add to the terraform core. So terraform files seems to be the core, not an add-on.

In a similar idea, add-ons are IMO things we would ask for in the CLI command (which provider do you use? which version control do you use? ...).

hoangmirs commented 2 years ago

I like the idea to isolate the core files of Terraform, but I'm quite confuse when we call this an add-on. By definition, an add-on is "something that has been or can be added to an existing object" (google). Though in our case, the existing object is the terraform core files, and we have the aws and github add-ons to add to the terraform core. So terraform files seems to be the core, not an add-on.

In a similar idea, add-ons are IMO things we would ask for in the CLI command (which provider do you use? which version control do you use? ...).

@malparty Thank you, you are right. It should be something like the core/general part. I change it to core, and also create the core folder to put the code base. But if you have the better name/term, feel free to suggest it.

I also move .gitignore to core as it could be used either by GitLab or GitHub