From e46795fd57fc5776dcd02882283a2982922a1164 Mon Sep 17 00:00:00 2001 From: max Date: Tue, 18 Feb 2025 20:56:18 -0500 Subject: [PATCH] fix: aws credentials for plan --- .github/workflows/check.yml | 3 +++ terraform/variables.tf | 17 ----------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index f075344..c93eb71 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -34,6 +34,9 @@ jobs: terraform init - name: Terraform Plan + env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} run: | cd terraform terraform plan -out=tfplan -no-color \ No newline at end of file diff --git a/terraform/variables.tf b/terraform/variables.tf index 06ab585..e69de29 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -1,17 +0,0 @@ -variable "aws_region" { - type = string - description = "The AWS region things are created in." - sensitive = true -} - -variable "aws_access" { - type = string - description = "The access key to generate the Gitea instance." - sensitive = true -} - -variable "aws_secret" { - type = string - description = "The access secret to generate the Gitea instance." - sensitive = true -} \ No newline at end of file