fix(terraform): AWS 43/37243/1
authorpmikus <peter.mikus@protonmail.ch>
Fri, 23 Sep 2022 07:57:11 +0000 (09:57 +0200)
committerpmikus <peter.mikus@protonmail.ch>
Fri, 23 Sep 2022 07:57:11 +0000 (09:57 +0200)
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Id2d09ae88d34154f003a6d69b82a234a4c08dc15

fdio.infra.terraform/terraform-aws-1n-aws-c5n/main.tf
fdio.infra.terraform/terraform-aws-1n-aws-c5n/variables.tf
fdio.infra.terraform/terraform-aws-1n-aws-c5n/versions.tf

index c99d839..da6367e 100644 (file)
@@ -40,8 +40,6 @@ module "subnet_b" {
 # Create Private Key
 resource "tls_private_key" "private_key" {
   algorithm   = var.private_key_algorithm
-  ecdsa_curve = var.private_key_ecdsa_curve
-  rsa_bits    = var.private_key_rsa_bits
 }
 
 # Create Key Pair
index 0eb6bcc..f560b8f 100644 (file)
@@ -24,19 +24,7 @@ variable "testbed_name" {
 variable "private_key_algorithm" {
   description = "The name of the algorithm to use for the key."
   type        = string
-  default     = "RSA"
-}
-
-variable "private_key_ecdsa_curve" {
-  description = "When algorithm is ECDSA, the name of the elliptic curve to use."
-  type        = string
-  default     = "P521"
-}
-
-variable "private_key_rsa_bits" {
-  description = "When algorithm is RSA, the size of the generated RSA key in bits."
-  type        = number
-  default     = 4096
+  default     = "ED25519"
 }
 
 # Variables for Placement Group
index 0eead1f..8bbe0c4 100644 (file)
@@ -6,14 +6,14 @@ terraform {
     }
     null = {
       source  = "hashicorp/null"
-      version = "~> 3.1.0"
+      version = ">= 3.1.1"
     }
     tls = {
       source  = "hashicorp/tls"
-      version = "~> 3.1.0"
+      version = ">= 4.0.3"
     }
     vault = {
-      version = ">=2.22.1"
+      version = ">= 2.22.1"
     }
   }
   required_version = ">= 1.0.4"