From 2cbdcb1ac704f7b653e201b2df5d79944917d2b0 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Mon, 5 May 2025 22:30:48 -0600 Subject: [PATCH 01/25] Bucket name & Cluster name Updated --- terraform/terraform.tf | 4 ++-- terraform/variables.tf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/terraform/terraform.tf b/terraform/terraform.tf index 67b75c673..2c704600b 100644 --- a/terraform/terraform.tf +++ b/terraform/terraform.tf @@ -27,9 +27,9 @@ terraform { } backend "s3" { - bucket = "gitopsterrastate" + bucket = "vprofileactions1192" key = "terraform.tfstate" - region = "us-east-2" + region = "us-east-1" } required_version = "~> 1.6.3" diff --git a/terraform/variables.tf b/terraform/variables.tf index a41d982a0..d19424a8e 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -1,11 +1,11 @@ variable "region" { description = "AWS region" type = string - default = "us-east-2" + default = "us-east-1" } variable "clusterName" { description = "Name of the EKS cluster" type = string - default = "kitops-eks" + default = "vprofile-eks" } From 9d2c274fc2140dfe32386295ced9020617c22f22 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Tue, 6 May 2025 22:08:25 -0600 Subject: [PATCH 02/25] staging workflow --- ..github/workflows/terraform.yml | 61 ++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 ..github/workflows/terraform.yml diff --git a/..github/workflows/terraform.yml b/..github/workflows/terraform.yml new file mode 100644 index 000000000..59de485d0 --- /dev/null +++ b/..github/workflows/terraform.yml @@ -0,0 +1,61 @@ +name: "vprofile IAC" +on: + push: + branches: + - main + - stage + paths: + - terraform/** + pull_request: + branches: + - main + paths: + - terraform/** + +env: +# Credentials for deployment to AWS +AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} +AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} +#S3 Bucket for the Terraform state +BUCKET_TF_STATE: ${{ secrets.BUCKET_TF_STATE }} +AWS_REGION: us-east-1 +EKS_CLUSTER: vprofile-eks + +jobs: + terraform: + name: "Apply terraform code changes" + runs-on: ubuntu-latest + defaults: + run: + shell: bash + working-directory: ./terraform + + steps: + - name: Checkout source code + uses: actions/checkout@v4 + + - name: Setup with specified version on the runner + uses: hashicorp/setup-terraform@v2 + #with: + # terraform_version: 1.6.3 + + - name: Terraform init + id: init + run: terraform init -backend-config="bucket=$BUCKET_TF_STATE" + + - name: Terraform format + id: format + run: terraform fmt -check + + - name: Terraform validate + id: validate + run: terraform validate + + - name: Terraform plan + id: plan + run: terraform plan -no-color -input=false -out planfile + continue-on-error: true + + - name: Terraform plan status + if: steps.plan.outcome == 'failure' + run: exit 1 \ No newline at end of file From 2bea338328597952c73a5950a352c8a5a31c5ad6 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Tue, 6 May 2025 22:13:40 -0600 Subject: [PATCH 03/25] test workflow --- terraform/variables.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terraform/variables.tf b/terraform/variables.tf index d19424a8e..fdf472d79 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -9,3 +9,5 @@ variable "clusterName" { type = string default = "vprofile-eks" } + +## \ No newline at end of file From 83e0e213f0dc7e817a7c3723a2d7aecf8a2e52cc Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Tue, 6 May 2025 22:16:22 -0600 Subject: [PATCH 04/25] test workflow --- terraform/variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/variables.tf b/terraform/variables.tf index fdf472d79..255cd5e42 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -10,4 +10,4 @@ variable "clusterName" { default = "vprofile-eks" } -## \ No newline at end of file +### \ No newline at end of file From e24ff6a8e9c40bc896f8dabf8f5b4384a4f46b63 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Tue, 6 May 2025 22:20:42 -0600 Subject: [PATCH 05/25] test workflow --- terraform/variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/variables.tf b/terraform/variables.tf index 255cd5e42..c85111dcb 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -10,4 +10,4 @@ variable "clusterName" { default = "vprofile-eks" } -### \ No newline at end of file +Hello my boy!!! \ No newline at end of file From 70e37e1b9e435ef62766828d20d4bf1541f4242e Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Tue, 6 May 2025 22:22:31 -0600 Subject: [PATCH 06/25] test workflow --- terraform/variables.tf | 2 -- 1 file changed, 2 deletions(-) diff --git a/terraform/variables.tf b/terraform/variables.tf index c85111dcb..d19424a8e 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -9,5 +9,3 @@ variable "clusterName" { type = string default = "vprofile-eks" } - -Hello my boy!!! \ No newline at end of file From 73316f7367fd00777d0b55c60a9ec40f0612f602 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Tue, 6 May 2025 22:35:16 -0600 Subject: [PATCH 07/25] test workflow --- terraform/variables.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/terraform/variables.tf b/terraform/variables.tf index d19424a8e..86a7235f4 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -9,3 +9,4 @@ variable "clusterName" { type = string default = "vprofile-eks" } +### \ No newline at end of file From d84d32011f0145847b497ab039c353a0f1e9ed86 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Tue, 6 May 2025 22:38:25 -0600 Subject: [PATCH 08/25] test --- terraform/variables.tf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/terraform/variables.tf b/terraform/variables.tf index 86a7235f4..3900353ee 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -8,5 +8,4 @@ variable "clusterName" { description = "Name of the EKS cluster" type = string default = "vprofile-eks" -} -### \ No newline at end of file +} \ No newline at end of file From df062eae84841cefef9e5d989746429b76c27ce7 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Wed, 7 May 2025 20:46:31 -0600 Subject: [PATCH 09/25] test workflow --- terraform/variables.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/terraform/variables.tf b/terraform/variables.tf index 3900353ee..255cd5e42 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -8,4 +8,6 @@ variable "clusterName" { description = "Name of the EKS cluster" type = string default = "vprofile-eks" -} \ No newline at end of file +} + +### \ No newline at end of file From 82cfb3babb845483168d71ead569849bb473ed88 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Wed, 7 May 2025 20:48:28 -0600 Subject: [PATCH 10/25] workflow test --- terraform/variables.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/terraform/variables.tf b/terraform/variables.tf index 255cd5e42..b20999dc5 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -10,4 +10,5 @@ variable "clusterName" { default = "vprofile-eks" } +### ### \ No newline at end of file From 6586534aedb2ff7504d467d6236ef9b3b04f06dc Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Wed, 7 May 2025 21:09:30 -0600 Subject: [PATCH 11/25] Testing Workflow --- terraform/terraform.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terraform/terraform.tf b/terraform/terraform.tf index 2c704600b..a05c80536 100644 --- a/terraform/terraform.tf +++ b/terraform/terraform.tf @@ -37,3 +37,5 @@ terraform { ## ## ## + +# test trigger from stage branch From 7ffccff913bc7df65068b0542349d4f9dfd838a8 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Wed, 7 May 2025 21:44:39 -0600 Subject: [PATCH 12/25] terraform apply steps --- ..github/workflows/terraform.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/..github/workflows/terraform.yml b/..github/workflows/terraform.yml index 59de485d0..861a52734 100644 --- a/..github/workflows/terraform.yml +++ b/..github/workflows/terraform.yml @@ -58,4 +58,25 @@ jobs: - name: Terraform plan status if: steps.plan.outcome == 'failure' - run: exit 1 \ No newline at end of file + run: exit 1 + + - name: Terraform Apply + id: apple + if: github.ref == 'ref/heads/main' && github.event_name == 'push' + run: terraform apply -auto-approve -input=false -parallelism=1 planfile + + - name: Configure AWS Credentials + uses: aws-actions/configure-aws.credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secrets-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ env.AWS_REGION }} + + - name: Get Kube config file + id: getconfig + if: steps.apple.outcome == 'success' + run: aws eks update-kubeconfig --region ${{ env.AWS_REGION }} --name + + - name: Install Ingress controller + if: steps.apple.outcome == 'success' && steps.getconfig.outcome == 'success' + run: kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.3/deploy/static/provider/aws/deploy.yaml \ No newline at end of file From f76b1abb38744aa290f468c68b53c4ab9b644bbe Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Wed, 7 May 2025 21:53:18 -0600 Subject: [PATCH 13/25] stage test --- terraform/variables.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/terraform/variables.tf b/terraform/variables.tf index b20999dc5..dc0c72fba 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -11,4 +11,5 @@ variable "clusterName" { } ### -### \ No newline at end of file +### +## \ No newline at end of file From 5fd41e32dc52138b5319b8e0dacda5be173a1fc9 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Wed, 7 May 2025 22:03:18 -0600 Subject: [PATCH 14/25] workflow changes --- ..github/workflows/terraform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/..github/workflows/terraform.yml b/..github/workflows/terraform.yml index 861a52734..08e1c7ceb 100644 --- a/..github/workflows/terraform.yml +++ b/..github/workflows/terraform.yml @@ -62,7 +62,7 @@ jobs: - name: Terraform Apply id: apple - if: github.ref == 'ref/heads/main' && github.event_name == 'push' + if: github.ref == 'refs/heads/main' && github.event_name == 'push' run: terraform apply -auto-approve -input=false -parallelism=1 planfile - name: Configure AWS Credentials From 78fdc0131c0e2b7ffa1f49f0e21e7bc0b8adee16 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Wed, 7 May 2025 22:10:00 -0600 Subject: [PATCH 15/25] workflow fixes --- ..github/workflows/terraform.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/..github/workflows/terraform.yml b/..github/workflows/terraform.yml index 08e1c7ceb..47b8682c9 100644 --- a/..github/workflows/terraform.yml +++ b/..github/workflows/terraform.yml @@ -69,13 +69,13 @@ jobs: uses: aws-actions/configure-aws.credentials@v1 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secrets-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ env.AWS_REGION }} - name: Get Kube config file id: getconfig if: steps.apple.outcome == 'success' - run: aws eks update-kubeconfig --region ${{ env.AWS_REGION }} --name + run: aws eks update-kubeconfig --region ${{ env.AWS_REGION }} --name ${{ env.EKS_CLUSTER }} - name: Install Ingress controller if: steps.apple.outcome == 'success' && steps.getconfig.outcome == 'success' From e3a9b6e762bb3be0229e205649f7b2969d3acb08 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Wed, 7 May 2025 22:12:01 -0600 Subject: [PATCH 16/25] stage test --- terraform/variables.tf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/terraform/variables.tf b/terraform/variables.tf index dc0c72fba..b20999dc5 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -11,5 +11,4 @@ variable "clusterName" { } ### -### -## \ No newline at end of file +### \ No newline at end of file From 5d89a770e67fad27270b3183e037e042ac906ba3 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Wed, 7 May 2025 22:36:14 -0600 Subject: [PATCH 17/25] testing workflow trigger --- terraform/terraform.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/terraform.tf b/terraform/terraform.tf index a05c80536..c6fea8360 100644 --- a/terraform/terraform.tf +++ b/terraform/terraform.tf @@ -38,4 +38,4 @@ terraform { ## ## -# test trigger from stage branch +# From be1dfff3e338fbc177021e84664d3f365aa24457 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Wed, 7 May 2025 22:54:51 -0600 Subject: [PATCH 18/25] Pushing and testing workflow --- ..github/workflows/terraform.yml | 112 +++++++++++++++---------------- 1 file changed, 56 insertions(+), 56 deletions(-) diff --git a/..github/workflows/terraform.yml b/..github/workflows/terraform.yml index 47b8682c9..df66bfa2c 100644 --- a/..github/workflows/terraform.yml +++ b/..github/workflows/terraform.yml @@ -12,71 +12,71 @@ on: paths: - terraform/** -env: -# Credentials for deployment to AWS -AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} -AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} -#S3 Bucket for the Terraform state -BUCKET_TF_STATE: ${{ secrets.BUCKET_TF_STATE }} -AWS_REGION: us-east-1 -EKS_CLUSTER: vprofile-eks - jobs: - terraform: - name: "Apply terraform code changes" - runs-on: ubuntu-latest - defaults: - run: - shell: bash - working-directory: ./terraform + terraform: + name: "Apply terraform code changes" + runs-on: ubuntu-latest + defaults: + run: + shell: bash + working-directory: ./terraform + + env: + # Credentials for deployment to AWS (moved under the job) + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + #S3 Bucket for the Terraform state + BUCKET_TF_STATE: ${{ secrets.BUCKET_TF_STATE }} + AWS_REGION: us-east-1 + EKS_CLUSTER: vprofile-eks - steps: - - name: Checkout source code - uses: actions/checkout@v4 + steps: + - name: Checkout source code + uses: actions/checkout@v4 - - name: Setup with specified version on the runner - uses: hashicorp/setup-terraform@v2 - #with: - # terraform_version: 1.6.3 + - name: Setup with specified version on the runner + uses: hashicorp/setup-terraform@v2 + #with: + # terraform_version: 1.6.3 - - name: Terraform init - id: init - run: terraform init -backend-config="bucket=$BUCKET_TF_STATE" + - name: Terraform init + id: init + run: terraform init -backend-config="bucket=$BUCKET_TF_STATE" - - name: Terraform format - id: format - run: terraform fmt -check + - name: Terraform format + id: format + run: terraform fmt -check - - name: Terraform validate - id: validate - run: terraform validate + - name: Terraform validate + id: validate + run: terraform validate - - name: Terraform plan - id: plan - run: terraform plan -no-color -input=false -out planfile - continue-on-error: true + - name: Terraform plan + id: plan + run: terraform plan -no-color -input=false -out planfile + continue-on-error: true - - name: Terraform plan status - if: steps.plan.outcome == 'failure' - run: exit 1 + - name: Terraform plan status + if: steps.plan.outcome == 'failure' + run: exit 1 - - name: Terraform Apply - id: apple - if: github.ref == 'refs/heads/main' && github.event_name == 'push' - run: terraform apply -auto-approve -input=false -parallelism=1 planfile + - name: Terraform Apply + id: apple + if: github.ref == 'refs/heads/main' && github.event_name == 'push' + run: terraform apply -auto-approve -input=false -parallelism=1 planfile - - name: Configure AWS Credentials - uses: aws-actions/configure-aws.credentials@v1 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ${{ env.AWS_REGION }} + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ env.AWS_REGION }} - - name: Get Kube config file - id: getconfig - if: steps.apple.outcome == 'success' - run: aws eks update-kubeconfig --region ${{ env.AWS_REGION }} --name ${{ env.EKS_CLUSTER }} + - name: Get Kube config file + id: getconfig + if: steps.apple.outcome == 'success' + run: aws eks update-kubeconfig --region ${{ env.AWS_REGION }} --name ${{ env.EKS_CLUSTER }} - - name: Install Ingress controller - if: steps.apple.outcome == 'success' && steps.getconfig.outcome == 'success' - run: kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.3/deploy/static/provider/aws/deploy.yaml \ No newline at end of file + - name: Install Ingress controller + if: steps.apple.outcome == 'success' && steps.getconfig.outcome == 'success' + run: kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.3/deploy/static/provider/aws/deploy.yaml From 56988f1431965c4b7efab0ba8c854398765ad195 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Thu, 8 May 2025 20:43:21 -0600 Subject: [PATCH 19/25] Workflow testing --- {..github => .github}/workflows/terraform.yml | 0 terraform/terraform.tf | 6 +----- 2 files changed, 1 insertion(+), 5 deletions(-) rename {..github => .github}/workflows/terraform.yml (100%) diff --git a/..github/workflows/terraform.yml b/.github/workflows/terraform.yml similarity index 100% rename from ..github/workflows/terraform.yml rename to .github/workflows/terraform.yml diff --git a/terraform/terraform.tf b/terraform/terraform.tf index c6fea8360..107d76d30 100644 --- a/terraform/terraform.tf +++ b/terraform/terraform.tf @@ -34,8 +34,4 @@ terraform { required_version = "~> 1.6.3" } -## -## -## - -# +### From a8b5f0243ab9e10a40643d71da8f6f41f7f7f95b Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Thu, 8 May 2025 20:48:17 -0600 Subject: [PATCH 20/25] Workflow With Terraform Version Fix --- .github/workflows/terraform.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index df66bfa2c..aa367e7a4 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -36,8 +36,8 @@ jobs: - name: Setup with specified version on the runner uses: hashicorp/setup-terraform@v2 - #with: - # terraform_version: 1.6.3 + with: + terraform_version: 1.6.3 - name: Terraform init id: init From 93097238b82f3e14a64396f44a94b0bf0a8d7d15 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Thu, 8 May 2025 20:52:56 -0600 Subject: [PATCH 21/25] Testing after Version Fix --- terraform/terraform.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/terraform/terraform.tf b/terraform/terraform.tf index 107d76d30..8e60b9575 100644 --- a/terraform/terraform.tf +++ b/terraform/terraform.tf @@ -35,3 +35,4 @@ terraform { required_version = "~> 1.6.3" } ### +### \ No newline at end of file From f2acb7e341d38394f4f9e0948dac75be2cc616c2 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Thu, 8 May 2025 21:46:13 -0600 Subject: [PATCH 22/25] Addinf Changes for EKS --- .github/workflows/terraform.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index aa367e7a4..1fb022818 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -39,6 +39,13 @@ jobs: with: terraform_version: 1.6.3 + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ env.AWS_REGION }} + - name: Terraform init id: init run: terraform init -backend-config="bucket=$BUCKET_TF_STATE" @@ -65,13 +72,6 @@ jobs: if: github.ref == 'refs/heads/main' && github.event_name == 'push' run: terraform apply -auto-approve -input=false -parallelism=1 planfile - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ${{ env.AWS_REGION }} - - name: Get Kube config file id: getconfig if: steps.apple.outcome == 'success' From 22563326d1b9db10b46efb85178abeee67d3f469 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Fri, 9 May 2025 22:04:25 -0600 Subject: [PATCH 23/25] Terraform apply steps included --- terraform/variables.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/terraform/variables.tf b/terraform/variables.tf index b20999dc5..b06f3783b 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -10,5 +10,6 @@ variable "clusterName" { default = "vprofile-eks" } +### ### ### \ No newline at end of file From a3924d9e1eb105b364871f2fda28dad403144992 Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Fri, 9 May 2025 22:35:13 -0600 Subject: [PATCH 24/25] fix: clean up env block in workflow --- .github/workflows/terraform.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 1fb022818..9d86a7929 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -22,10 +22,8 @@ jobs: working-directory: ./terraform env: - # Credentials for deployment to AWS (moved under the job) AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - #S3 Bucket for the Terraform state BUCKET_TF_STATE: ${{ secrets.BUCKET_TF_STATE }} AWS_REGION: us-east-1 EKS_CLUSTER: vprofile-eks From 64d78f5302139577aa2d4e91859bccc669789a8b Mon Sep 17 00:00:00 2001 From: SamAnaya11 Date: Fri, 9 May 2025 22:37:06 -0600 Subject: [PATCH 25/25] fix: clean up env block in workflow --- terraform/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/main.tf b/terraform/main.tf index 94b6fc75a..c34b12c20 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -13,4 +13,4 @@ locals { cluster_name = var.clusterName } -## \ No newline at end of file +### \ No newline at end of file