From aaf5d7025e7219fa15e110baf1e97db1b62be4a1 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Tue, 18 Jun 2024 15:16:07 +0100 Subject: [PATCH] updated variables Signed-off-by: Mark Bolwell --- .github/workflows/variables.tf | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/.github/workflows/variables.tf b/.github/workflows/variables.tf index 16bc9f6..6458a43 100644 --- a/.github/workflows/variables.tf +++ b/.github/workflows/variables.tf @@ -18,13 +18,9 @@ variable "instance_type" { type = string } -variable "instance_tags" { - description = "Tags to set for instances" - type = map(string) -} - variable "ami_key_pair_name" { description = "Name of key pair in AWS thats used" + default = "Lockdown_enterprise_workflow-sshkey" type = string } @@ -35,7 +31,7 @@ variable "ami_os" { variable "ami_id" { description = "AMI ID reference" - type = string + type = string } variable "ami_username" { @@ -50,27 +46,34 @@ variable "ami_user_home" { variable "namespace" { description = "Name used across all tags" + default = "Lockdown_enterprise_workflow" type = string } variable "environment" { description = "Env Name used across all tags" type = string + default = "Ansible_Lockdown_Environment" } -// taken from github_vars.tfvars & +variable "benchmark_os" { + description = "The benchmark OS thats being tested" + type = string +} -variable "main_vpc_cidr" { - description = "Private cidr block to be used for vpc" +variable "benchmark_type" { + description = "The benchmark OS thats being tested" type = string } -variable "public_subnets" { - description = "public subnet cidr block" +variable "vpc_secgrp_id" { + description = "The id of the vpc security group for the runner" type = string + sensitive = true } -variable "private_subnets" { - description = "private subnet cidr block" +variable "privsubnet_id" { + description = "The id of the private subnet for the runner vpc" type = string + sensitive = true }