From 236b38f2b5e273ecc85ab094ecefc360cfece74e Mon Sep 17 00:00:00 2001 From: matthieu42morin Date: Thu, 29 Feb 2024 18:31:44 +0100 Subject: [PATCH] changing vars, defaults - ver, instance type --- terraform.tfvars.example | 6 ++++++ variables.tf | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/terraform.tfvars.example b/terraform.tfvars.example index ddc0bac..0b4eff4 100644 --- a/terraform.tfvars.example +++ b/terraform.tfvars.example @@ -8,6 +8,12 @@ ec2_key_pair_name = "vault_key_pair" ### OPTIONAL VARIABLES +# Version +# vault_version = "1.15.5" + +# Vault instance type. Upgradeable. +# vault_instance_type = "t3.micro" + # If you didn't create a named AWS profile, omit this. Defaults to "default". # aws_profile = "non_default_profile" diff --git a/variables.tf b/variables.tf index 3739727..da9ad34 100644 --- a/variables.tf +++ b/variables.tf @@ -35,7 +35,7 @@ variable "aws_profile" { variable "aws_default_region" { description = "The default AWS region to deploy the Vault infrastructure to." type = string - default = "us-east-1" + default = "eu-north-1" } # Vault Version @@ -43,7 +43,7 @@ variable "aws_default_region" { variable "vault_version" { description = "Version of vault to use." type = string - default = "1.4.0" + default = "1.15.5" } # Operator Mode @@ -138,7 +138,7 @@ variable "vpc_private_subnet_count" { variable "vault_instance_type" { description = "The EC2 instance size of the vault instances." type = string - default = "t2.medium" + default = "t3.small" } # EC2 - Vault Instance AutoScaling Group