fix: aws credentials for plan
This commit is contained in:
3
.github/workflows/check.yml
vendored
3
.github/workflows/check.yml
vendored
@@ -34,6 +34,9 @@ jobs:
|
|||||||
terraform init
|
terraform init
|
||||||
|
|
||||||
- name: Terraform Plan
|
- name: Terraform Plan
|
||||||
|
env:
|
||||||
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
run: |
|
run: |
|
||||||
cd terraform
|
cd terraform
|
||||||
terraform plan -out=tfplan -no-color
|
terraform plan -out=tfplan -no-color
|
||||||
@@ -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
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user