vault

hashicorp/vault/azurerm

Terraform Module HCL AZURERM

A Terraform Module for how to run Vault on AzureRM using Terraform and Packer

Install
module "vault" {
source = "hashicorp/vault/azurerm"
version = "0.0.2"
}
plain text: /constructs/tfmod-hashicorp-vault-azurerm/install.txt
⭐ Source on GitHub 📦 Registry page
README

Vault Azure Module This repo contains a Module to deploy a Vault cluster on Azure using Terraform. Vault is an open source tool for managing secrets. This Module uses Azure Storage as a storage backend and a Consul server cluster as a high availability backend: !Vault architecture This Module includes: install-vault: This module can be used to install Vault. It can be used in a Packer template to create a Vault Azure Manager Image. run-vault: This module can be used to configure and run Vault. It can be used in a Custom Data script to fire up Vault while the server is booting. vault-cluster: Terraform code to deploy a cluster of Vault servers using an [Scale Set] (https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-create). private-tls-cert: Generat

Inputs (18)
NameTypeDescriptionDefault
tenant_idstringThe Azure tenant ID required
client_idstringThe Azure client ID required
storage_account_namestringThe name of an Azure Storage Account. This SA should already exist required
secret_access_keystringThe Azure secret access key required
resource_group_namestringThe name of the Azure resource group consul will be deployed into. This RG shoul required
subscription_idstringThe Azure subscription ID required
storage_account_keystringThe key for storage_account_name. required
image_uristringThe URI to the Azure image that should be deployed to the consul cluster. required
key_datastringThe SSH public key that will be added to SSH authorized_users on the consul inst required
allowed_inbound_cidr_blockslistA list of CIDR-formatted IP address ranges from which the Azure Instances will a required
locationstringThe Azure region the consul cluster will be deployed in"East US"
subnet_addressstringThe subnet that consul resources will be deployed into"10.0.10.0/24"
instance_sizestringThe instance size for the servers"Standard_A0"
consul_cluster_namestringWhat to name the Consul cluster and all of its associated resources"consul-example"
num_consul_serversstringThe number of Consul server nodes to deploy. We strongly recommend using 3 or 5.3
vault_cluster_namestringWhat to name the Vault cluster and all of its associated resources"vault-example"
num_vault_serversstringThe number of Vault server nodes to deploy. We strongly recommend using 3 or 5.3
address_spacestringThe supernet for the resources that will be created"10.0.0.0/16"
Outputs (3)
vault_admin_user_name
load_balancer_ip_address
vault_cluster_size
Resources (3)
azurerm_storage_containerazurerm_subnetazurerm_virtual_network
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.2
Cloud AZURERM
★ Stars51
Forks65
Total downloads6.6k
Inputs18
Outputs3
Resources3
Submodules2
LicenseApache-2.0
Namespacehashicorp
Updated