Add build and deploy actions. #1

Open
max wants to merge 19 commits from feat/actions into main
2 changed files with 8 additions and 1 deletions
Showing only changes of commit 93dbac9692 - Show all commits

View File

@@ -26,6 +26,9 @@ jobs:
terraform fmt -check
- name: Terraform Init
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
cd terraform
terraform init -backend-config="${{ secrets.BACKEND_CONFIG }}"

View File

@@ -1,6 +1,10 @@
terraform {
# The backend is stored in an S3 bucket.
backend "s3" {}
backend "s3" {
bucket = "tsuga-sieboldii"
key = "proxy"
region = "us-east-1"
}
}
# Access AWS through the IaC roles.