From 38f53b87003b8013354b7efe337235baff410495 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Mon, 10 Jun 2024 15:47:07 +0100 Subject: [PATCH] added for legacy pipeline while new pipeline implemented Signed-off-by: Mark Bolwell --- .github/workflows/OS.tfvars | 9 +++++++++ .github/workflows/github_vars.tfvars | 13 +++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/OS.tfvars create mode 100644 .github/workflows/github_vars.tfvars diff --git a/.github/workflows/OS.tfvars b/.github/workflows/OS.tfvars new file mode 100644 index 0000000..0285721 --- /dev/null +++ b/.github/workflows/OS.tfvars @@ -0,0 +1,9 @@ +# Amazon Linux 2 +ami_id = "ami-03e0b06f01d45a4eb" +ami_os = "AmazonLinux2" +ami_username = "ec2-user" +ami_user_home = "/home/ec2-user" +instance_tags = { + Name = "Amazon2-CIS" + Environment = "lockdown_github_repo_workflow" +} diff --git a/.github/workflows/github_vars.tfvars b/.github/workflows/github_vars.tfvars new file mode 100644 index 0000000..3ea5253 --- /dev/null +++ b/.github/workflows/github_vars.tfvars @@ -0,0 +1,13 @@ +// github_actions variables +// Resourced in github_networks.tf +// Declared in variables.tf +// + +namespace = "github_actions" +environment = "lockdown_github_repo_workflow" + +// Matching pair name found in AWS for keypairs PEM key +ami_key_pair_name = "github_actions" +main_vpc_cidr = "172.22.0.0/24" +public_subnets = "172.22.0.128/26" +private_subnets = "172.22.0.192/26"