davisonio / personal-digital-infrastructure

Personal Digital Infrastructure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Personal Digital Infrastructure

Personal Digital Infrastructure

How I deploy, manage and configure my digital infrastructure. Using:

  • DigitalOcean - Cloud Servers & DNS
  • Ansible - Configuration Automation
  • Terraform - Infrastructure Automation
  • terraform-inventory

Install

On macOS control machine:

git clone https://github.com/davisonio/personal-digital-infrastructure
pip3 install ansible
brew install terraform terraform-inventory

Set this in your .zshrc if ya like

export TF_STATE=.

Usage

To change infrastructure:

terraform apply

Newly created/changed infrastructure will run provisions which may include changing configuration.

To change configuration:

ansible-playbook plays/<name>.yml

Secrets are stored in secrets.auto.tfvars.

Credits

Craig Davison

GitHub Twitter

About

Personal Digital Infrastructure


Languages

Language:HCL 100.0%