3 ms·
> The most confusing part of terraform for me is that terraform's view of the infrastructure is a singleton config file that is often stored in that very infras
by mooreds 10mo ago
> The most confusing part of terraform for me is that terraform's view of the infrastructure is a singleton config file that is often stored in that very infrastructure.
These folks also have an article about that: https://newsletter.masterpoint.io/p/how-to-bootstrap-your-state-backend-for-your-next-terraform-or-opentofu-project https://newsletter.masterpoint.io/p/how-to-bootstrap-your-st...
- bigstrat2003 10mo agoThat article is way overkill. One should just manually create the backend storage (S3 bucket or whatever you use). No reason to faff about with the steps in the article.
- catlifeonmars 10mo agoThis is excellent advice. When you have a hammer… as the expression goes. It’s crazy how many times that even knowing this, I have to catch myself and step back. IaC is a contextually different way of thinking and it’s easy to get lost.
- GowGuy47 10mo agoThe reason to not create the bucket are because you want to ensure that you don’t have any click ops resources that you can’t track. If you manually create anything, that means it’s not in code and therefore the rest of the team doesn’t know where it lives, who created it, or when.