Skip to content

matheusmaais/HashicorpVault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Hashicorp Vault with Terraform + Ansible

The objective of this project is to automate the deployment of Hashicorp Vault using the well-known DevOps tools:

  • Terraform (to provision the infrastructure)
  • Ansible to manage our configuration

Requirements

  • Terraform
  • Ansible
  • AWS CLI
  • AWS KeyPair
  • All actions were performed on MacOS, but they certainly work in a Linux environment

Execution

  • Clone the repository
  • Edit the ec2.tf file "YOUR_KEY" fields and change it to the name of your aws par key
  • Run on your machine:
   $ sh deploy.sh
  • Wait for Ansible to finish its execution
  • The script will create a ./ansible/key.txt in your current directory, copy root key

Access URL

Destroy

  • Run in your local machine
  $ sh destroy.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published