3 ms·
> See https://gitlab.com/gitlab-org/5-minute-production-app/deploy https://gitlab.com/gitlab-org/5-minute-production-app/deploy... This code is awful. > Terra
by llbeansandrice 6y ago
> See https://gitlab.com/gitlab-org/5-minute-production-app/deploy https://gitlab.com/gitlab-org/5-minute-production-app/deploy...
This code is awful.
> Terraform which has the following advanatges:
> 1. Terraform is the most popular
What an awful reason to pick a technology. I love TF but using something because it's popular is the worst reason ever. Why even include this as a reason? None of the others are particularly compelling for a "5-minute" setup either.
> 5. You avoid the cost and complexity of Kubernetes
But k8s is popular so why not use that?
>If you are not sure what correct permissions are then use AdministratorAccess as a temporay solution.
Aside from all of the spelling errors in the README I hate this advice. You have the infrastructure code, you know what's going to be provisioned. Create an IAM policy and add it to the code or README. Telling people to give their little app Admin access is a terrible idea.
In addition to all of the issues another commenter mentioned. This is hardly "production" quality code or infrastructure. Production should be able to scale, that's the entire point of using HyperCloud providers.
- throwaway823882 6y ago> I love TF but using something because it's popular is the worst reason ever. Why even include this as a reason? They don't really mean "because it's popular", they mean because it's the industry incumbent and de-facto standard. You can't use anything else, because nothing else makes sense. You need to standardize on one tool, especially if your infrastructure / teams grow. If you want to deploy something on AWS using an API with a minimal graph of dependencies, there's just Terraform. Pulumi isn't totally free, you have to write more code, there aren't nearly as many providers, not as many people know it, etc. There's basically nothing else. As a result, it's "popular".