iac-taskfile-framework
iac-taskfile-framework copied to clipboard
Taskfile framework that contains needed daily operations tasks and commands.
IaC Taskfile Framework

Taskfile https://taskfile.dev/ that contains needed DevOps daily operations tasks and commands.
Operations
- AWS
awscliaws-vaultchamber
- Terraform
terraformtfsectflintcheckovdriftctltfenv
- Docker
docker
- Helm
helmhelmfile
- Ansible
- GitHub
- Terragrunt
- Kubernetes
- Brew (macOS)
- Chocolatey (windows)
- Scoop (windows)
- 1password
- SteamPipe
- DevOps Tools
direnvgomplate
How to use
Install Taskfile
one command to install:
# For Installation To /usr/local/bin for user wide access with debug logging
# May require sudo sh
sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
git submodules
add submodule for the repo in tasks folder in your repo.
git submodule add https://github.com/mhmdio/iac-taskfile-framework tasks
update your Taskfile.yml to include the task files form tasks folder
includes:
aws: ./tasks/aws
docker: ./tasks/docker
terraform: ./tasks/terraform
Sample Taskfile
# https://taskfile.dev
version: '3'
dotenv: ['.env']
output: prefixed
vars:
env:
includes:
aws: ./tasks/aws
docker: ./tasks/docker
terraform: ./tasks/terraform
tasks:
default:
desc: Hello MSG.
cmds:
- echo "{{.GREETING}}"
silent: true