Skip to content

100+ DevOps Code & Config templates for Kubernetes, AWS, GCP, Terraform, Docker, Packer, Jenkins, CircleCI, GitHub Actions, Lambda, AWS CodeBuild, GCP Cloud Build, Vagrant, Puppet, Python, Bash, Go, Perl, Java, Scala, Groovy, Maven, SBT, Gradle, Make, Jenkinsfile, Makefile, Dockerfile, docker-compose.yml, Vagrantfile, M4 etc...

License

Notifications You must be signed in to change notification settings

HariSekhon/Templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 14, 2025
db76152 · Mar 14, 2025
Jan 11, 2022
Feb 28, 2025
May 27, 2024
Feb 25, 2025
Feb 1, 2025
Feb 21, 2025
Mar 14, 2025
Mar 14, 2025
Mar 14, 2025
Mar 14, 2025
Mar 14, 2025
Apr 29, 2020
Mar 14, 2025
Mar 14, 2025
Sep 21, 2024
Feb 22, 2022
May 27, 2024
May 27, 2024
May 27, 2024
Aug 9, 2024
Feb 25, 2025
Aug 8, 2024
Jul 2, 2024
Jan 30, 2024
Oct 8, 2024
May 27, 2024
Jun 1, 2022
Sep 18, 2024
Aug 25, 2024
Nov 22, 2024
Aug 8, 2024
Jul 2, 2024
Jun 1, 2022
Jun 14, 2022
Feb 6, 2025
Jul 10, 2024
Apr 15, 2023
Feb 6, 2025
Jan 29, 2025
Jan 17, 2022
Feb 8, 2022
Feb 2, 2025
Aug 21, 2020
Feb 6, 2025
Oct 6, 2020
Jun 7, 2022
Jun 2, 2023
Oct 9, 2024
Oct 9, 2024
Apr 15, 2023
Jun 2, 2023
Aug 21, 2020
Jan 7, 2020
Jan 8, 2020
May 30, 2024
Sep 22, 2024
Sep 22, 2024
May 27, 2024
Feb 1, 2022
Apr 29, 2020
Dec 19, 2020
Jun 28, 2022
Jun 1, 2023
Apr 3, 2023
Apr 3, 2023
May 27, 2024
May 27, 2024
Feb 28, 2025
Feb 21, 2025
Apr 27, 2023
May 26, 2022
Apr 3, 2023
Jan 18, 2022
Jan 18, 2022
Dec 15, 2020
Jan 3, 2025
Aug 1, 2024
Sep 25, 2024
Sep 23, 2020
Apr 3, 2023
May 10, 2022
Jun 7, 2022
Mar 27, 2022
Apr 29, 2020
Jul 29, 2022
Jan 23, 2023
Oct 9, 2024
Oct 9, 2024
May 17, 2023
Apr 3, 2023
Jul 8, 2022
May 31, 2023
Jun 2, 2023
Apr 3, 2023
May 31, 2023
Apr 15, 2023
Feb 21, 2022
Dec 15, 2020
Dec 15, 2020
Dec 15, 2020
Apr 15, 2023
Apr 15, 2023
May 30, 2023
May 10, 2022
Jan 5, 2023
May 31, 2023
May 31, 2023
Sep 18, 2020
May 31, 2023
Nov 11, 2024
Dec 15, 2020
Dec 15, 2020
Sep 3, 2024
Feb 8, 2022
May 10, 2022
Apr 29, 2020
Mar 4, 2025
Apr 29, 2020
May 19, 2023
Jan 15, 2022
Apr 29, 2020
Jan 18, 2022
Apr 29, 2020
Apr 29, 2020
Apr 29, 2020
May 7, 2023
Apr 29, 2020
Jun 14, 2023
Apr 15, 2023
Jan 3, 2025
Jun 14, 2023
Jan 1, 2025
Jan 1, 2025
Apr 29, 2020
Jul 26, 2022
May 10, 2022
Jun 1, 2023
Apr 29, 2020
Oct 6, 2020
Jul 8, 2022
May 10, 2022
Apr 29, 2020
Jan 18, 2022
Jan 18, 2022
Jan 18, 2022
May 5, 2023
Jun 1, 2020
Apr 29, 2020
Feb 17, 2025
May 28, 2023
Apr 29, 2020
Apr 29, 2020
Apr 29, 2020
Jan 18, 2022
Jan 18, 2022
Apr 29, 2020
Apr 29, 2020
Apr 15, 2023
Aug 13, 2020
Apr 29, 2020
Apr 29, 2020
Feb 28, 2022
Apr 29, 2020
Oct 8, 2024
May 2, 2023
Apr 29, 2020
Apr 29, 2020
Oct 10, 2024
Apr 29, 2020
Apr 29, 2020
Apr 29, 2020
Apr 29, 2020
Sep 18, 2020
Jun 20, 2020
Apr 29, 2020
May 10, 2022
May 30, 2023
Mar 27, 2022

Repository files navigation

Code & Config Templates

GitHub stars GitHub forks LineCount Cocomo License My LinkedIn GitHub Last Commit

CI Builds Overview ShellCheck JSON YAML XML Markdown Validation Checkov Kics Grype Semgrep Semgrep Cloud Trivy Redhat Kickstart Debian Preseed Ubuntu AutoInstall Cloud-Init HashiCorp Packer

Repo on GitHub Repo on GitLab Repo on Azure DevOps Repo on BitBucket

git.io/code-templates

Code & DevOps Config templates for many popular programming languages and DevOps tools including:

Many 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

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/)

Terraform

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

Packer

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.

Star History

Star History Chart

git.io/code-templates

More Core Repos

Knowledge

Readme Card Readme Card

DevOps Code

Readme Card Readme Card Readme Card Readme Card

Containerization

Readme Card Readme Card

CI/CD

Readme Card Readme Card

DBA - SQL

Readme Card

DevOps Reloaded

Readme Card Readme Card Readme Card Readme Card Readme Card

Templates

Readme Card Readme Card

Misc

Readme Card Readme Card

The rest of my original source repos are here.

Pre-built Docker images are available on my DockerHub.

About

100+ DevOps Code & Config templates for Kubernetes, AWS, GCP, Terraform, Docker, Packer, Jenkins, CircleCI, GitHub Actions, Lambda, AWS CodeBuild, GCP Cloud Build, Vagrant, Puppet, Python, Bash, Go, Perl, Java, Scala, Groovy, Maven, SBT, Gradle, Make, Jenkinsfile, Makefile, Dockerfile, docker-compose.yml, Vagrantfile, M4 etc...

Topics

Resources

License

Stars

Watchers

Forks