From 3249c2cadd60911e74ca1b8c7f0f4e3860f1d0da Mon Sep 17 00:00:00 2001 From: David John Arnold Jr Date: Mon, 15 Sep 2025 14:36:06 -0700 Subject: [PATCH] Init (#10) * Add comprehensive EKS Cluster Template roadmap and configuration files * Refactor namespace definitions and add GitHub Actions workflows variable * Implement GitHub Actions workflow triggers and enhance Terraform configurations for automated cluster setup * Enhance README and add Terraform module for EKS cluster deployment with automated GitHub Actions workflows; include tests for workflow triggers and validation. * Update versions.tf to include required provider versions for Terraform configuration * Remove outdated test files and add new validation and workflow trigger tests for EKS cluster deployment * Update GitHub server URL and refactor related configurations for EKS deployment * Refactor module configurations to enable dynamic management of extra files and update enable_all_modules variable for improved flexibility * updating gitignore * Remove obsolete Terraform module and provider cache files to clean up the repository * removing test workflow * Remove GitHub token variable and references to streamline configuration * Update terraform-validate.yaml * Remove mock GitHub token from workflow trigger configuration * updating * removing varfiles * Remove unused GitHub module and provider references * removign data dirs * removing TEMPLATE_SHA * reemoving varfiles * initi * adding docs * Add README template for EKS cluster configuration * Enhance README and examples for EKS cluster management - Updated README to clarify module functionality and features. - Added centralized management examples for EKS cluster repositories. - Improved variable definitions for better clarity and usability. * Fix formatting of runs-on value in GitHub Actions workflow * Refactor README and ROADMAP for clarity; update Terraform configurations and remove deprecated variables * Update EKS cluster configuration with new account details * Update main.tf * Update EKS deployment configuration: change region to us-gov-east-1 and update VPC name to vpc3-csvd-dev * Refactor repository and cluster configuration: unify naming and update descriptions in main.tf and variables.tf * Update cluster name assignment in locals.tf and add default.json file * Update GitHub repository source URL in main.tf * Remove commented-out AWS provider and GitHub token configuration; add providers.tf for AWS provider definition --------- Co-authored-by: Your Name --- examples/basic/main.tf | 10 ---------- examples/basic/providers.tf | 2 ++ 2 files changed, 2 insertions(+), 10 deletions(-) create mode 100644 examples/basic/providers.tf diff --git a/examples/basic/main.tf b/examples/basic/main.tf index d84fb0b..30254ff 100644 --- a/examples/basic/main.tf +++ b/examples/basic/main.tf @@ -1,13 +1,3 @@ -provider "aws" { -} - -data "aws_secretsmanager_secret_version" "github_token" { - secret_id = "/eks-cluster-deployment/github_token" -} - -provider "github" { - token = data.aws_secretsmanager_secret_version.github_token.secret_string -} module "eks_deployment" { source = "../../" diff --git a/examples/basic/providers.tf b/examples/basic/providers.tf new file mode 100644 index 0000000..8c9ebd1 --- /dev/null +++ b/examples/basic/providers.tf @@ -0,0 +1,2 @@ +provider "aws" { +}