From ce4110daa6484cb2fca78d866d01a9a244ffc2cd Mon Sep 17 00:00:00 2001 From: ArnaudJeantet Date: Tue, 19 Dec 2023 11:27:20 +0100 Subject: [PATCH] modify --- .github/workflows/terraform.yml | 6 +++--- main.tf | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 6e7df42c1..22e35d78c 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: @@ -27,7 +27,7 @@ jobs: - name: Terraform Init id: init run: terraform init - + - name: Terraform Validate id: validate run: terraform validate -no-color @@ -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..49787a43d 100644 --- a/main.tf +++ b/main.tf @@ -12,10 +12,10 @@ terraform { required_version = "~> 1.0" backend "remote" { - organization = "REPLACE_ME" + organization = "ACG-Terraform-Demos-AJE" workspaces { - name = "REPLACE_ME" + name = "demo-github-actions" } } }