Skip to main content

Using Gitlab-CI to manage your Terraform/Cloudflare configuration

Everyone who uses Cloudflare already known the quality and reliability even for free plan users. So I don’t need any kind of backup alright? Wrong. We are humans and shit happens… all time… always. Actually, at this moment, someone are making a mistake. Ask to Murphy. That’s why it’s a good idea use Terraform and use a versioning system to maintain a history of modifications. Well, basically you will need to create a new repository in yours Gitlab account (if you didn’t yet), add your terraform files into this repository.

Sharing my dotfiles

Here I am, trying to write in english as an exercise and, ofcourse, attempting to reach more people with my ideas. This post is only to share with the community my dotfiles automation. All over the internet we can found a hundred of scripts to link files in your home directory. Many of them has some kind of restriction (yeah, my bootstrap script have some things that fit to my reallity, but can be easily changed to yours).

Gerenciando as configurações no Cloudflare com Terraform

A intenção aqui é ir direto ao ponto e mostrar por meio de exemplos como gerenciar seu DNS e algumas configurações da sua conta no Cloudflare utilizando o Terraform. As vantagens deste modelo são inúmeras, entre elas a facilidade de ter sua estrutura definida por código, a possibilidade de versionamento, um backup para algum eventual problema… As respectivas documentações podem ser encontradas nos links abaixo: Cloudflare Provider - Terraform Cloudflare Terraform Docs - Cloudflare $ tree .

Vagrant Box com Debian 9 e Puppet Agent 5

Me aventurando pelo mundo da Infraestrutura Ágil conheci o Vagrant. Excelente ferramenta que tenho usado principalmente para testes do Puppet e de ambientes diversos. Sempre utilizei boxes de outras pessoas e ainda não tinha me aventurado a criar uma para testes e aprender o processo. Até hoje. Para quem tiver interesse/necessidade, a box com Puppet Agent 5 rodando em um Debian 9 está disponível. Para adicionar a box: vagrant box add rfranzen/debian9x64puppet5 Ou ir direto para o Vagrantfile: