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