From d147b18bfb340bc51b4d87c4b8a1023def615343 Mon Sep 17 00:00:00 2001 From: mabdulfattah Date: Wed, 6 Dec 2023 11:55:37 +0100 Subject: [PATCH] edditing ci file Point backend to correct TFC org and ws --- .github/workflows/terraform.yml | 4 ++-- main.tf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 6e7df42c1..5a69df16e 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -3,7 +3,7 @@ name: "Terraform" on: push: branches: - - main + - master pull_request: jobs: @@ -72,5 +72,5 @@ jobs: run: exit 1 - name: Terraform Apply - if: github.ref == 'refs/heads/main' && github.event_name == 'push' + if: github.ref == 'refs/heads/master' && github.event_name == 'push' run: terraform apply -auto-approve diff --git a/main.tf b/main.tf index e1d1b8045..1862dbf4a 100644 --- a/main.tf +++ b/main.tf @@ -12,10 +12,10 @@ terraform { required_version = "~> 1.0" backend "remote" { - organization = "REPLACE_ME" + organization = "ACG-Terraform-Labs-Moustafa" workspaces { - name = "REPLACE_ME" + name = "demo-gitlab-actions" } } }