Photo by Gabriel Menchaca on Unsplash
A collection of links to my HashiCorp demos, resources, and other scripts I use.
Working examples of Packer configurations including, Ansible, Windows and CentOS
Referenceable code snippets for common Terraform logic. Include reading and merging JSON from a file.
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.
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.
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.
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.
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.
Deploy Vault and Boundary to delivery ephemeral access to Kubernetes clusters.
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.
Bash wrapper i used around doormat and tecli for starting demos quickly.