mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 10:37:56 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			60 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			HCL
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			HCL
		
	
	
	
	
	
| //-------------------------------------------------------------------
 | |
| // Vault settings
 | |
| //-------------------------------------------------------------------
 | |
| 
 | |
| variable "download-url" {
 | |
|     default = "https://releases.hashicorp.com/vault/1.3.4/vault_1.3.4_linux_amd64.zip"
 | |
|     description = "URL to download Vault"
 | |
| }
 | |
| 
 | |
| variable "config" {
 | |
|     description = "Configuration (text) for Vault"
 | |
| }
 | |
| 
 | |
| variable "extra-install" {
 | |
|     default = ""
 | |
|     description = "Extra commands to run in the install script"
 | |
| }
 | |
| 
 | |
| //-------------------------------------------------------------------
 | |
| // AWS settings
 | |
| //-------------------------------------------------------------------
 | |
| 
 | |
| variable "ami" {
 | |
|     default = "ami-7eb2a716"
 | |
|     description = "AMI for Vault instances"
 | |
| }
 | |
| 
 | |
| variable "availability-zones" {
 | |
|     default = "us-east-1a,us-east-1b"
 | |
|     description = "Availability zones for launching the Vault instances"
 | |
| }
 | |
| 
 | |
| variable "elb-health-check" {
 | |
|     default = "HTTP:8200/v1/sys/health"
 | |
|     description = "Health check for Vault servers"
 | |
| }
 | |
| 
 | |
| variable "instance_type" {
 | |
|     default = "m3.medium"
 | |
|     description = "Instance type for Vault instances"
 | |
| }
 | |
| 
 | |
| variable "key-name" {
 | |
|     default = "default"
 | |
|     description = "SSH key name for Vault instances"
 | |
| }
 | |
| 
 | |
| variable "nodes" {
 | |
|     default = "2"
 | |
|     description = "number of Vault instances"
 | |
| }
 | |
| 
 | |
| variable "subnets" {
 | |
|     description = "list of subnets to launch Vault within"
 | |
| }
 | |
| 
 | |
| variable "vpc-id" {
 | |
|     description = "VPC ID"
 | |
| }
 | 
