BraulioAguilarDev / aws-vault

IaC example with AWS & Vault -- Shell script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS VAULT

EC2 instance for Vault server with File backend in AWS

Requirements

To start, enter your AWS access keys with aws CLI.

Usage

For this instance we use Terraform to build infrastructure

Environment

$ cp sample.definitions.tfvars definitions.tfvars #change values

Terraform

## Start
$ terraform init

## Plan
$ terraform plan -var-file="definitions.tfvars"

## Apply
$ terraform apply -var-file="definitions.tfvars" 

## Destroy
$ terraform destroy -var-file="definitions.tfvars" --auto-approve

Note: You can use --auto-approve

About

IaC example with AWS & Vault -- Shell script


Languages

Language:Shell 55.7%Language:HCL 44.3%