100+ DevOps Code & Config templates for AWS, GCP, Docker, CI/CD, Kubernetes, Terraform, Packer, Jenkins, CircleCI, GitHub Actions, Vagrant, Puppet, Lambda, Python, Perl, Bash, Ruby, Golang, Java, Scala, Groovy, Maven, SBT, Gradle, Make, Jenkinsfile, Makefile, Dockerfile, docker-compose.yml, Vagrantfile, M4, AWS CodeBuild, GCP Cloud Build etc...
187
stars
1,912
commits
HCL
primary language
Feb 3, 2026
updated
Code & DevOps Config templates for many popular programming languages and DevOps tools including:
aws_*, buildspec.yml, ec*, eksctl.yaml, lambda*, s3*template.jyMany more real world DevOps Tooling & CI/CD configs for all major CI/CD systems can be found in the DevOps Bash tools repo.
Forked from DevOps Perl tools, this is now a submodule of the following repos:
See also the HariSekhon/Template-Repo for quickly generating new GitHub repos containing all the basic CI/CD configurations, SonarCloud, README badges etc.
new.pl can instantiate these templates as new date-timestamped files, autopopulating the date, vim tags, GitHub
URL and other headers and drops you in to your $EDITOR of choice (eg.
vim or
IntelliJ IDEA).
You can give an exact filename like Dockerfile, Makefile, Jenkinsfile, docker-compose.yml, pom.xml, build.gradle, or you can instantiate one of the templates based on their file extension (eg. py, sh) with any filename (eg. main.py, test.py, myapp.py).
Examples:
new Makefile
new Dockerfile
new Jenkinsfile
new docker-compose.yml
new myapp.py
new build.gradle
new .github/workflows/build.yaml
new.pl can be found in the DevOps Perl tools repo.
alias new=new.pl
(done automatically in the DevOps Bash tools repo .bash.d/)
new terraform
Instantly creates and opens all standard files for a Terraform deployment in your $EDITOR of choice:
all heavily commented to get a new Terraform environment up and running quickly - with links to things like AWS / GCP regions, Terraform backend providers, state locking etc.
new terraform
or shorter
new tf
Creates portable Virtual Machines in OVA format using 100% automated installs of Ubuntu, Debian and RHEL/Fedora using their native installers:
See Packer-templates for more details and ready-to-run templates for each distro.
The rest of my original source repos are here.
Pre-built Docker images are available on my DockerHub and can be re-generated using the my Dockerfiles repo.
1,912 commits
HCL
21.4%
Python
14.7%
D2
14.2%
Shell
7.6%
Perl
6.6%
Dockerfile
6.1%
Ruby
5.9%
Java
3.9%
Groovy
3.2%
Makefile
3.2%
JavaScript
2.9%
Mermaid
1.9%
Gnuplot
1.8%
Puppet
1.4%
Go
1.3%
M4
1.2%
100+ DevOps Code & Config templates for AWS, GCP, Docker, CI/CD, Kubernetes, Terraform, Packer, Jenkins, CircleCI, GitHub Actions, Vagrant, Puppet, Lambda, Python, Perl, Bash, Ruby, Golang, Java, Scala, Groovy, Maven, SBT, Gradle, Make, Jenkinsfile, Makefile, Dockerfile, docker-compose.yml, Vagrantfile, M4, AWS CodeBuild, GCP Cloud Build etc...
187
stars
1,912
commits
HCL
primary language
Feb 3, 2026
updated
Code & DevOps Config templates for many popular programming languages and DevOps tools including:
aws_*, buildspec.yml, ec*, eksctl.yaml, lambda*, s3*template.jyMany more real world DevOps Tooling & CI/CD configs for all major CI/CD systems can be found in the DevOps Bash tools repo.
Forked from DevOps Perl tools, this is now a submodule of the following repos:
See also the HariSekhon/Template-Repo for quickly generating new GitHub repos containing all the basic CI/CD configurations, SonarCloud, README badges etc.
new.pl can instantiate these templates as new date-timestamped files, autopopulating the date, vim tags, GitHub
URL and other headers and drops you in to your $EDITOR of choice (eg.
vim or
IntelliJ IDEA).
You can give an exact filename like Dockerfile, Makefile, Jenkinsfile, docker-compose.yml, pom.xml, build.gradle, or you can instantiate one of the templates based on their file extension (eg. py, sh) with any filename (eg. main.py, test.py, myapp.py).
Examples:
new Makefile
new Dockerfile
new Jenkinsfile
new docker-compose.yml
new myapp.py
new build.gradle
new .github/workflows/build.yaml
new.pl can be found in the DevOps Perl tools repo.
alias new=new.pl
(done automatically in the DevOps Bash tools repo .bash.d/)
new terraform
Instantly creates and opens all standard files for a Terraform deployment in your $EDITOR of choice:
all heavily commented to get a new Terraform environment up and running quickly - with links to things like AWS / GCP regions, Terraform backend providers, state locking etc.
new terraform
or shorter
new tf
Creates portable Virtual Machines in OVA format using 100% automated installs of Ubuntu, Debian and RHEL/Fedora using their native installers:
See Packer-templates for more details and ready-to-run templates for each distro.
The rest of my original source repos are here.
Pre-built Docker images are available on my DockerHub and can be re-generated using the my Dockerfiles repo.
1,912 commits
HCL
21.4%
Python
14.7%
D2
14.2%
Shell
7.6%
Perl
6.6%
Dockerfile
6.1%
Ruby
5.9%
Java
3.9%
Groovy
3.2%
Makefile
3.2%
JavaScript
2.9%
Mermaid
1.9%
Gnuplot
1.8%
Puppet
1.4%
Go
1.3%
M4
1.2%