Skip to content

A list of my repos that use HashiCorp tools.

Notifications You must be signed in to change notification settings

jamiewri/hashicorp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Screenshot

Photo by Gabriel Menchaca on Unsplash

HashiCorp workflows and demos

A collection of links to my HashiCorp demos, resources, and other scripts I use.

Table of contents

  1. Packer
  2. Terraform
  3. Terraform Cloud
  4. Vault
  5. Consul
  6. Boundary
  7. Golang
  8. Scripts

Packer

Working examples of Packer configurations including, Ansible, Windows and CentOS

Terraform

Examples

Referenceable code snippets for common Terraform logic. Include reading and merging JSON from a file.

Modules

This module uses a custom data structure called workspaces to manage terraform cloud workspaces and the team access model. See Terraform Cloud Workspace automation for usage.

Terraform Cloud

The automated deployment of Terraform Cloud workspaces, including tags, and teams.

Create, run and destroy infrastructure in Terraform Cloud from a CICD pipeline. Including GitLab CI example.

A CLI tool for interacting with mutliple Terraform Cloud workspace at the same time based on tags. For example, 'Start a destory plan on all workspaces that match the tags demo and azure. Built using the official Golang SDK for Terraform Cloud/Enterprise.

Vault

Workflows

Example KMS secrets engine workflows for AWS, Azure, and Google Cloud. Configure the Vault KMS secrets engine to generate key material locally then push it to any one of the available public cloud providers.

Example Transit secret engine workflows. Including generating key material outside of Vault and then importing it into Vault.

A sidecar for working with Vault in a dev Kubernetes environment. Useful for deploying demos quickly.

Use a Terraform Cloud agent to deploy a web app into Kubernetes with Service Account generated by Vault Kubernetes Secrets Engine.

Testing

Use Python to run a mutli-threaded non-functional test of Vaults Transit secret engine and output performance statistics.

Use Python to functionally test operations in Vault KMIP secret engine. Including a parsable JSON output.

Consul

Use Packer and Ansible to build immutable Consul, Web, and Bastion server images. Deploy them into Google Cloud and show Consul auto discovering and health checking the web servers.

Use Docker and Python to build 2 containerised web applications. Then deploy Consul and programmatically render an Nginx configuration based on Consul service discovery.

Boundary

Deploy Vault and Boundary to delivery ephemeral access to Kubernetes clusters.

Golang

Example usage of the Create a CLI tool that searches Terraform Cloud workspaces based on provided tags. Built using the official Golang SDK for Terraform Cloud/Enterprise.

Scripts

Bash wrapper i used around doormat and tecli for starting demos quickly.

About

A list of my repos that use HashiCorp tools.

Topics

Resources

Stars

Watchers

Forks