Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Morgan committed Oct 17, 2024
2 parents 2de2abd + 6df9213 commit e948874
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ jobs:

# Generates an execution plan for Terraform
- name: Terraform Plan
run: terraform plan -input=false
run: terraform plan -input=false

# Generates an execution plan for Terraform
- name: Terraform Apply
run: terraform apply -auto-approve -input=false
10 changes: 9 additions & 1 deletion terraform/versions.tf
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
terraform {}
terraform {
required_version = "~> 1.9.5"
backend "s3" {
bucket = "gitops-tf-backend"
key = "terraform.tfstate"
region = "us-east-1"
dynamodb_table = "GitopsTerraformLocks"
}
}

0 comments on commit e948874

Please sign in to comment.